Backups and updates
Working with backups
Creating a backup
- Start
Pepeunitso that thebackupscript has access to the databases and thebackendversion:bashdocker compose up -d - Run backup creation without stopping the containers:bash
sudo ./backup.sh backup
Restoring from a backup
- Stop the instance:bash
docker compose down - Restore the version from a
backup:bashsudo ./backup.sh restore backups/backup_name.tar - Start
Pepeunit:bashdocker compose up -d
Updating
- Create a
backup:bashsudo ./backup.sh backup - Update the repository:bash
git pull - Update
envvariables. Existing secret32‑byte keyswill NOT be changed. Other variables will be generated just like during the first generation. If you manually edited files inenv/.env.<service-name>, your changes will be REMOVED, so be sure to make abackupbefore running this command. If you have very fine‑tuned settings, change them manually by editing the files inenv/.env.<service-name>.bashpython make_env.py - Start
Pepeunit:bashdocker compose up -d