BACKUP-MANAGER-PURGE(8) | backup-manager-purge | BACKUP-MANAGER-PURGE(8) |
backup-manager-purge - backup-manager's wrapper for outdating files
backup-manager-purge [TTL] <options>
backup-manager-purge is the only authorized entity that can say if an archive should be purged or not. Any tasks used by backup-manager may have to know if an archive is deprecated (eg: the purging phase of an upload method). This tool is here to fulfill that need.
Given a time to live (TTL) and a list of archives, backup-manager-purge will return another list of archives, corresponding to the ones that are outdated by the TTL.
backup-manager-purge will return the list of outdated files on STDOUT, one file per line.
If an error occurs, it will print the error message on stderr and will exit with an error code greater than 0.
Here are the possible error codes:
Concept and design by Alexis Sukrieh and Jan Metzger.
2023-02-10 | perl v5.36.0 |