Files
gancio/docs/backup.md
2021-05-31 11:03:36 +02:00

672 B

layout, title, permalink, nav_order
layout title permalink nav_order
default Backup /backup 5

Backup

The following commands should be valid for every setup (docker/debian/sqlite/postgres) but check your installation directory first. This includes database, configuration, custom user locales, media, images and thumbnails.

cd /opt/gancio/ # or /home/gancio
tar --ignore-failed-read -czf gancio-$(date +%Y-%m-%d-%H%M%S)-backup.tgz \
  config.json \
  uploads \
  user_locale \
  db.sqlite \
  postgres \
  data

info "Automatic backup" To periodically backup your data you should probably use something like restic or borg