You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that old backups with naming convention "yyyymmdd_nextcloud.sql.gz" are not removed although the retention time is set to 15 days.
Based on my investigation this is caused by this coding:
# Run purge
if [ "${MY_BDD}" == 'all' ] ; then
backup_test 'in_delete'
rm_old "${MY_BCKPDAYS}"
fi
My interpretation of this coding is that function rm_old will only be called if a backup of all DBs is running.
However I don't think this is a reasonable restriction.
The text was updated successfully, but these errors were encountered:
cmonty14
changed the title
Function "rm_old()" is not working
Function "rm_old()" is not working for single DB backups
Nov 23, 2018
Hi,
I have defined this configuration file:
My backup strategy is to
run daily backup of DB "Nextcloud"
run weekly backup of all DBs.
This is the current content in the backup directory:
You can see that old backups with naming convention "yyyymmdd_nextcloud.sql.gz" are not removed although the retention time is set to 15 days.
Based on my investigation this is caused by this coding:
My interpretation of this coding is that
function rm_old
will only be called if a backup of all DBs is running.However I don't think this is a reasonable restriction.
The text was updated successfully, but these errors were encountered: