BACKUP-MANAGER-PURGE(8) - Linux man page online | Administration and privileged commands
Backup-manager's wrapper for outdating files.
BACKUP-MANAGER-PURGE(8) backup-manager-purge BACKUP-MANAGER-PURGE(8)
perl v5.22.2 2016-08-23 BACKUP-MANAGER-PURGE(8)
NAMEbackup-manager-purge - backup-manager's wrapper for outdating files
SYNOPSISbackup-manager-purge [TTL] <options>
DESCRIPTIONbackup-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.
REQUIRED ARGS--ttl=time-to-live Specify the time to live (in days) for the archives. Any archive that is older than ttl days will be outdated.
OPTIONAL ARGS--files-from=file A file containing a list of archives to parse, one archive per line. If this option is not used, STDIN will be used for catching the files to parse.
RETURNbackup-manager-purge will return the list of outdated files on STDOUT, one file per line.
ERROR CODESIf 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: bad command line (wrong arguments) : 10 internal error (should be reported as a bug) : 20
SEE ALSObackup-manager(8) backup-manager-upload(8)
AUTHORSConcept and design by Alexis Sukrieh and Jan Metzger.
|This manual||Reference||Other manuals|
|refer to||backup-manager(8) | backup-manager-upload(8)|