Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 907 Bytes

6.11.md

File metadata and controls

5 lines (3 loc) · 907 Bytes

6.11 Backup

Post version 12.1.0 Go supports one click backup through the administration interface as well as through the API. The backup is performed into the {ARTIFACT_REPOSITORY_LOCATION}/serverBackups directory. More details about this feature can be found here.

Backup is performed in mutual exclusion. Both the admin interface and the API call startBackup method of BackupService.java. The backup procedure starts with backing up the server version and config. Cipher file is backed up to ensure all the encryted passwords in the config work. Go maintains a git repository of the config file which is backed up next follwed by db backup. As of now, Go supports db backup only for H2 database. Once the backup is completed a mail is sent and the mutex is released.