Certain filesystems require that the log file is closed befor the
containing backup directory is renamed from its temporary name to the
final name.
self.backupFileSet(s, targetdir, excludes, since)
logfile.info("Stopped: " + datetime.datetime.now().ctime())
self.backupFileSet(s, targetdir, excludes, since)
logfile.info("Stopped: " + datetime.datetime.now().ctime())
# Rename backup directory to final name
os.rename( targetdir, os.path.join(basedir, dirname) )
# Rename backup directory to final name
os.rename( targetdir, os.path.join(basedir, dirname) )