Jump to content

Backups Options before Upgrades


Recommended Posts

Before you upgrade Passwordstate, it's always best practice to have a backup of your system before you start, so you can roll back in the event of a disaster.  


What Needs to be Backed Up?

At very minimum, a copy of your entire database and a copy of your c:\inetpub\passwordstate\web.config file.  The web.config file has two critical secrets in it which join to 2 more secrets in your database when you launch your Passwordstate website.  If these secrets do not join, then your Passwordstate website will not load.


Where are these secrets in the web.config file?

You should see Secret1 and Secret2 in the web.config file as per this screenshot below.  If you do not see them, this means your web.config file is encrypted and this forum post explains how to decrypt the web.config file if needed:  https://forums.clickstudios.com.au/topic/2699-encrypting-and-decrypting-the-webconfig-file/



How do I backup my data?

There are a few options you can consider to backup your data:


1. You can manually take a backup of your install files and SQL database by following this guide: https://forums.clickstudios.com.au/topic/13911-manual-backup-using-sql-management-studio-tools/


2. If you are hosting the Passwordstate website and SQL database on the same Virtual Machine, you can take snapshots of your server. 


3. Passwordstate has built in Backup feature that you can configure.  Once set up this will take a backup of everything you need to restore your environment. We have two separate guides for to configure the backups which can be found below:



Domain Account With Network Share:

Video of this: https://www.youtube.com/watch?v=U7f850rqD7s



Local Account with Local Folder: 

Video of this: https://www.youtube.com/watch?v=hWDbSenX-8E




How do I restore my system in the event of a failed upgrade?

If you are using snapshot technology, simply revert your snapshot.  Assuming your database is on the same server then in the event of a failed upgrade you can quickly revert the snapshot and your system will be working as it was prior to the upgrade attempt.  If your database is located on a different server to where Passwordstate is installed, you'll need to restore the database if you revert your snapshot. If you do not restore the database in this scenario, this will cause issues with your website going forward.


If you have want to restore from a manual backup or the built in Passwordstate backups, please see section "Passwordstate Disaster Recovery" starting on page 206 of the Security Administrators guide:  https://www.clickstudios.com.au/downloads/version9/Passwordstate_Security_Administrators_Manual.pdf




Click Studios Support.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...