Backup Management Tools
The Armory distribution comes with a CLI tool to help manage backups.
It is located at /usr/bin/kannika-tools
in the image.
Viewing the contents of a backup’s storage
You can inspect the state of a running backup with the kannika-tools index show
command:
The above shows a summary of all topics present in the storage being used by the backup.
It is possible to get more detailed information by omitting the --summary
flag.
Have a look at the available options with kannika-tools index show --help
.
Rebuilding a backup’s index
Rebuilding a Backup’s index should rarely be necessary, however, it is possible that a new Armory version adds more metadata to a backup’s index. In such cases, you might want to rebuild the index file to upgrade to the new format to benefit from Armory’s new capabilities.
By default,
the generated index will be written to standard output and won’t be written the backup’s storage.
You will then have put the contents in a file called index
within a backup’s directory manually.
The tool can also write that index file to the storage for you with the -w
flag.
You might also need the --force
flag to overwrite the index file if one is already present,
but do this at your own risk !