/
expirebackups.in.1
24 lines (24 loc) · 1.04 KB
/
expirebackups.in.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.\" This manpage 2004-2008 (C) by Christian Garbs <mitch@cgarbs.de>
.\" Licensed under GNU GPL.
.TH "expirebackups" "1" "%%%VERSION%%%" "Christian Garbs" "simple backup suite"
.SH "NAME"
.LP
\fBexpirebackups\fR \- list old backups
.SH "SYNOPSIS"
\fBexpirebackups\fR [\fIkeep_this_many\fR] \fIpath\fR
.SH "DESCRIPTION"
Checks the given \fIpath\fR for backups generated by \fIsimplebackup\fR(1). If more than \fIkeep_this_many\fR generations of a backup are found, the oldest files are printed to stdout. These files can then be deleted, leaving \fIkeep_this_many\fR generations of every backup unharmed.
.SH "OPTIONS"
.TP
\fIkeep_this_many\fR
The number of files to keep of every backup. Default value is 4.
.TP
\fIpath\fR
The path to check for backups. Only files matching a pattern like \fIhostname-YYYYMMDD.tar.gz\fR are considered backup files.
.SH "SEE ALSO"
\fIsimplebackup\fR(1),
\fIsimplebackup.conf\fR(5)
.SH "AUTHOR"
expirebackups was written by Christian Garbs <\fImitch@cgarbs.de\fR>.
.SH "COPYRIGHT"
expirebackups is licensed under GNU GPL.