We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I have configured PHPBU to synchronize the backup files via FTP, and I have configured a cleanup on the FTP server in the following way:
"syncs": [ { "type": "ftp", "options": { "host": "adapter:yii2:sync.host", "user": "adapter:yii2:sync.user", "password": "adapter:yii2:sync.password", "path": "adapter:yii2:sync.path", "passive": "adapter:yii2:sync.passive", "cleanup.type": "stepwise", "cleanup.daysToKeepAll": 0, "cleanup.daysToKeepDaily": 14, "cleanup.weeksToKeepWeekly": 0, "cleanup.monthToKeepMonthly": 12, "cleanup.yearsToKeepYearly": 5 } } ]
The backups run daily and my goal is to have the last 14 backups and keep one monthly for the last 12 months and one yearly for the last 5 years.
That setting in the local cleanup seemed to be working fine, but moving it to FTP seems to be ignored and no files are being deleted on the FTP.
In case it's useful, I'm doing the local cleanup this way, so that no files remain:
"cleanup": { "type": "capacity", "options": { "size": "0B", "deleteTarget": "true" } },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello, I have configured PHPBU to synchronize the backup files via FTP, and I have configured a cleanup on the FTP server in the following way:
The backups run daily and my goal is to have the last 14 backups and keep one monthly for the last 12 months and one yearly for the last 5 years.
That setting in the local cleanup seemed to be working fine, but moving it to FTP seems to be ignored and no files are being deleted on the FTP.
In case it's useful, I'm doing the local cleanup this way, so that no files remain:
The text was updated successfully, but these errors were encountered: