Page 21 of 138 FirstFirst ... 1119202122233171121 ... LastLast
Results 201 to 210 of 1375

Thread: Howto: Backup and restore your system!

  1. #201
    Join Date
    Aug 2005
    Beans
    54

    Re: Howto: Backup and restore your system!

    Are Windows and Linux installed on the same partition?

  2. #202
    Join Date
    Sep 2006
    Location
    Brisbane, Australia
    Beans
    48
    Distro
    Ubuntu 6.10 Edgy

    Re: Howto: Backup and restore your system!

    Thanks for this. Hopefully I'll keep back-ups of my system soon.

  3. #203
    Join Date
    Jul 2006
    Beans
    81
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Howto: Backup and restore your system!

    I ran this backup before with no problem. But this time I had to also add "--exclude=/root/backup.tgz" to the entry. I also had the "--exclude=/backup.tgz" in there too--but for some reason I had to add the root version also.


  4. #204
    Join Date
    Oct 2005
    Location
    Fribourg,Switzerland
    Beans
    1,755
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Howto: Backup and restore your system!

    Hi-
    First of all, thank you for this HowTo!
    The first time I used it, everything worked fine. Now what with updates and all, I want a new back up
    I run the command Heliode initially posted but, for some reason, it ignores the fact that I want to exclude media which is where windonw is.

    Could someone tell what to do here?
    (I did include: --exclude=/media in the command line.)
    my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755

  5. #205
    Join Date
    May 2006
    Beans
    12

    Re: Howto: Backup and restore your system!

    Quote Originally Posted by airjrdn View Post
    Are Windows and Linux installed on the same partition?
    No, Windows 2000 in on the first 9Gig of my C drive and Linux 6.06 is on the next 9 Gig of my C drive. The remainder is for the swap file.

    The drive I want to back up to has 10G of free space, set as
    FAT 32.

    psed

  6. #206
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Howto: Backup and restore your system!

    Quote Originally Posted by xyz View Post
    Hi-
    First of all, thank you for this HowTo!
    The first time I used it, everything worked fine. Now what with updates and all, I want a new back up
    I run the command Heliode initially posted but, for some reason, it ignores the fact that I want to exclude media which is where windonw is.

    Could someone tell what to do here?
    (I did include: --exclude=/media in the command line.)
    I think there is a bug in tar. If you put the "--exclude=" command before the "cvpzf" options, it works.

  7. #207
    Join Date
    Oct 2005
    Location
    Fribourg,Switzerland
    Beans
    1,755
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Howto: Backup and restore your system!

    I think there is a bug in tar. If you put the "--exclude=" command before the "cvpzf" options, it works.
    Somewhow I couldn't figure how this could possibly work:
    Code:
    tar --exclude=/media cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys
    root@luser:/# tar --exclude=/media cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys
    tar: You must specify one of the `-Acdtrux' options
    I also tried to --exclude=/media/hda1 (hda1 = wind). No go.
    my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755

  8. #208
    Join Date
    Sep 2006
    Location
    Sydney
    Beans
    97
    Distro
    Ubuntu 6.06

    Re: Howto: Backup and restore your system!

    Just one other thing to exclude, unless you really want to back it up, is the /media/cdrom0. I left a dvd in the cdrom drive and backed that up as well

  9. #209
    Join Date
    Oct 2005
    Location
    Fribourg,Switzerland
    Beans
    1,755
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Howto: Backup and restore your system!

    Quote Originally Posted by DOD1951 View Post
    Just one other thing to exclude, unless you really want to back it up, is the /media/cdrom0. I left a dvd in the cdrom drive and backed that up as well
    Thanks for reminding me! It's true that this could so easily happen!
    my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755

  10. #210
    Join Date
    Oct 2005
    Location
    Fribourg,Switzerland
    Beans
    1,755
    Distro
    Ubuntu Gnome 14.04 Trusty Tahr

    Re: Howto: Backup and restore your system!

    Finally solved that one! Typos are sometimes the way to finding a solution!
    The original command line:
    Code:
    tar cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys
    as I wrote previously, would simply not exclude windows (media/hda1).

    However this command line did the jog fine:
    Code:
     tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/media --exclude=/sys /
    The difference is adding a / at the very end of the line!!

    Anybody can explain why this made all the difference? Thanks.
    my JAMENDO * The XY sex-determination system is the sex-determination system found in humans and Z was my donor! * Tarot and Poya Sutra | * # 12755

Page 21 of 138 FirstFirst ... 1119202122233171121 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •