restore-data-job.sh 332 Bytes
Newer Older
snehal jagtap's avatar
snehal jagtap committed
1
2
3
4
5
6
7
8
9
#!/bin/bash

echo $GOOGLE_PROJECT_NAME
echo $BACKUP_TENANT_NAME
echo $RESTORE_TENANT_NAME

rm -f /opt/osdu-cloud-data-ingestion/logback.xml
cp /opt/osdu-cloud-data-ingestion/logback-restore.xml /opt/osdu-cloud-data-ingestion/logback.xml
/opt/osdu-cloud-data-ingestion/bin/restore-data-job /opt/osdu-cloud-data-ingestion/restore.conf