zentara wrote:
> 
> Arturo Martinez-Nieves wrote:
> >
> > Simple question...
> > Once I have SuSe up and running and configured just as I like, what's the
> > best way to back it all up to a single file (perhaps a tar or a gzip,
> > whatever is a better option), so that if disaster strikes, I can just
> > restore from this backup and get things back as they were before I screw
> > them.
> >
> > I mean if it was windows I would say copy over the files on your C:\ and
> > then copy the whole of the WINDOWS directory and special attention to
> > SYSTEM.DAT and USER.DAT because they contain the registry.
> >
> > Now in Linux what do you need to protect in a similar fashion, and what's
> > the most friendly way to achieve this.
> 
> I have used
> tar -cvzf root.tgz /
> 
> run it in the root directory
> and it will make root.tgz

I have checked this again, and it seems it is better
to use 
tar -cvzf root.tgz *

if you use / instead of *, the tgz file tries to include itself.

If you want a text file listing all your files,
tar -tzvf root.tgz > root.txt
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to