← Back to team overview

duplicity-team team mailing list archive

Re: [Question #263004]: Incremental backup fails on crontab

 

Question #263004 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/263004

Description changed to:
Hi
I wrote a sh script to backup certain folders to a remote server. If I execute the script manually (sh duplicity.sh) it works fine and does what it's supposed to do. I set the passphrase with the environment, then incrementally backup the folders. When I do the same with crontab it fails to do so. The script is being executed, but it gives me these three outputs:

http://pastebin.com/VfFBmW5a Log of folder containing documents (.docx, .xlsx etc)
http://pastebin.com/K6bLKUDz Log of folder containing pictures and video files
http://pastebin.com/euWWkhVe Log of folder containing music

The cron command looks like this:

*/5     *       *       *       *       sh /media/duplicity.sh

I'm running duplicity in a jail on my FreeNAS (based on FreeBSD) NAS.
Unfortunately the version of duplicity isn't the newest. The current
version in the repository is 0.6.24. I'll try to install it manually
with the files on here in a seperate jail soon, but I doubt that this is
the issue since the script itself works fine. I hope you can help!

Kind Regards

-- 
You received this question notification because you are a member of
duplicity-team, which is an answer contact for Duplicity.