Archimede
Archimede is a backup tool for application servers. When most tools are specialized in database, folder or container volume backups, archimede combines all of this into a single, consistent tool. This makes backups a breeze and obviates the need to write scripts which are hard to test and monitor.
For now, Archimede is best suited for applications hosted on VMs where all data, databases and container volumes are on the same host.
Tutorial
Installation
TODO
Quickstart
To use Archimede, you need a configuration file describing what to backup (sources), where to copy the data (sinks) and other transformations you want to apply to the data (processors). A good example of a processor is compressing the data as a tar archive.
A basic configuration file could look like this:
# This is a source copying files from a folder on disk
[sources.wordpress]
type = "folder"
path = "/path/to/wordpress/folder"
# Compress folder as a .tar.gz
[[processors]]
type = "archive"
# Backup the archive to an S3 bucket
[sinks.destination]
type = "s3"
path = "backup-bucket"
# Load the access key from the BACKUP_AWS_ACCESS_KEY environment variable
options = { region = "eu-west-3", access_key_id = "abc123", access_key_env = "BACKUP_AWS_ACCESS_KEY" }
Development
For testing, we rely on external dependencies to ensure that archimede works in real-world situations:
- podman for container
- mysql-client for mysqldump
sudo apt install podman mysql-client