Hello All!
We have a cron job that runs all night a backup task
# Cron - All days
0 20 * * * /usr/bin/pmgbackup backup > /dev/null 2>&1
All backups stored on /var/lib/pmg/backup
We have a backup/rsync procedure that run it to external storage place.
But, i have not found a solution to delete backups right on PMG. I can only remove old backups from GUI:
Configuration -> Backup/Restore -> Select 1 backup -> Remove -> Confirm
The question:
How to delete backups older than 7 days?
Observations:
- pmgbackup have no option to delete backups from command line (CLI)
- GUi have no option to delete multiples backups.
thank you!
We have a cron job that runs all night a backup task
# Cron - All days
0 20 * * * /usr/bin/pmgbackup backup > /dev/null 2>&1
All backups stored on /var/lib/pmg/backup
We have a backup/rsync procedure that run it to external storage place.
But, i have not found a solution to delete backups right on PMG. I can only remove old backups from GUI:
Configuration -> Backup/Restore -> Select 1 backup -> Remove -> Confirm
The question:
How to delete backups older than 7 days?
Observations:
- pmgbackup have no option to delete backups from command line (CLI)
- GUi have no option to delete multiples backups.
thank you!