--- a/ftbackup Thu Apr 14 16:58:47 2011 +0200
+++ b/ftbackup Thu Apr 14 17:03:06 2011 +0200
@@ -67,7 +67,7 @@
"v|verbose" => \$opt_verbose,
"i|info" => \$opt_info,
"dry" => sub { $opt_dry = 1; $opt_verbose = 1 },
- "f|force" => \$opt_force,
+ #"f|force" => \$opt_force,
"h|help" => sub { pod2usage(-exit => 0, -verbose => 1) },
"m|man" => sub { pod2usage(-exit => 0, -verbose => 3) },
"C|config=s" => sub { @CONFIGS = ($_[1]) },
@@ -515,7 +515,7 @@
=head1 DESCRIPTION
The B<ftbackup> tools saves the partitions (file systems) marked in
-F</etc/fstb> to an FTP host. It uses dump(8) for generating the backup
+F</etc/fstab> to an FTP host. It uses dump(8) for generating the backup
and openssl(1) for encrypting the data stream (and thus the written
files).
@@ -548,6 +548,13 @@
Even more debugging is shown using the DEBUG=1 environment setting.
+=item B<--clean> [I<days>]
+
+Cleanup older backups we do not need (that is: incremental backups with
+no previous full backup. If I<days> are given, then all full backups older than
+the number of I<days> are removed (and all incremental backups based on these
+full backups). (default: 0 and not implemented)
+
=item B<--dry>
Dry run, no real backup is done, this option implies B<--verbose>. (default: off)
@@ -555,7 +562,7 @@
=item B<-f>|B<--force>
Use more power (e.g. overwrite a previous level backup and remove all
-invalidated other backups). (default: 0)
+invalidated other backups). (default: 0 and not implemented)
=item B<-i>|B<--info>