Backing up and restoring data
On this page:
Upsource lets you easily backup and restore all content and configuration data to prevent data loss in case of system failure or when upgrading to a newer build.
Creating and scheduling backups
To create a backup
- Log into Upsource as an administrator.
- Click the settings icon on the top right of the screen. The Administration view will open.
- Click the Backup now link.
- Click OK to create a backup.
A new folder containing your saved data will be created in your <upsource_home>\backups directory. The folder name reflects the date and time the backup was made. A path to this folder will be displayed at the top of the project list as soon as the backup process completes:
To schedule automated backups
- In the Administration view, click Set up backup schedule.
- Specify the time interval for backups and click Save.
Restoring from a backup
Each backup directory contains data and conf directories which in turn contain content and configuration data saved during that backup.
You can roll back to an earlier point in time by copying the data and conf folders of a selected backup to your <upsource_home> directory.
If your Upsource instance got corrupted, you can install a new instance and similarly copy the data and conf folders of a selected backup from the corrupted instance to the <upsource_home> directory of your new Upsource instance.
The other option is to use the upgrade procedure specific to your current and desired installation type (ZIP or Docker) and follow the Configuration Wizard to select the backup you want. This way you can restore a corrupted instance by "upgrading" either to the same Upsource version or to a newer one.