Skip to content

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

License

Notifications You must be signed in to change notification settings

xnishd/psono-server

 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • HTML 1.4%
  • Other 0.3%