xnishd / psono-server

PSONO Server | Please open new issues in our issue tracker on GitLab.com

Home Page:https://gitlab.com/psono/psono-server/issues

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PSONO Server - Password Manager

coverage report Code Climate build status Discord

Canonical source

The canonical source of PSONO Server is hosted on GitLab.com.

Documentation

The documentation for the psono server can be found here:

Psono Documentation

Some things that have not yet found their place in the documentation:

Backup & Restore

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

Backup Process:

For backups follow the following steps.

  1. Copy var/backup to a folder of your choosing, example:

     sudo cp -R var/backup /opt/psono-backup
    
  2. Update .env file in /opt/psono-backup

  3. Execute the backup like:

     /opt/psono-backup/backup
    
  4. Schedule backups e.g. for 2:30am daily:

     crontab -e
    

    and add this line:

     30 2 * * * /opt/psono-backup/backup
    
  5. 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.

Restore Process:

For restoration of a backup follow the following steps.

  1. Copy var/backup to a folder of your choosing, example:

     sudo cp -R var/backup /opt/psono-backup
    
  2. Update .env file in /opt/psono-backup

  3. Execute the backup like:

     /opt/psono-backup/restore --backup=path/to/the/backup/backup_12345.../
    

LICENSE

Visit the License.md for more details

About

PSONO Server | Please open new issues in our issue tracker on GitLab.com

https://gitlab.com/psono/psono-server/issues

License:Other


Languages

Language:Python 98.3%Language:HTML 1.4%Language:Shell 0.3%Language:Smarty 0.0%