r/PangolinReverseProxy • u/DubInflux • 21d ago
How to backup pangolin (docker compose stack on VPS)?
If I remember correctly, I used the quick install guide along with a video and assume everything I would need to backup is the top level directory I run the docker stack in?
Couldn’t find any info out there besides the docs suggesting backups of the VPS/VM itself, but I wanted to have a proper backup (I believe looking for something that could be used as an import/export) incase I wanted to end up moving to a different VPS provider.
Anyone care to share their thoughts? Much appreciated in advance
9
Upvotes
•
u/MrUserAgreement 21d ago
Back up the whole config directory and you should be good to go
3
u/Apple-pie-46 21d ago
If you used the Pangolin install script you should find the docker compose stack in /opt/pangolin look at the compose stack for volume locations then backup as needed.
3
u/j-dev 21d ago
Yes, there are config files and the SQLite database. Pangolin creates its own database backups, so the directory could become quite larger than needed if you back up everything. Also, the more health check history you keep, the bigger the database by hundreds of MB depending on how many resources you run.
2
u/AstralDestiny MOD 21d ago
Take the compose and the config folder and back that up :)
1
u/Fungalsen 20d ago
Stop the docker containers, backup whole config folder plus compose file, restart
0
u/-ThreeHeadedMonkey- 21d ago
https://forum.hhf.technology/t/pangolin-stack-backup-update-management-script-december-2025-version/591
This works well for me. I tested it by recovering to another VPS and it worked flawlessly there.