TurnKey Linux Virtual Appliance Library

tklbam hub backups rarely succeed under cron, but work manually


I used webmin on my hub appliance to enable daily backups, however the backup rarely succeeds. (Rarely shows a backup session on the hub.) Yet if I run tklbam-backup at a command prompt it always works.

I have checked that the backup script in /etc/cron.daily is getting called. /var/log/tklbam-backup shows the date/time for each day, but many days it's only the date/time (and a bunch of hashes,) that gets logged.

After removing the --quiet flag and scheduling cron to run more frequently it looks like duplicity seems to stop after listing existing backupsets but before it would usually output:

Last full backup date: Sun Aug 12 06:25:23 2012

Can anyone suggest how/why duplicity would exit without logging anything? Is there any other logging I can turn on?

Just to check, this is not what happens if there are no changes to backup is it? (Every time I run manually it seems to have at least something to do.)



Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)