mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 09:19:31 +00:00
archive metadata: store backup START time into 'time'
except if a timestamp is given via cli, then store that time into 'time'
This commit is contained in:
parent
a078d730e1
commit
38d2237dad
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ def save(self, name=None, timestamp=None):
|
|||
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,
|
||||
|
|
Loading…
Reference in a new issue