10

I believe it automatically runs at midnight, but I would rather it run during an off-peak internet period to save my quota.

How can I change the time it runs?

Alex
  • 2,044

2 Answers2

8

That feature is on the wishlist, for now you can try setting the schedule to monthly in the preferences and setup your own schedule using crontab and deja-dup --backup.

specious
  • 106
  • 1
    12 years later and still not implemented :( Looks like I will need to turn off auto backup and find out how to trigger it manually from a cron job. – Timothy C. Quinn Feb 21 '24 at 22:13
  • @TimothyC.Quinn I have switched to borg backup these days. I run it with a cronjob, like you suggest in your answer. – Alex Feb 25 '24 at 23:27
  • 1
    I used borg for years and it never let me down except when I had to restore, I found it rather slow for large datasets. I'm on the fence about the hash collision failure mode with borg's block de-duplication mechanism. I use ZFS snapshots for my primary backup mechanism and use duplicity (deja) for my onsite backup. – Timothy C. Quinn Feb 26 '24 at 02:59
2

You can do this by disabling auto updates in Deja-Dup (Backups) and then running a cron job at a specific time.

To run daily at 2:00 AM add the following to crontab

0   2   *   *   *    deja-dup --backup
Timothy C. Quinn
  • 1,213
  • 1
  • 14
  • 22