Databasement
Databasement is a self-hosted backup manager for MySQL, MariaDB, PostgreSQL, MongoDB, SQLite and Redis/Valkey. It runs scheduled or on-demand backups, optionally through an SSH tunnel, stores them locally or on S3, SFTP, FTP, Samba or Azure, and restores them to any registered server.
Databasement
Installation
Default install:
1
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/databasement.sh)"
Notes
There is no default account: the first account created at /register becomes the administrator and closes sign-up. Anyone who reaches the page can claim it, so create it right after the install.
Back up APP_KEY from /opt/databasement_data/.env. It encrypts the stored server passwords and, unless BACKUP_ENCRYPTION_KEY is set, the backups, so neither can be read without it.
Backup jobs run as www-data, so a local volume needs a path www-data can write to, such as /opt/databasement_data/backups.