Executing a Backup Operation
It is critical that the standard daily backups are activated on your appliance. Follow the procedure in Activating Standard Daily Backup. In addition, you can initiate a system backup manually if necessary. Execute this procedure to perform a manual system backup.
Using the Service CLI
-
Choose a strategy: create a full system backup, or back up individual components.
-
Run the backup command with the target parameter of your choice.
Target options are:
layer0
,zfs
,vault
,mysql
,loki
,sauron
,all
.-
To create a full system backup, select
target=all
.PCA-ADMIN> backup target=all Data: Type = BackupJob Job Id = ocid1.brs-job.2147XLD01D....<unique_ID> Display Name = brs-job-1698401412-backup Profile Id = ocid1.backup_profile.2147XLD01D....<unique_ID> Time Created = 2023-10-27T10:10:12Z Lifecycle State = CREATING Retention = 14
-
To create an individual component backup, select the appropriate target from the list:
layer0 | zfs | vault | mysql | loki | sauron
. For example:PCA-ADMIN> backup target=layer0 Data: Type = BackupJob Job Id = ocid1.brs-job.2147XLD01D....<unique_ID> Display Name = brs-job-1698401607-backup Profile Id = ocid1.backup_profile.2147XLD01D....<unique_ID> Time Created = 2023-10-27T10:13:27Z Lifecycle State = CREATING Retention = 14
-
-
Use the backup job ID to check the status of the backups.
PCA-ADMIN> getBackupJobs Data: id Display Name Components -- ------------ ---------- ocid1.brs-job.PCA3X62D9C1.mypca.wtczj8r3zl7wjftxbkskaj6j60x6xqai3lpjoxp7ywi7nmrcuyo4vathc8rj brs-job-1698401412-backup layer0,zfs,vault,mysql,loki,sauron ocid1.brs-job.PCA3X62D9C1.mypca.089a7b8cuqz0cam2r7xexo4i4p7j7ia7sqhl9f8w89dyp9q3y10dnbaac6mu brs-job-1698401607-backup layer0 PCA-ADMIN> getBackupJob backupJobId=ocid1.brs-job.PCA3X62D9C1.mypca.wtczj8r3zl7wjftxbkskaj6j60x6xqai3lpjoxp7ywi7nmrcuyo4vathc8rj Data: Type = BackupJob Job Id = ocid1.brs-job.PCA3X62D9C1.mypca.wtczj8r3zl7wjftxbkskaj6j60x6xqai3lpjoxp7ywi7nmrcuyo4vathc8rj Display Name = brs-job-1698401412-backup Time Created = 2023-10-27T10:10:12Z Status = success Components = layer0,zfs,vault,mysql,loki,sauron
-
Confirm that the backup operations have completed successfully.
Backups are created on the ZFS Storage Appliance at the following
location, as seen from the management node mount point:
/nfs/shared_storage/backups/
. Each backup is identified by its unique
path containing the job OCID and time stamp:
/nfs/shared_storage/backups/ocid1.brs-job.unique_ID/backup_timestamp/