[ale] Making a backup with tar

Christopher Fowler cfowler at outpostsentinel.com
Wed Jan 19 14:26:03 EST 2005


I tried the -l option and it seemed that tar did not understand that
/sys was a different filesystem. I saw it walking that directory trying
to add those files.  /sys is sysfs.

On Wed, 2005-01-19 at 13:56, Stephan Uphoff wrote:
> --preserve on extraction always worked for me.
> 
> I recommend creating a backup file per file system with -l or
> --one-file-system using a relative path.
> 
> 	(cd /  ; tar cjvlf tarfile1.bz2 ./)
> 	(cd /usr ; tar cjvlf tarfile2.bz2 ./)
> 
> makes it easier to install from bare metal.
> 
> 
> On Wed, 2005-01-19 at 12:46, Christopher Fowler wrote:
> > I'm trying to create a file system backup using 'tar -cjpsvf
> > /bu/full.tar.bz2 /bin /boot /opt /home ...'.  When I extract the files
> > they are all owned by root.  Should I use the '--same-owner' option on
> > extraction?
> > 
> > Chris
> > 
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> > 
> > 



More information about the Ale mailing list