Git Backup

The Git Backup feature automatically backs up Intelligence Hub configuration to a Git repository. The backup is stored as a single JSON file and can be used by Git Deployment Integration.

Manual backups can be performed when the backup mode is set to Manual or Scheduled. During manual or scheduled backups, changes to the hub configuration are pushed to the specified branch of the repository. When there are no changes since the previous backup, no commit is pushed. The commit message differentiates scheduled and manual backups. For manual backups, the Intelligence Hub user must have Settings:execute_write permission and the commit message will contain the user that performed the backup. See Users and Roles for more information.

Git Backup settings support the use of System and Environment references. Changes to System Variables will be detected automatically and cause the Git Backup schedule to be restarted. See System Variables and Environment Variables for more information.

Git Backup Settings

SettingJSON PropertyDescription
Modesettings.gitBackup.modeThe mode controls how backups are performed. The following options are available.
  • disabled – No backups can be performed
  • manual – User-initiated backups only
  • scheduled – Scheduled (cron) and User-initiated backups.
Backup Schedulesettings.gitBackup.scheduleThe cron schedule to run the backup, no back-up is performed when blank. Default is daily at 3am UTC.
Repository URIsettings.gitBackup.repositoryUriThe URI of the Git repository.
Authorsettings.gitBackup.authorNameAuthor to use in commit messages.
Emailsettings.gitBackup.authorEmailEmail to use in commit messages.
Typesettings.gitBackup.typeGit (git) is currently the only supported type.
Authentication Typesettings.gitBackup.authenticationTypeThe authentication type. None (none) and Username/Password (pass) are currently supported.
Usernamesettings.gitBackup.usernameGit username to use for password authentication.
Passwordsettings.gitBackup.passwordGit password (or personal access token) to use for password authentication.
Branchsettings.gitBackup.branchBranch in the repo to use for backup.
Deploy Filesettings.gitBackup.deployFileThe relative path in the repository to save the configuration.