Back up an Edge site

Back up an Edge site to prevent losing site data, such as connection parameters, if a site is reinstalled or accidentally deleted. With a backup, you can reinstall your Edge site and restore the previous settings.

The backup includes:

  • The public and private keys the site uses to encrypt and send secrets.
  • The secrets used in connections, capabilities, and vaults.

For privacy reasons, Edge site backups remain in your personal environment and are not sent to the cloud.

Prerequisites

On the server that runs your Edge site, run the following command. By default, the backup is generated in the current working directory. If you want to specify where the backup is generated, add the --path <backup> flag to the command: .

Copy
sudo ./edgecli recovery backup

Edge creates a backup of your Edge site in the selected folder of the command.

Tip 
What is your Edge site installation method?

On the server from which you manage your managed Kubernetes cluster, run the following command:

Copy
./edgecli recovery backup --path <backup_path>

Edge creates a backup of your Edge site in the defined folder of the last command.

On the server that runs your Edge site, run the following command:
Copy
kubectl get -n <my-namespace> secrets -l edge.collibra.com/backup -o yaml > <PATH_OF_BACKUP_FILE>
PropertyDescription
<my-namespace>

The Edge site namespace.

  • If your Edge site has a custom namespace, add it here.
  • If your Edge site does not have a custom namespace, add the default namespace, collibra-edge.
<PATH_OF_BACKUP_FILE>The name of the output yaml file containing your Edge site backup. For example, myBackupFile.yaml.

Edge creates a backup of your Edge site in the defined folder of the last command.

What's next

Reinstall your Edge site using the backup you created.