duplicity remove-older-than 30D --force file:///backup/duplicity

Category: Backup & Restore

duplicity remove-older-than 30D --force file:///backup/duplicity

Delete backups older than 30 days

Removes backup sets older than 30 days, keeping the newest ones, and the deletion is permanent. The --force flag is required to confirm it. Keep enough history that a valid full-plus-increment chain survives the cleanup, and duplicity warns if a chain would break.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.