cron w/rsync times out?

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • cron w/rsync times out?


      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.