databacker / mysql-backup

image to enable automated backups of mysql databases in containers
636 stars 178 forks source link

Retention again :-( #311

Open sonor3000 opened 4 months ago

sonor3000 commented 4 months ago

Sorry to come up again with this topic, but I am not able to get retention to work.

In my running container, I am using the :latest tag, the mysql-backup commandline looks like this if I list the running processes:

/mysql-backup dump --target /db --server mariadb --user root --pass secret --retention 2c --frequency 1

Every minute a backup is created but no old backups are deleted.

What am I doing wrong?

deitch commented 4 months ago

I am using the :latest tag

The tag :latest? That one does not support retention. It only was added in the 1.x series (which currently is release candidate).