1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 09:19:31 +00:00

Changes archive format from uuid to uuid4

This allows for future support of other uuid versions
This commit is contained in:
Michael Herold 2016-06-11 22:57:03 +02:00
parent 5aa97e283c
commit d45a13babf
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ The archive name needs to be unique. It must not end in '.checkpoint' or
checkpoints and treated in special ways.
In the archive name, you may use the following format tags:
{now}, {utcnow}, {fqdn}, {hostname}, {user}, {pid}, {uuid}
{now}, {utcnow}, {fqdn}, {hostname}, {user}, {pid}, {uuid4}
To speed up pulling backups over sshfs and similar network file systems which do
not provide correct inode information the --ignore-inode flag can be used. This

View file

@ -1362,7 +1362,7 @@ def build_parser(self, prog=None):
checkpoints and treated in special ways.
In the archive name, you may use the following format tags:
{now}, {utcnow}, {fqdn}, {hostname}, {user}, {pid}, {uuid}
{now}, {utcnow}, {fqdn}, {hostname}, {user}, {pid}, {uuid4}
To speed up pulling backups over sshfs and similar network file systems which do
not provide correct inode information the --ignore-inode flag can be used. This

View file

@ -742,7 +742,7 @@ def preformat_text(self, text):
'now': current_time.now(),
'utcnow': current_time.utcnow(),
'user': uid2user(os.getuid(), os.getuid()),
'uuid': str(uuid.uuid4())
'uuid4': str(uuid.uuid4())
}
return format_line(text, data)