Skip to main content

Deleting Backups from Additional Destinations?

Comments

3 comments

  • cPanelMichael
    Hello :) Here's the general process of how it works: [LIST]
  • Generation of local backups
  • Transport of local backups to remote destination in queued
  • Local backups are pruned
  • Pruning of backups on the remote destination is queued To clarify, are you expecting no pruning of backups on the local system when "Retain backups in the default backup directory" is enabled, or are you expecting it to follow the retention period that's configured? Thank you.
  • 0
  • feldon27
    Honestly I was expecting the "Retain backups in the default backup directory" setting to only affect LOCAL backups since space is often at a premium. I was not expecting it to do anything to REMOTE backups, since I could write a cron job on that server to prune old backups. But even if you believe that "Retain backups in the default backup directory" should apply to both local and remote servers, the script should absolutely not prune remote backups until the new backup has been successful! The backup script failed about 1/3 of the way through the new backups. Then it completely deleted the folder of last week's backups on the remote server. Rule #1 of backups -- don't delete the old backups until you confirm you have new backups.
    0
  • cPanelMichael
    The backup script failed about 1/3 of the way through the new backups. Then it completely deleted the folder of last week's backups on the remote server. Rule #1 of backups -- don't delete the old backups until you confirm you have new backups.

    Could you open a support ticket using the link in my signature so we can take a closer look at this? You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.