Backup and Restore CE
This document describes the backup & restore process for Private Cloud Director Community Edition (CE).
Community Edition is not for production workloads. Use it for labs, evaluation, and learning only.
Community Edition backup & restore process
Scope
This procedure backs up and restores the Community Edition management plane on the CE host.
It does not back up VM disks, external storage, or anything outside the CE host.
Before you begin
Run as a user with
sudoaccess on the CE host.Ensure
/tmphas enough free space for the backup file.Plan for downtime during restore.
unconfigure-dustops the CE management plane.
The backup can include secrets (tokens, passwords, certificates). Store it securely and restrict file permissions.
The backup process for Community Edition is:
Create a backup using
airctl backup. The resulting backup file will be saved in the/tmpdirectory on the CE host.Save backup copies of the
k3s.yamlandairctl-config.yamlconfiguration files as well.Move the backup file, and copy the other files to another directory to prevent unintentional overwrite.
The restore process for Community Edition is:
airctl unconfigure-duwill stop the Community Edition management plane, including all of its Kubernetes pods, but will leave the Kubernetes install in place.airctl restoreuses the backup file to rebuild & restore your Community Edition installation.
The full command list is outlined below:
Create a backup (saves to /tmp)
Create a backup directory, and move the backup file
Save a copy of k3s and airctl configuration files
(Recommended) Lock down backup permissions
Verify the backup files exist
Unconfigure the CE deployment unit
Restore the deployment unit from the backup
Verify the restore
Your deployment is healthy when regions show Ready and ready services match desired services.
Last updated
Was this helpful?
