Hi all,

I have a cron script that first calls automysqlbackup for dumping the database and dumps the package list. After that, it should copy this plus other stuff to a remote location using duplicity. This script runs fine when executed manually, but when run via cron it does dump the database and package list, but it does not run duplicity. It also doesn't log anything, at least not where I can find it. Has anybody any idea of what I'm doing wrong? Below you find the script I use. I know this is little to go on, but I really have no idea of what else to provide. Thanks for any help.

Sjoerd


#!/bin/sh
/usr/local/sbin/automysqlbackup.sh >> /var/log/automysqlbackup.log
/usr/local/sbin/dumppackagelist.sh >> /var/log/dumppackagelist.log

export PASSPHRASE=*******
duplicity --encrypt-key "55002BF6" --sign-key "DE030354" --include /backup --include /root --include /home --include /etc --include /var/backups --include /var/www --include /var/log --include /var/cache/debconf --exclude '**' / ssh://[EMAIL PROTECTED]//home/backup/rijst_backup >> /var/log/backup.log


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to