Author Topic: [Solved] Incremental backup fails  (Read 1658 times)

elektronaut

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
[Solved] Incremental backup fails
« on: August 14, 2013, 03:13:38 pm »
Hi,

the cron job for duplicity is only doing full backups for some time now. I guess something is broken with the cron job, as starting it manually ('sudo /usr/share/zentyal-ebackup/backup-tool --incremental') resulted in an incremental backup.

This gets logged when the automatic backup started:
Code: [Select]
backup-tool:244 main::_adjustType - Incremental backup requested but there are not full backups. Switching to full backup mode
Here's the content of /etc/cron.d/ebox-ebackup:

Code: [Select]
0 3 1 * * root nice -n 10 /usr/share/zentyal-ebackup/backup-tool --full
0 3 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 * * root nice -n 10 /usr/share/zentyal-ebackup/backup-tool --incremental

Anything wrong with that?

Just for the record - something else which constantly pops up in zentyal.log, but doesn't seem to harm is:
Code: [Select]
2013/08/14 12:46:01 ERROR> Sudo.pm:233 EBox::Sudo::_rootError - root command /usr/share//zentyal-ebackup/duplicity-wrapper list-current-files file:///mnt/usb-disk1/zentyal-backup > /var/lib/zentyal/tmp/backuplist-cache failed.
Error output: Traceback (most recent call last):
   File "/usr/bin/duplicity", line 1404, in <module>
     with_tempdir(main)
   File "/usr/bin/duplicity", line 1397, in with_tempdir
     fn()
   File "/usr/bin/duplicity", line 1335, in main
     list_current(col_stats)
   File "/usr/bin/duplicity", line 599, in list_current
     sig_chain = col_stats.get_signature_chain_at_time(time)
   File "/usr/lib/python2.7/dist-packages/duplicity/collections.py", line 972, in get_signature_chain_at_time
     raise CollectionsError("No signature chains found")
 CollectionsError: No signature chains found
« Last Edit: August 16, 2013, 09:29:01 am by elektronaut »

elektronaut

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Incremental backup fails
« Reply #1 on: August 16, 2013, 09:28:28 am »
Strange, now it works again. Marked as solved.  :-\