Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions docs/random.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```