File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ echo "Creating backup..."
1010# to group and owner. Instead, try creating the empty file and then give everyone write access to the backup file
1111touch $( pwd) /sentry/backup.json
1212chmod 666 $( pwd) /sentry/backup.json
13- SENTRY_DOCKER_IO_DIR=$( pwd) /sentry /bin/bash $( pwd) /sentry-admin.sh export global /sentry-admin/backup.json
13+ SENTRY_DOCKER_IO_DIR=$( pwd) /sentry /bin/bash $( pwd) /sentry-admin.sh export global /sentry-admin/backup.json --no-prompt
1414if [ ! -s " $( pwd) /sentry/backup.json" ]; then
1515 echo " Backup file is empty"
1616 exit 1
@@ -31,6 +31,6 @@ source install/set-up-and-migrate-database.sh
3131$dc up -d
3232
3333echo " Importing backup..."
34- SENTRY_DOCKER_IO_DIR=$( pwd) /sentry /bin/bash $( pwd) /sentry-admin.sh import global /sentry-admin/backup.json
34+ SENTRY_DOCKER_IO_DIR=$( pwd) /sentry /bin/bash $( pwd) /sentry-admin.sh import global /sentry-admin/backup.json --no-prompt
3535
3636rm $( pwd) /sentry/backup.json
You can’t perform that action at this time.
0 commit comments