From 38d2237dadbfd36eef08c4869ff18bc3485ac622 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 5 Feb 2016 00:23:54 +0100 Subject: [PATCH] archive metadata: store backup START time into 'time' except if a timestamp is given via cli, then store that time into 'time' --- borg/archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/archive.py b/borg/archive.py index 0b977b561..f636d1671 100644 --- a/borg/archive.py +++ b/borg/archive.py @@ -226,7 +226,7 @@ Number of files: {0.stats.nfiles}'''.format(self) raise self.AlreadyExists(name) self.items_buffer.flush(flush=True) if timestamp is None: - timestamp = datetime.utcnow() + timestamp = self.start metadata = StableDict({ 'version': 1, 'name': name,