Follow-up Comment #7, bug #21792 (project duplicity):
Here's my backup script, with a few key variables anonymized. It's called as
"backup.sh hourly" by a cron job.
#!/bin/sh
PATH=/sw/bin:/usr/local/bin:/usr/bin
export PATH
KEY=xxxxx
PASSPHRASE=xxxx
export PASSPHRASE
GNUPGHOME=/var/root/.gnupg/
export GNUPGHOME
BACKUPCONF=$1
BACKUPUSER=me
BACKUPHOST=host
BACKUPPATH=backup/server-$1
DEBUG=-v5
ulimit -n 2048
/usr/local/bin/duplicity $DEBUG --encrypt-key="$KEY"
--include-globbing-filelist /usr/local/etc/duplicity.$BACKUPCONF /
scp://[EMAIL PROTECTED]/$BACKUPPATH
------------------
The globbing filelist is
- /**/.Trash*
- /private/var/imap/socket
- /private/var/imap/proc
- /private/var/launchd
- /private/var/log
- /private/var/run
- /private/var/root/Library
- /private/var/spool/postfix/private
- /private/var/spool/postfix/public
- /private/var/tmp
- /private/var/vm
/private/var/
/Volumes/EXTERNAL/nanobot/daily.0/mysql/
- /
--------
In passing, is this the best way to give the two directories I want backed
up? It took a bit of experimenting to find this configuration...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?21792>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
Duplicity-tracker mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/duplicity-tracker