Skip to main content

Backup

nixopus backup
Saves a database dump and a copy of .env to /opt/nixopus/backups/<timestamp>/.

Restore

1

Restore the environment file

cp /opt/nixopus/backups/<timestamp>/env.bak /opt/nixopus/.env
2

Restart services

Ensure the database container is running before restoring the dump.
nixopus restart
3

Restore the database dump

docker exec -i nixopus-db psql -U nixopus nixopus < /opt/nixopus/backups/<timestamp>/db.sql

Reset to clean state

Remove everything and start fresh:
nixopus uninstall --purge
curl -fsSL install.nixopus.com | sudo bash