backups: change data/time delimiter in filename according to ISO 8601

This commit is contained in:
Marek Marczykowski-Górecki 2014-01-15 04:34:51 +01:00
parent 50c00e555e
commit 357fe37ed2

View File

@ -393,7 +393,7 @@ def backup_do(base_backup_dir, files_to_backup, passphrase,
else:
# Prepare the backup target (local file)
backup_target = base_backup_dir + "/qubes-{0}". \
format(time.strftime("%Y-%m-%d-%H%M%S"))
format(time.strftime("%Y-%m-%dT%H%M%S"))
# Create the target directory
if not os.path.exists (base_backup_dir):