2005/11/4, Richard Watson <[EMAIL PROTECTED]>:

> # tar -zcvf /backup/mylaptop.tar /[all directories] except /backup (as I
> don't want to go in circles).
>
> I'm then going to copy off the resulting tarball to my server in case my
> laptop dies (I'd rather not have to recompile everything). Does this
> sound OK?If I ever had to restore I would copy the file to / and run the
> command.
>
> # tar -zxvf mylaptop.tar

 tar cjpf /path/to/save/at/stage4.tar.bz2 / --exclude=stage4.tar.bz2
--exclude=/backup
please make sure use the p paramters,it is keep the property of backup files





--
/****************************************
* Love in Gentoo-Linux  C and Python           *
* Look at my blog                                          *
* http://poorc.wordpress.com                       *
****************************************/

-- 
gentoo-user@gentoo.org mailing list

Reply via email to