Skip to main content

Backup and Restore

OpenArca ships with scripts for SQLite + uploads backup/restore.

Backup

./scripts/backup.sh

Options:

  • --output PATH
  • --force
  • --hot (faster, lower consistency)

Restore

./scripts/restore.sh --input backups/<file>.tar.gz --yes

--yes is required because restore is destructive.

Good practice

  • test restore in non-production regularly,
  • keep backup retention policy,
  • protect backup archives as sensitive data.