Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question

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

Your Answer


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.