Author Topic: Retention of backup for the last X days  (Read 3158 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Retention of backup for the last X days
« 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

Offline
***
Re: Retention of backup for the last X days
« Reply #1 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

Offline
**
Re: Retention of backup for the last X days
« Reply #2 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

Offline
***
Re: Retention of backup for the last X days
« Reply #3 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.
« Last Edit: February 24, 2022, 01:10:00 PM by iraqiboy90 »