Control Web Panel

WebPanel => Backup => Topic started by: kandalf on February 21, 2022, 11:43:37 AM

Title: Retention of backup for the last X days
Post by: 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?

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
Title: Re: Retention of backup for the last X days
Post by: iraqiboy90 on February 21, 2022, 01:20:36 PM
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
Title: Re: Retention of backup for the last X days
Post by: 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
Title: Re: Retention of backup for the last X days
Post by: iraqiboy90 on February 24, 2022, 01:07:50 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.