Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a problem with my backup cronjob. I use these settings (as proposed in that post):

15 * * * * env DISPLAY=:0 /usr/bin/deja-dup --backup

During runtime deja-dup says:

Backup location not available. Waiting for 'xy' to become connected...

The external disk 'xy' is mounted; I can also create a backup when I run deja-dup --backup in the command line.

Any ideas what the problem could be? Could it be a permission issue? But crontab runs the job with my user I suppose.

Thanks

share|improve this question
add comment

1 Answer 1

I have the same problem with deja-dup not working reliably when executed via cron. The (very unsatisfying) answer is, that it's simply not designed to work from cron.

One possible solution is to use duplicity for doing cron scheduled backups. Duplicity is the backend deja-dup connects to.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.