509 B
509 B
Holograph backup creation:
- Stop
sharkey_web
container:sudo docker container stop sharkey_web
- Dump PostgreSQL database:
sudo docker exec sharkey_db sh -c 'pg_dumpall -U ograph' > /opt/sharkey/holograph_pg_ver[VERSION WITHOUT '.']_[DATE].sql
- Archive entire sharkey directory. From inside
/opt/sharkey
, run:tar --exclude='./db' --exclude='./db-old' --exclude='./*.tar.gz' -czvf sharkey_ver[VERSION WITHOUT '.']_[DATE].tar.gz .
- Copy backup via method of choice. (SFTP, SCP, etc.)