Migration from legacy tools
The backup and restore CLI tools underwent a major architectural change with the launch of Aerospike Backup Control (absctl), which provides the backup and restore subcommands.
This page explains the breaking changes and how to migrate from the legacy asbackup and asrestore tools.
For more information and downloads, see the following GitHub repositories:
- absctl: The Go-based backup and restore CLI tools
- backup-go: The Go backup library used by the new tools
- aerospike-tools-backup: The legacy C-based backup tools
Prerequisites
The absctl CLI supports Aerospike Database 5.7.0 and later.
For older Aerospike Database versions, you must use a legacy tools package with asbackup and asrestore.
absctl supports the following operating systems:
- macOS (arm64/amd64)
- Windows (arm64/amd64)
- Linux (arm64/amd64) -
.deband.rpmpackages are provided.
Upgrade from an older version
To upgrade, remove the old versions of the backup tools or the tools package, then download and use the new tools.
Linux
- Download the Debian package from the
absctlrelease page. - Remove old tools by running
dpkg -r aerospike-tools. Removing the old tools package also removesasbench,aql, andasadm. - Install new tools with
dpkg -i ABSCTL_DEB.
- Download the RPM package from the
absctlrelease page. - Remove old tools by running
rpm -e aerospike-tools. Removing the old tools package also removesasbench,aql, andasadm. - Install new tools with
rpm -i ABSCTL_RPM.
Windows
- Download the
.zippackage from theabsctlrelease page. - Unzip it.
- Run the binary.
macOS
-
Download the
.tar.gzpackage from theabsctlGitHub release page. -
Unzip it.
-
Remove the old backup tools.
Terminal window rm -rf /usr/local/bin/asbackuprm -rf /usr/local/bin/asrestore -
Copy new tools:
Terminal window cp absctl /usr/local/bin/absctl