1BACKUP-MANAGER-PURGE(8)      backup-manager-purge      BACKUP-MANAGER-PURGE(8)
2
3
4

NAME

6       backup-manager-purge - backup-manager's wrapper for outdating files
7

SYNOPSIS

9       backup-manager-purge [TTL] <options>
10

DESCRIPTION

12       backup-manager-purge is the only authorized entity that can say if an
13       archive should be purged or not. Any tasks used by backup-manager may
14       have to know if an archive is deprecated (eg: the purging phase of an
15       upload method). This tool is here to fulfill that need.
16
17       Given a time to live (TTL) and a list of archives, backup-manager-purge
18       will return another list of archives, corresponding to the ones that
19       are outdated by the TTL.
20

REQUIRED ARGS

22       --ttl=time-to-live
23           Specify the time to live (in days) for the archives. Any archive
24           that is older than ttl days will be outdated.
25

OPTIONAL ARGS

27       --files-from=file
28           A file containing a list of archives to parse, one archive per
29           line.  If this option is not used, STDIN will be used for catching
30           the files to parse.
31

RETURN

33       backup-manager-purge will return the list of outdated files on STDOUT,
34       one file per line.
35

ERROR CODES

37       If an error occurs, it will print the error message on stderr and will
38       exit with an error code greater than 0.
39
40       Here are the possible error codes:
41
42       bad command line (wrong arguments) : 10
43       internal error (should be reported as a bug) : 20
44

SEE ALSO

46       backup-manager(8) backup-manager-upload(8)
47

AUTHORS

49       Concept and design by Alexis Sukrieh and Jan Metzger.
50
51
52
53perl v5.30.0                      2019-07-24           BACKUP-MANAGER-PURGE(8)
Impressum