Are Windows and Linux installed on the same partition?
Are Windows and Linux installed on the same partition?
Thanks for this. Hopefully I'll keep back-ups of my system soon.
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.
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
Somewhow I couldn't figure how this could possibly work:I think there is a bug in tar. If you put the "--exclude=" command before the "cvpzf" options, it works.
Code:tar --exclude=/media cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sysI also tried to --exclude=/media/hda1 (hda1 = wind). No go.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
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
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
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
Finally solved that one! Typos are sometimes the way to finding a solution!
The original command line:
as I wrote previously, would simply not exclude windows (media/hda1).Code:tar cvpzf backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys
However this command line did the jog fine:
The difference is adding a / at the very end of the line!!Code:tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/media --exclude=/sys /
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
Bookmarks