Include date, not number, in scheduled backup file names

Discussion in 'Ideas' started by mcbsys, Apr 1, 2017.

Include date, not number, in scheduled backup file names 5 5 5votes
5/5, 5 votes

  1. mcbsys

    mcbsys New Member

    Joined:
    Oct 8, 2008
    Messages:
    171
    Likes Received:
    14
    The current 3CX backup naming convention for scheduled backups requires renaming all backup files every day.

    When backed up to Google drive, this causes two problems (originally reported here):

    - Google Drive updates the file date on rename, so every file has the same timestamp, making it difficult to find the backup from a specific date.

    - The multiple rename sequence fails about once a week, leaving backup names on Google Drive in a corrupt state.

    The simplest solution to both issues would be to include the date in the backup name, e.g. "3CXScheduledBackup.20170322.zip", then never rename it. Deleting the oldest file only requires listing alphabetically and deleting the first one.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    William Hall, einherjar and Karl_NFC like this.