The canonical source of PSONO Server is hosted on GitLab.com.
The documentation for the psono server can be found here:
Some things that have not yet found their place in the documentation:
For a full backup, you have to backup two things. First thing obviously is the database, and the second thing is your settings.yaml file as it contains some secrets necessary to decrypt the data in your database. We have created two little scripts to backup and restore your files in var/backup
For backups follow the following steps.
-
Copy var/backup to a folder of your choosing, example:
sudo cp -R var/backup /opt/psono-backup
-
Update .env file in /opt/psono-backup
-
Execute the backup like:
/opt/psono-backup/backup
-
Schedule backups e.g. for 2:30am daily:
crontab -e
and add this line:
30 2 * * * /opt/psono-backup/backup
-
Check that backups are created proper a day later.
If you experience any errors you can check your logs for tips why:
grep CRON /var/log/syslog
Common problems are insufficient user or database rights.
For restoration of a backup follow the following steps.
-
Copy var/backup to a folder of your choosing, example:
sudo cp -R var/backup /opt/psono-backup
-
Update .env file in /opt/psono-backup
-
Execute the backup like:
/opt/psono-backup/restore --backup=path/to/the/backup/backup_12345.../
Visit the License.md for more details