Retention of backup for the last X days

Started by kandalf, February 21, 2022, 11:43:37 AM

Previous topic - Next topic

kandalf

At the moment the regular backup system can do a daily, weekly and monthly backup, but it lacks a function for example to keep the last 3 daily backups. There are any way to have the last X daily backups?

With the new backup system we already can have a backup for each day this will required the have space for at least 7 days, there are any way to get only for the last X days, this is very common in many systems but I don't know how to implement it on CWP

iraqiboy90

Quote from: kandalf on February 21, 2022, 11:43:37 AM
At the moment the regular backup system can do a daily, weekly and monthly backup, but it lacks a function for example to keep the last 3 daily backups. There are any way to have the last X daily backups?

Yeah, this function is missing. I would like that too

Painkiller88

you could make a workaround on your own till it is maybe implemented.

Just make a cronjob deleting all backups older x days and let it run once a day.

problem solved

iraqiboy90

#3
Quote from: Painkiller88 on February 23, 2022, 11:23:41 PM
you could make a workaround on your own till it is maybe implemented.

Just make a cronjob deleting all backups older x days and let it run once a day.

problem solved

This isnt what this topic is about... This is about that the backups getting auto deleted. We want the backup system in example backup 4 times (once a week) and on the fifth backup, it deletes the first oldest backup. Basically there is 4 backups available at all times...

Currently only one backup is available.