A successful disaster recovery plan for Octopus Deploy requires the ability to restore both:
Runbooks Octopus runbooks can help you automate your disaster recovery process.
Without your Master Key, backups are useless Sensitive information is encrypted using AES128 with the Master Key as the encryption key. Without this Master Key you will lose your sensitive variables, passwords and other encrypted data. Make sure you’ve taken a copy of the key! Learn more about backing up the Master Key.
Octopus SQL Database
Most of the data and settings managed by Octopus - the projects, environments, deployments and so on - are stored in a SQL Server Database. You are responsible for maintaining your own backups of the SQL Server Database. Refer to SQL Server documentation for more information on backing up SQL Server.
Which SQL Database recovery model should I choose?
You should configure a SQL Database maintenance plan using a recovery model which suits your needs:
- If you happy with daily/weekly restore points you could consider the
- If you want point-in-time recovery you should consider the
Learn more about restore and recovery of SQL Server Databases.
Octopus file storage
In addition to the SQL Server Database, some Octopus data is stored on the file system. This includes task logs that are generated whenever a job is run by the server, artifacts that have been collected during a deployment and packages stored in the Octopus built-in repository. These files are stored in the Octopus home directory that is configured when Octopus Server is installed (
C:\Octopus by default). It is a good idea to do regular backups of your Octopus home directory.
Learn about Octopus file storage.
Certain sensitive information in the Octopus database is encrypted. This information is encrypted using your Octopus Server “Master Key”, a randomly generated string. This Master Key will be needed if you ever plan to restore the database to a new server. You will be prompted for this key during the setup process when connecting to an existing database. If you have already setup the server you can change the Master Key so that it will work with the restored database.
It’s worth repeating! Without your Master Key, backups are useless Sensitive information is encrypted using AES128 with the Master Key as the encryption key. Without this Master Key you will lose your sensitive variables, passwords and other encrypted data. Make sure you’ve taken a copy of the key! Learn more about backing up the Master Key.
Help us continuously improve
Please let us know if you have any feedback about this page.
Page updated on Sunday, January 1, 2023