Repository navigation
Releases
Releases · mplabs/backup-sqrt
v0.1.2
What changed
- Let the staging rsync run as root so profiles owned by service users (e.g.,
nextcloud) copy cleanly without temp-directory permission
errors. - Installer and release packaging remain the same as v0.1.1; use this build if your duply configs live under root-owned paths.
Upgrade tip
Re-run the installer or pull the new tarball before your next cron run so bundled manifests pick up the change.
v0.1.1
What’s new
- Fresh installer bundle with the checksum logic fixed so automated installs stop choking on the
dist/prefix baked into earlier archives. - Release workflow now writes checksum files from inside
dist/, keeping the SHA entries neat and compatible with downstream verification.
Heads-up
- If you scripted the v0.1.0 installer, re-run it to pull the v0.1.1 archive with the corrected checksum file.
v0.1.0
Highlights
- Ships the new
backup-configsutility (scripts/backup-configs.sh) for packaging duply profiles, encrypting them with AES256 via GPG, and syncing bundles plus SHA256 manifests to a remote rsync target. It supports per-profile config files, optional include paths, gzip/zstd/none
compression, flock-based locking, and Uptime Kuma webhook notifications. - Adds an installer (
install.sh) that resolves the latest GitHub release, verifies checksums, installs binaries/docs, seeds/etc/config-backup, and lays down a cron template for scheduled runs. - Provides documentation for deployment and operations, including install guidance (
docs/install.md) and a detailed profile management/restore guide (docs/config-backup.md) along with a starter profile atconfig/profiles/example.conf. - Introduces an automated release workflow (
.github/workflows/release.yml) that packages the project into a versioned tarball and publishes matching checksum artifacts whenever av*tag is pushed.
Getting Started
- Install quickly with
curl -sSfL https://raw.githubusercontent.com/mplabs/backup-sqrt/main/install.sh | sudo bash - Populate
/etc/config-backup/profiles/using the provided example and store passphrases either in 1Password viaPASSPHRASE_SECRETor locally withPASSPHRASE_FILE. - Test a manual run:
CONFIG_PROFILES_DIR=/etc/config-backup/profiles /usr/local/sbin/backup-configs
- Edit
/etc/cron.d/backup-configsto set the schedule and environment variables (e.g.,UPTIME_KUMA_WEBHOOK) before enabling the job.
Release Assets
backup-sqrt-v0.1.0.tar.gzbackup-sqrt-v0.1.0.tar.gz.sha256