--- # List of snapshot scripts to install and include in the snapshot # cronjob Snapshot scripts must be declared as templates, e.g. in the # templates directory. dirvish_client_snapshot_scripts: - mysql-snapshot.sh # Advanced backup retention rule dirvish_server_expire_rules: # Keep first backup of the month for 6 months - "* * 1 * * +6 months" # Keep first backup of every quarter for 3 years - "* * 1 1,4,7,10 * +3 years" # Keep first backup of a year forever - "* * 1 1 * never" # Exclude the MariaDB data directory, as that's already covered by the snapshot dirvish_server_client_exclude: - 'var/lib/mysql/'