Skip to content

Latch v0.5.1.0

Choose a tag to compare

@YeOK YeOK released this 18 Jul 10:44

Latch v0.5.1.0 — solid backups

Plugin storage is now part of backups, with core and plugins as separate members so you can recover from a bad plugin without replaying plugin state.

Highlights

Split backups

  • Outer archive: latch-backup-YYYYMMDD-HHMMSS-<id>.tar.gz
    • core.tar.gzlatch.sqlite + config/local.php
    • plugins.tar.gzstorage/plugins/ (WAL-safe plugin.sqlite + settings)
  • Unique filenames (no same-second overwrite)
  • Flags: backup --core-only / --plugins-only
  • Restore: --core-only (leave plugins alone) / --plugins-only / default both
  • Legacy flat archives still restore as core

Docs

  • Full Fedora/RPM backup & restore runbook: INSTALL-FEDORA.md
  • CLI, SECURITY, UPGRADE cross-links

Upgrade

Fedora/RHEL (after COPR rebuild):

sudo dnf upgrade latch
sudo latch backup              # optional extra; %posttrans already backs up
sudo latch restore list        # expect format=split after first new backup

Tarball:

# replace tree, then:
bash scripts/update.sh
# or: php bin/latch backup && php bin/latch update …

Bad plugin escape hatch

sudo latch lock on
sudo latch restore --latest --core-only
sudo latch plugin disable bad-slug
sudo latch lock off

Full notes: CHANGELOG.md