[SOLVED] Mongorestore restoration issue
Published: April 5, 2018 - 10:59 AM
Server: Debian Stretch x64
waptserveur 1.3.13.0
Good morning,
To migrate to version 1.5 of wapt I had to switch from ubuntu server 16.04 to debian stretch.
So I followed the procedure
https://www.wapt.fr/fr/doc/waptserver_u ... erver.html
Upon execution of the commandI obtained a dump folder which I saved.
It contains an empty admin folder and a wapt folder with the following files:
hosts.bson hosts.metadata.json system.indexes.bson
I then backed up the packages as instructed and installed a clean version of the Debian server and then Wapt Server version 1.3.13.0
I restored the contents of the wapt and wapt-host folders in the www/ folder.
So far, everything has gone well.
I'm having a problem restoring the MongoDB database:
I go to the location where I saved the previously created dump folder and execute the command
gives me the error
Is there an error in my procedure?
THANKS
waptserveur 1.3.13.0
Good morning,
To migrate to version 1.5 of wapt I had to switch from ubuntu server 16.04 to debian stretch.
So I followed the procedure
https://www.wapt.fr/fr/doc/waptserver_u ... erver.html
Upon execution of the command
Code: Select all
mongodumpIt contains an empty admin folder and a wapt folder with the following files:
hosts.bson hosts.metadata.json system.indexes.bson
I then backed up the packages as instructed and installed a clean version of the Debian server and then Wapt Server version 1.3.13.0
I restored the contents of the wapt and wapt-host folders in the www/ folder.
So far, everything has gone well.
I'm having a problem restoring the MongoDB database:
I go to the location where I saved the previously created dump folder and execute the command
Code: Select all
mongorestore /root/wapt.dumpCode: Select all
Failed: mongorestore target '/root/wapt.dump' invalid: stat /root/wapt.dump: no such file or directoryTHANKS