Page 23 of 138 FirstFirst ... 1321222324253373123 ... LastLast
Results 221 to 230 of 1375

Thread: Howto: Backup and restore your system!

  1. #221
    Join Date
    Aug 2006
    Beans
    7

    Re: Howto: Backup and restore your system!

    To xyz:
    I encounter a stranger problem, that is I can't exclude any folders from the command line! ...not only the media one... so strange...

  2. #222
    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 atery View Post
    To xyz:
    I encounter a stranger problem, that is I can't exclude any folders from the command line! ...not only the media one... so strange...
    Hi atery,
    You did do this exactly with the / at the end of the line?


    Code:
    sudo su
    cd /
     tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/media --exclude=/sys /
    At worst you could exclude nothing...except for /media and see if it works or try another HowTo backingup method!
    Let me know...
    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

  3. #223
    Join Date
    Aug 2006
    Location
    USA
    Beans
    9
    Distro
    Ubuntu 6.10 Edgy

    Re: Howto: Backup and restore your system!

    Funny, I'm writing a howto on this right now

    Ubuntu seems to be using GNU tar, which works a bit differently.

    You need to construct your phrase like this:

    sudo tar cvpzf backup.tgz --exclude="/proc/*" --exclude="/lost+found/*" --exclude="/backup.tgz" /

    Rember to put your source ("/") at the end of your phrase.

    Arsgeek
    http://www.arsgeek.com

  4. #224
    Join Date
    Dec 2005
    Location
    USA, Alabama, Huntsville
    Beans
    46
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Howto: Backup and restore your system!

    The listed tar command has a glaring error. The --exclude=xx entries must come before the target directory ("/" in this case). In other words, the / must be at the end of the command line, not before the exclude expressions.

    I didn't read all 8 pages, so someone else may have pointed out this error before now.

    Hopefully, no one else will waste two hours trying to figure out what was wrong!

    Otherwise, this post was very helpful to me!

    Regards,
    EdB
    *I suspect that I invest waaay too much time and money in trying to keep up with current personal technology.*

  5. #225
    Join Date
    Feb 2006
    Beans
    712

    Re: Howto: Backup and restore your system!

    this is all like chinese to me....i dont speak chinese lol...

    all i'd like to do is backup my system to a blank dvd. i have windows xp on another partition.

    i dont understand the unmounting of windows...?

    this is complicated...

  6. #226
    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 ebutton View Post
    The listed tar command has a glaring error. The --exclude=xx entries must come before the target directory ("/" in this case). In other words, the / must be at the end of the command line, not before the exclude expressions.

    I didn't read all 8 pages, so someone else may have pointed out this error before now.

    Hopefully, no one else will waste two hours trying to figure out what was wrong!

    Otherwise, this post was very helpful to me!

    Regards,
    EdB
    I'm not sure what you're talking about but the command line worked "as is" for me!

    maddbaron...would this one seem less Chinese to you:
    http://www.whiprush.org/2006/10/ahhh_backups.html
    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

  7. #227
    Join Date
    Oct 2006
    Location
    Amsterdam
    Beans
    153
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Howto: Backup and restore your system!

    hello, first i want to thanks for this text as it helped me to make my first backup under linux, ubuntu.
    but some weeks ago i installed ubuntu from the scratch. everything is running 1a. exeption is the backup with tar of system because it will not read --exclude command.
    what is wrong? is it tar, the system, is it me?
    thanks a lot,

  8. #228
    Join Date
    Oct 2006
    Location
    Amsterdam
    Beans
    153
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Howto: Backup and restore your system!

    its me again:
    problem solved after reading upper threads:
    tar backup.tgz --exclude=/blabla /
    the directory to be backupped is written after exclude commands.
    ciao

  9. #229
    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 hihihi View Post
    its me again:
    problem solved after reading upper threads:
    tar backup.tgz --exclude=/blabla /
    the directory to be backupped is written after exclude commands.
    ciao
    And once you restore, you won't forget to recreate the excluded files!
    mkdir proc.....for instance.
    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. #230
    Join Date
    Oct 2006
    Beans
    1

    Re: Howto: Backup and restore your system!

    A very helpful article
    Last edited by Numenory; October 27th, 2006 at 02:03 PM. Reason: comment already made

Page 23 of 138 FirstFirst ... 1321222324253373123 ... 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
  •