Randy Barlow schrieb:
> So I was an idiot when I set up my system and didn't use LVM.  Now that
> I'm out of disk space on one of my drives and kicking myself, I want to
> do it without doing a reinstall.  If I use tar -cvjpf
> oldSystemThatShouldStillWorkWhenUnTarred.tar.bz2 /, then setup LVM, then
> tar all that junk back to the new system via tar -xvpf
> oldSystemThatShouldStillWorkWhenUnTarred.tar.bz2 with / as my working
> directory, should that do the trick (with, of course, another go at
> grub-install)?  Is the -p flag to tar enough to store ALL the necessary
> file system information?  I just want to make sure I'm not forgetting
> anything...
> 
> P.S.  And I'll have to build LVM support into the kernel too...
> 
> R

>From time to time i backup my complete system to avoid a reinstall after
failures. I used something like this and it worked for me (tested it
after a hard drive crash)!

tar --atime-preserve --same-owner --numeric-owner -Spvcjf back.tar.bz2 /

Maybe some flags are not necessary but --same owner would be a good
option to preserve the user and group permissions of the files too, as i
don't know if -p already covers this.

Also take care to mount all partitions you want to backup!

I don't know about lvm as i did not use a logical-volume-manager this
time and now i use lvm within evms.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to