Restore Backup Ubuntu 20.04

I’m attempting to backup my instance of Passbolt and am wondering what the process is to restore? I see at https://help.passbolt.com/hosting/backup how to backup, but cannot find any documentation on restoring. Could somebody tell me in detail how to do a restore from the backup at the link above? I’m installed on Ubutnu 20.04

Thanks

Hello @sims.anderson,

There is indeed no documented process to restore from the backup. However it is a lot like an installation from source described here: https://www.passbolt.com/help/tech/install

So in a nutshell you would proceed by:

  • Install passbolt like you would normally using the installation scripts.
  • Load the data in the database using mysql -u your_db_user -p your_db_name < backup.sql
  • Copy the server keys in config/gpg directory and load them in the keyring using gpg import (as described in the installation documentation). Something like: sudo su -s /bin/bash -c "gpg --home=/keyring/location --import /var/www/passbolt/config/gpg/serverkey_private.asc " www-data with --home matching the keyring location defined in passbolt.php if it’s not the default.
  • Copy your passbolt.php in config directory
  • Copy the avatars in webroot/img/public/Avatar

Thanks for the info. I appreciate it

1 Like