-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/05/07 15:26, Michael Pobega wrote: > On Wed, Dec 05, 2007 at 03:21:20PM -0600, Ron Johnson wrote: >> On 12/05/07 10:12, Michael Pobega wrote: >>> On Tue, Dec 04, 2007 at 08:29:03PM -0600, Ron Johnson wrote: >> [snip] >>>> Plain old "date"? No. I prefer `date +%y%m%d.%H%M`. >>> >>> I'm trying to write a shell script to use tar for backups, but I want to >>> know; Which directories are nessecary to backup with tar and which >>> aren't? Obviously /bin, /usr, /home, /boot, /lib, /srv (Where I keep >>> all of my chroots) and /etc are, but are any of the other directories >>> mandatory to backup? Or are any of these directories fruitless to >>> backup? >> Did you get the script I attached to the email you replied to? It >> works like a champ for me. >> > > I got it, but although that script may work for you it's too particular > of a use; I have a lot of files I need to backup, so it'd be better for > me to backup everything manually myself. > > My shell script works, but I keep running out of disc space; Does anyone > know if there's a way I can transfer the file over to my other laptop > once it's done tarring (Effectively removing the need for a /backup dir > on my HDD?) Once I hit 13G on my root partition I run out of room.
Sure. tar understands stdin/stdout, so pipe it across an ssh link. Or mount the laptop's drive using NFS. > My shell script it attached. > - -- Ron Johnson, Jr. Jefferson LA USA "Your mistletoe is no match for my TOW missile." Santa-bot -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHVxklS9HxQb37XmcRAiBrAKDgFazDzA4eLu9VASMV8+rhdryUjACgkc2S IaJKFn7Q+MAVWQRZy3wyAWE= =+zbN -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]