How to backup root filesystem the correct way....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am familiar with the unix dump and restore programs from my hey-dey
and system admin used these for backing up individual filesystems to tape
using these programs. But apparently, someone here told me that using
dump/restore is not the preferred way and said that Torvald quoted
that tar is better than D/R because it is not maintained nor current and
may be fraught with failures.... and recommended that TAR be used.

Geez....

Well since I have a /boot problem, i.e. I blithely used a partition of /, including
/boot and a seperate partition for swap (i.e. two partitions) of which my BIOS
may eventually fail to see /boot, so I need to correct this mistake. But before I do,
I need to backup my main boot drive by copying its contents to my 2nd drive
so that I can recover if all hell breaks loose.

So... 

When I used /tar this way:

tar zcvf root.tgz -C /<second-disk> /

It appears that everything gets tarred up but there are many errors
put out (such as sockets and such) but eventually after a long time,
the final error at the end (whereever that may be) reports:

tar: Error exit delayed from previous errors

Hmm... cryptic as heck. But the bottom line is that there is no
guarantee that all the files are being properly backed up.  Seems
that this is very unreliable.

Perhaps I should just use dump | restore to backup the filesystem
to another filesystem (disk) would be better?  What is the reccommended
way to backup the root disk to my second backup disk?

Thanks!
Dan

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.13/200 - Release Date: 12/14/2005
 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux