From 42b083a197c3d29cce74c22606e16317f18f808b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 11 Oct 2016 11:20:06 +0200 Subject: manpage-Erzeugung halbwegs automatisiert --- hardlinkedbackups.1.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'hardlinkedbackups.1.in') 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" -- cgit v1.2.3-54-g00ecf