Backing up a directory to a remote file system [solution]

Jason Clinton me at jasonclinton.com
Thu Jan 29 20:51:13 CST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jason Clinton wrote:

| With multiple files and compression:
|
| On Sunday, 'if test -f /etc/lastbackup.list; rm -f /etc/lastbackup.list;
| fi && tar czgf /etc/lastbackup.list
| remotebackupserver:/backups/clientname-`date +%U%w`.tar'
| On Sunday, 'tar czgf /etc/lastbackup.list
| remotebackupserver:/backups/clientname-`date +%U%w`.tar'

That's second one supposed to be weekdays, BTW.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAGXI9tSqjk42zvwkRAgm9AJ4psk+u90/pNY09/gbjcSg27aplpwCfaw07
c+2bbrINnY3wO27l7DHuims=
=9BDC
-----END PGP SIGNATURE-----




More information about the Kclug mailing list