makefile: write sample conf to /usr/share/shbackup/
[sitarba.git] / shbackup
index cd2443727f6ddf851e25c12ded9f4cd9f4f85795..c74cd2b5fa8f66e8d8936f93974dca14f00d26f0 100755 (executable)
--- a/shbackup
+++ b/shbackup
@@ -172,7 +172,7 @@ class Config:
 
     def __init__(self):
         self.backupdir = None
-        self.format = self.formats[0]
+        self.format = self.formats[1]
         self.tarbin = "/bin/tar"
         self.excludes = []
         self.sets = []
@@ -597,8 +597,8 @@ def printUsage():
     print("  -h, --help                 print this usage text")
     print("  -c, --conf <configfile>    use given configuration file")
     print("                             default: /etc/shbackup.conf")
-    print("  -e, --epoch <epoch>        force to create backup for given epoch:")
-    print("                             year, month, week, day, hour, sporadic")
+    print("  -e, --epoch <epoch>        force to create backup for given epoch, which")
+    print("                             can be 'sporadic' or one of the configured epochs")
     print("  -m, --mode <mode>          override mode: full, diff, or incr")
     print("  -v, --verbose              be more verbose and interact with user")
     print("  --verbosity LEVEL          set verbosity to LEVEL, which can be")