The repository includes the backup and restore CLI tools, built using backup-go library. Refer to their respective README files for usage instructions. Binaries for various platforms are released alongside the library and can be found under releases.
- Full backups: Complete namespace or set backups
- Incremental backups: Time-based filtering for changed records
- Parallel processing: Configurable workers for optimal performance
- Resume capability: Continue interrupted backups from state files
- Set-based: Backup specific sets within namespaces
- Bin filtering: Include only specified bins
- Time windows: Records modified within date ranges
- Partition filtering: Backup specific partition ranges
- Node/Rack targeting: Geographic or hardware-specific backups
- Compression: ZSTD compression for reduced storage
- Encryption: AES-128/256 encryption for data security
- Cloud storage: Direct backup to AWS S3, GCP Storage, Azure Blob
- Secret management: Integration with Aerospike Secret Agent
- Rate limiting: Bandwidth and RPS controls
# Build binaries
make build
# Install to /usr/bin (Linux only)
make install
# Uninstall (Linux only)
make uninstallTo generate .rpm and .deb packages for supported Linux architectures (linux/amd64, linux/arm64):
make packagesThe generated packages and their sha256 checksum files will be located in the /target directory.
Download pre-built binaries from GitHub Releases:
# Linux x64
wget https://github.com/aerospike/absctl/releases/download/<version>/absctl-<version>-<arch>.tar.gz
# Extract
tar -xzvf absctl-<version>-<arch>.tar.gz
# Make executable
chmod +x absctlDownload linux pakages from GitHub Releases:
deb:
# Linux x64
wget https://github.com/aerospike/absctl/releases/download/<version>/absctl_<version>_<arch>.deb
# Install
sudo dpkg -i absctl_<version>_<arch>.debrpm:
# Linux x64
wget https://github.com/aerospike/absctl/releases/download/<version>/absctl-<version>-<arch>.rpm
# Install
sudo rpm -i absctl-<version>-<arch>.rpmdocker:
# Pull
docker pull aerospike/absctl:<version>
# Run backup
docker run -v <host-path>:<container-path> aerospike/absctl:<version> absctl backup -h <aerospike-address> -n <namespace> -d <container-path>
# Run restore
docker run -v <host-path>:<container-path> aerospike/absctl:<version> absctl restore -h <aerospike-address> -n <namespace> -d <container-path> # Simple namespace backup
absctl backup -h 127.0.0.1:3000 -n test -d /backup/test-namespace# Restore from backup directory
absctl restore -h 127.0.0.1:3000 -n test -d /backup/test-namespacePlease look at backup and restore readme files for details.
Apache License, Version 2.0. See LICENSE file for details.
- Documentation: Aerospike Documentation
- Issues: GitHub Issues
- Community: Aerospike Community Forum