Monday, April 7, 2008

tar backups

If you have to backup the entire /, using cp not be nice since some special files will misbehave. I had to copy a chroot environment recently. This is how I did it

(It was executed in /storage/bkup. The chrrot-ed env was in /storage/dl)
tar cvf - ../dl | tar xvf -

No comments: