Skip to content

Resolve "Backup number sequence an an extra option"

Rebar requested to merge 52-backup-number-sequence into master

What does merge do?

  • Adds a monthly db backup On the first day on the month (when: daydate = 01) with the name {{ BACKUP_NAME }}-month{{ monthnumber }}.db.sql

  • Enables the secret BACKUP_ISDATE from Values.backup.isdate which is True or False
    Default behaviour for when Values.backup.isdate is not set is to execute the normal date backup
    Cycle backups are enabled when Values.backup.isdate: False

  • Makes Cycle Backups available Replacing date backups with cycle backups using two weeks prefix- Week A or Week B

  • Cycle backup for DB For instance B3-tasinhorjun-dev.db.sql is Wednesday of Week B

  • Adds media files Rsync Two target directories media-A or media-B
    Source is WP_UPLOAD_DIR and the rsync command includes many exclusions

To discuss

  • What level of documentation is required?

Merge request reports

Loading