cron w/rsync times out?

  • Hi,


    I used to use a cron job to run an overnight rsync onto a USB drive to ensure there was a backup every day.


    Since setting this up on OMV, I frequently find the backup is out of sync with the main drive. It does actually run but then seems to terminate part way through.


    Is there a timeout on cron jobs in OMV? Should I be triggering rsync through an alternative mechanism?


    The danger is that, as rsync doesn't intelligently understand about moved files, if I move an entire folder, rsync will start by deleting the entire backup folder, and then re-copying the new location contents, which if it times out part way through, means a large chunk of content may not actually have been backed up.


    Regards,
    Rob.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!