fn = open('time.out', 'r')
s = fn.readline()
fn.close()
-print 'Total time: %d secs' % (t - float(s))
+diff = t - float(s)
+h = int(diff / 3600)
+m = int((diff - h * 3600) / 60)
+sec = diff - h * 3600 - m * 60
+print 'Total time = %d:%02d:%02d or %d secs' % (h, m, sec, t - float(s))
# List of files to be backed up
FileSet {
Name = "Full Set"
- Include = signature=MD5 {
- </tmp/file-list
+ Include { Options { signature=MD5 }
+ File = </tmp/file-list
}
}
# List of files to be backed up
FileSet {
Name = "Full Set"
- Include = signature=MD5 {
- </tmp/file-list
+ Include { Options { signature=MD5 }
+ File = </tmp/file-list
}
}
# List of files to be backed up
FileSet {
Name = "Full Set"
- Include = signature=MD5 {
- </tmp/file-list
+ Include { Options { signature=MD5 }
+ File = </tmp/file-list
}
}
FileSet {
Name = "SparseSet"
- Include = signature=MD5 sparse=yes {
- </tmp/file-list
+ Include { Options { signature=MD5; sparse=yes }
+ File=</tmp/file-list
}
}
FileSet {
Name = "CompressedSet"
- Include = signature=MD5 compression=GZIP {
- </tmp/file-list
+ Include {
+ Options { signature=MD5; compression=GZIP }
+ File =</tmp/file-list
}
}
FileSet {
Name = "SparseCompressedSet"
- Include = signature=MD5 compression=GZIP {
- </tmp/file-list
+ Include {
+ Options {
+ signature=MD5; compression=GZIP
+ }
+ File= </tmp/file-list
}
}
# This is the backup of the catalog
FileSet {
Name = "Catalog"
- Include = signature=MD5 {
- /home/kern/bacula/regress/bin/working/bacula.sql
+ Include { Options { signature=MD5 }
+ File=/home/kern/bacula/regress/bin/working/bacula.sql
}
}
# List of files to be backed up
FileSet {
Name = "Full Set"
- Include = signature=SHA1 {
- </tmp/file-list
+ Include { Options { signature=SHA1 }
+ File =</tmp/file-list
}
}
echo " === Starting Backup Bacula Test at `date +%R:%S` ===" >>working/log
echo " "
-#bin/bacula start 2>&1 >/dev/null
-bin/bacula start
+bin/bacula start 2>&1 >/dev/null
+#bin/bacula start
bin/bconsole -c bin/bconsole.conf <<END_OF_DATA
@output /dev/null
messages