diff --git a/README.md b/README.md index bd0600c..9658ecf 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ To set the backup: ```bash kubectl apply -f k8s/pgsql_bkps_jobs/pg-storage-class.yaml kubectl apply -f k8s/pgsql_bkps_jobs/pg-persistent-volume-claim.yaml +kubectl apply -f k8s/pgsql_bkps_jobs/pg-backup-cronJob.yaml + kubectl apply -f k8s/pgsql_bkps_jobs/pg-backup-cronJob.yaml ``` diff --git a/docs/random.md b/docs/random.md index e35f789..72faa5d 100644 --- a/docs/random.md +++ b/docs/random.md @@ -7,10 +7,10 @@ 1. Primero necesitamos la key del account. Para eso hay que correr este comando ``` -$ az storage account keys list --resource-group MC_pyar-infra_flying-circus-v2_eastus --account-name pyarbackups +$ az storage account keys list --resource-group MC_pyar-infra_flying-circus-v3_eastus --account-name pyarbackups ``` 2. Borrar los archivos con la key que obtenemos de ese comando ``` -$ az storage file delete-batch --account-key EL_VALOR_DEL_COMANDO_ANTERIOR_SIN_CAMBIAR_NADA --account-name pyarbackups --pattern 'backupOn2022-02*' -s kubernetes-dynamic-pvc-5968ddc2-d7ed-11e9-89ad-2636291a1cb5 +$ az storage file delete-batch --account-key EL_VALOR_DEL_COMANDO_ANTERIOR_SIN_CAMBIAR_NADA --account-name pyarbackups --pattern 'backupOn2023-07*' -s pvc-458c5ae7-d0b7-4038-b6c2-205aff6e71a5 ``` \ No newline at end of file