Restoring from a tarball



Recently, my sister's Ubuntu box had a puzzling network problem: it
wouldn't accept any DNS numbers but could ping by IP. She didn't have a
backup, recent or otherwise, and there was no practical way to install
any. I created the directory /backup, and in that directory ran this
command:

sudo tar -cjf marcia.tar.bz2 /home/marcia

Then, I used ftp to transfer it to my laptop, as there's more room on it
than on my desktop.

This was a Good Thing! Upgrading from a LiveCD worked, but it wouldn't
boot. Nuke/pave/reinstall, ditto. After checking, the boot failure
message told my hardware guru that her hard drive's failed, and that
this might have been the root cause of the other issue. Now, of course,
we need to replace it, reinstall and restore from backup. Assuming that
the username hasn't changed and that I've put the backup in the same
place that I made it, what arguments to I give tar to make it put
everything back exactly where it was? I ask because I once got it wrong
and ended up with everything in a subdirectory instead of where it
belonged, and I'd rather Get It Right the first time.
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: Custom Partition Fedora 18
    ... software on a client computer, without losing any of your personal ... You can easily set up a separate home partition and include it, unscathed, in any new setup, but having that backup is a very good thing. ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: SELinux is preventing /bin/login...access on the file /bin/bash
    ... Suppose one makes a backup using rsync. ... back up the security labels along with the data? ... To unsubscribe or change subscription options: ...
    (Fedora)
  • OT: lftp quiet
    ... I have a cron job that uses lftp to mirror the contents of a web site ... onto my system for backup. ... (SSH/rsync is not an available access method.) ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: Thunderbird address book recovery(Solved)
    ... how do I recover my address information from the backup file? ... Addressbook menus ... To unsubscribe or change subscription options: ...
    (Fedora)