From 5c08c0fd51d1a9a6bdce8efab80971cfbaae1d9a Mon Sep 17 00:00:00 2001 From: Jonas Plum Date: Sun, 22 Oct 2023 20:56:27 +0200 Subject: [PATCH] Delete docs/catalyst/admin/backup.md --- docs/catalyst/admin/backup.md | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 docs/catalyst/admin/backup.md diff --git a/docs/catalyst/admin/backup.md b/docs/catalyst/admin/backup.md deleted file mode 100644 index 32e0540..0000000 --- a/docs/catalyst/admin/backup.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -sidebar_position: 40 ---- - -# Backup - -Catalyst contains an API endpoint to create backups which make backups quite easy. To create regular backups you can -create a new API key with the -`backup:read` permission. Then set up a cronjob somewhere with the following curl command: - -```bash -curl \ - --header "PRIVATE-TOKEN: UPwC3RUdfaIritWqfGwrsiEWl8Qh_VXy" \ - --output backup-$(date -u +"%Y-%m-%dT%H-%M-%SZ").zip \ - https://try.catalyst-soar.com/api/backup/create -``` - -# Restore - -:::danger - -Be careful as the restore function will overwrite all data in the database. - -::: - -Restore takes a backup created with the backup endpoint and restores it to the Catalyst: - -```bash -curl \ - --header "PRIVATE-TOKEN: UPwC3RUdfaIritWqfGwrsiEWl8Qh_VXy" \ - -F "backup=@/home/bob/backup-2021-12-12T13:58:32Z.zip" \ - https://try.catalyst-soar.com/api/backup/restore -```