diff --git a/src/borg/helpers/parseformat.py b/src/borg/helpers/parseformat.py index a0fcdd9b9..d451dee67 100644 --- a/src/borg/helpers/parseformat.py +++ b/src/borg/helpers/parseformat.py @@ -218,6 +218,7 @@ def replace_placeholders(text, overrides={}): 'hostname': hostname, 'now': DatetimeWrapper(current_time.astimezone(None)), 'utcnow': DatetimeWrapper(current_time), + 'unixtime': int(current_time.timestamp()), 'user': getosusername(), 'uuid4': str(uuid.uuid4()), 'borgversion': borg_version,