Open bmordan opened 8 years ago
/tmp
scp -r root@hostname:/tmp/dump ~/Desktop
mongorestore /path/to/dump --drop
/tmp
dirscp -r root@hostname:/tmp/dump ~/Desktop
(this copies the dump folder over ssh onto your desktop)mongorestore /path/to/dump --drop