BORG-RENAME(1) borg backup tool BORG-RENAME(1)

borg-rename - Rename an existing archive

borg [common options] rename [options] ARCHIVE NEWNAME

This command renames an archive in the repository.

This results in a different archive ID.

See borg-common(1) for common options of Borg commands.

ARCHIVE
archive to rename
NEWNAME
the new archive name to use

$ borg create /path/to/repo::archivename ~
$ borg list /path/to/repo
archivename                          Mon, 2016-02-15 19:50:19
$ borg rename /path/to/repo::archivename newname
$ borg list /path/to/repo
newname                              Mon, 2016-02-15 19:50:19

borg-common(1)

The Borg Collective
2021-03-22