Fix bug 1482 61/10561/1
authorcalvinosanc1 <guillermo.calvino@canonical.com>
Mon, 29 Mar 2021 09:54:38 +0000 (11:54 +0200)
committercalvinosanc1 <guillermo.calvino@canonical.com>
Mon, 29 Mar 2021 09:57:52 +0000 (11:57 +0200)
Change-Id: I6e17434ffc3b7f13ac3311f71092ec0784a952f0
Signed-off-by: calvinosanc1 <guillermo.calvino@canonical.com>
installers/charm/mongodb-k8s/actions/restore

index 8ce7c3a..30ed2f9 100755 (executable)
@@ -21,5 +21,5 @@
 ##
 
 DB_BACKUP_PATH=`action-get path`
-mongorestore --gzip --archive=$DB_BACKUP_PATH/backup.archive
+mongorestore --gzip --archive=$DB_BACKUP_PATH/backup.archive --drop