summaryrefslogtreecommitdiff
path: root/hardlinkedbackups.1.in
diff options
context:
space:
mode:
Diffstat (limited to 'hardlinkedbackups.1.in')
-rw-r--r--hardlinkedbackups.1.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/hardlinkedbackups.1.in b/hardlinkedbackups.1.in
index 914edbe..7902568 100644
--- a/hardlinkedbackups.1.in
+++ b/hardlinkedbackups.1.in
@@ -6,9 +6,12 @@ hardlinkedbackups \- hardlinked incremental backups via rsync (and possibly thro
\fBbackup /tmp/pidFile /path/to/destination/ user@source:path [proxy_user@ssh_host]\fP
.TP
\fBlastBackups\fP
+.TP
+\fBbackupStatistics [options]\fP
.SH DESCRIPTION
\fBbackup\fP generates incremental backups (by hardlinking old unchanged files) via rsync and possibly a SOCKS\-tunnel.
\fBlastBackups\fP shows date of backups and warns about outdated ones.
+\fBbackupStatistics\fP exhaustively searches backups for duplicate but not hard-linked files.
.SH USAGE
.TP
.B "backup /tmp/pidFile /path/to/destination/ user@source:path"
@@ -24,6 +27,25 @@ This is designed to be called from a cron daemon for daily backups.
.TP
.B "lastBackups"
reports about actuality of backups defined in \fB#ETCDIR#/backup.conf\fP
+.TP
+.B "backupStatistics"
+Exhaustively search backups defined in \fB#ETCDIR#/backup.conf\fP for duplicate files which are not hard linked.
+For detail see section \fBBACKUPSTATISTICS\fP.
+.SH BACKUPSTATISTICS
+execution happens in several stages:
+.TP
+1.
+.TP
+blabla
+.TP
+.B "-d | --dummy"
+do not modify backed up files
+.TP
+.B "-m | --max \fImaxStage\fP"
+stop execution after completing stage \fImaxStage\fP
+.TP
+.B "-s | --skip \fIskipStages\fP"
+start execution right after stage \fIskipStages\fP
.SH CONFIGURATION
The configfile \fB#ETCDIR#/backup.conf\fP is a bash script, which defines the following variables:
.TP
@@ -41,6 +63,9 @@ time before backups are considered outdated [seconds]
.TP
.B "recognSubdirRegex"
regular expression of subdirectories which should be appended to the parent directory in the report
+.TP
+.B "cacheDir"
+directory for caching valuable information in \fBbackupStatistics\fP
.SH FILES
.TP
.B "#BINDIR#/backup"