Skip to content

Commit e8372f4

Browse files
authored
Restorer la prod en local (#1742)
1 parent 912f4a2 commit e8372f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/infrastructure/backup-db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/bin/bash
22

33
# Récupérer l'ID de l'instance
4-
INSTANCE_ID=$(scw rdb instance list | grep "lvao-preprod-db" | awk '{print $1}')
4+
INSTANCE_ID=$(scw rdb instance list | grep "lvao-prod-db" | awk '{print $1}')
55
TODAY=$(date +%Y%m%d)
66
EXISTING_BACKUPS=$(scw rdb backup list instance-id=$INSTANCE_ID | grep "$TODAY")
77

88
if [ -z "$INSTANCE_ID" ]; then
9-
echo "Instance lvao-preprod-db non trouvée"
9+
echo "Instance lvao-prod-db non trouvée"
1010
exit 1
1111
fi
1212

0 commit comments

Comments
 (0)