Backing up the PPC
Protegrity Provisioned Cluster (PPC) supports backup of Insight indexes and cluster configurations. Use the procedures below to update the scheduled backups of your PPC deployment.
Backing up Velero backup schedule
To take a backup at an interval of 10 minutes, the cron job must be executed before the schedule. This ensures that the latest configurations are included and are available in the Storage Account.By default, the cron job is executed after every 3 hours and schedule is executed after every 3.5 hours.
For taking the backups, the frequency of schedule and cron job can be changed, as required.
Perform the following steps to update the frequency.
To update the frequency of the
cron job, run the following command.$ kubectl patch cronjob authnz-postgresql-backup-recovery-cron-job \ -n api-gateway \' --type=merge -p '{"spec":{"schedule":"<required frequency>"}}'To update the frequency of the
schedule, run the following command.$ kubectl patch schedule authnz-postgresql-schedule-backup \ -n pty-backup-recovery \ --type=merge -p '{"spec":{"schedule":"<required frequency>"}}'
For instance, to update the frequency of the backup schedule to 10 minutes, perform the following steps.
To update the
cron jobto every 8 minutes, run the following command.$ kubectl patch cronjob authnz-postgresql-backup-recovery-cron-job \ -n api-gateway \ --type=merge -p '{"spec":{"schedule":"8-58/10 * * * *"}}'To update the
scheduleto every 10 minutes, run the following command.$ kubectl patch schedule authnz-postgresql-schedule-backup \ -n pty-backup-recovery \ --type=merge -p '{"spec":{"schedule":"*/10 * * * *"}}'
Backing up indexes
Insight indexes are backed up automatically using a scheduled job. To manually back up the indexes, perform the following steps:
- Log in to the Insight Dashboard.
- Select the main menu.
- Navigate to Management > Snapshot Management > Snapshot policies.
- Click the daily-insight-snapshots policy.
- Click Edit.
- Update the following parameters:
- Snapshot schedule
- Frequency:
Custom (Cron expression) - Cron expression:
*/15 * * * *
- Frequency:
- Snapshot schedule
- Click Update.
- Wait for the next scheduled snapshot to complete. Verify that the snapshot is created from the snapshot status.
Note: The snapshot schedule is set to run every 15 minutes for creating the manual backup. Restore the default settings after the manual backup is complete. Before upgrading, disable the scheduler job after the backup is created. Ensure that the default parameters are restored and the job is re-enabled after the upgrade.
Feedback
Was this page helpful?