Skip to main content

Backup destination retain just one backup

Comments

5 comments

  • GOT
    Remote storage follows the same retention as local storage.
    0
  • m.eid
    Remote storage follows the same retention as local storage.

    Is there anyway to change it for remote storage rather than manually move it to other directory (what I did now)?
    0
  • GOT
    You can set the retention locally to what you want for remote and then use a find command with the mtime option as a cron to delete them locally. This only works for compressed backups though not incremental otherwise you will damage your backups locally.
    0
  • m.eid
    You can set the retention locally to what you want for remote and then use a find command with the mtime option as a cron to delete them locally. This only works for compressed backups though not incremental otherwise you will damage your backups locally.

    Actually I found to retain two backups locally (where just need one) and move that backup remotely to other folder once weekly, I found it easier an safer than use cron job so no risk at local server.
    0
  • cPanelLauren
    Glad you found a solution! How are you moving the backup - for others that may want to employ a similar solution?
    0

Please sign in to leave a comment.