🌱 planting ideas 🌱

Backup and restore an adapt authoring instance

1
2
3
4
5
6
7
8
9
10
11
12
13
zip -r * app/* -x\app/bower_components/* -x\node_modules/* -x*.zip


zip -r customadapt.zip ./custom_adapt/* -x "*.git*" -x
"**/node_modules/*"

mongodump
zip -r adaptdata.zip ./adapt-tenant-master/*

mongorestore --db adapt-tenant-master --drop ./adapt-tenant-master