08-15-06 06:25 AM
Rafael Almeida wrote:
> I have a computer with a 1.2GB root directory (let's call it dib). I
> want to back it all up, but before that I need to somehow copy it all to
> a computer that has a dvd burner. What would be the best way to do it?
Depends on the filesystem and the version of Unix.
Backup programs support various things, and filesystems (both the
on-disk filesystem, and the virtual filesystem and its API) support
various things as well. What each one supports may not exactly
line up with what another one supports.
For example, on Solaris, the ufs filesystem and the API both support
ACLs, but the "tar" command doesn't support them. Most people don't
use ACLs, so they could back up a ufs filesystem using tar without
running into problems, but others do use ACLs and would lose information
when backing up some other filesystem.
To give a different kind of example, Solaris also has a utility called
"ufsdump" which backs up data and which supports all the features of
the ufs filesystem, so it should be able to make a backup without
losing information.
Other filesystems and operating systems and backup tools will have
other relationships. Some tools will be able to back up everything
without losing information, and some won't.
So, in order to be sure about the answer to your question, it would
be best to know more about what operating system you're on, what
filesystem type you have for the root filesystem, etc.
By the way, one tool that is almost sure not to lose any data
(provided it is lucky enough to get a correct backup, which isn't
guaranteed) is "dd". You can just run "dd if=/dev/hdc2" and pipe
or redirect that to a file. You might not get a backup of the
filesystem in a consistent state, but if you do, you won't have
lost any information.
- Logan
[ Post a follow-up to this message ]
|