← Back to team overview

duplicity-team team mailing list archive

[Question #263004]: Incremental backup fails on crontab

 

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

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:

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

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.