Make back-up > New fresh install > recover posts, users and data
-
was looking for the same thing, and so far got this link. Its a way to backup/restore the entire database. So basically if you create a fresh nodebb install, with the same db name and same db user/password, it should work. Havent tried it yet though.
-
@connectkushal thank you. I´ll have a look at that. Would be nice to have some export/import function inside the admin dashboard though
-
When you change nodebb versions you will need to do
./nodebb upgrade
to update the database schema, I would do that first before backing it up and moving it to a clean install. afaik the database is located at/var/redis/6379/dump.rdb
by default. -
@connectkushal ehh,
/data/db/
is the default, but it can vary by distro, check your mongodb.conf, src -
How To Back Up and Restore Your Redis Data on Ubuntu 14.04 | DigitalOcean
Redis is an in-memory, key-value cache and store (a database, that is) that can also be persisted (saved permanently) to disk. In this article, you’ll read h…
(www.digitalocean.com)
-
@manan said in Make back-up > New fresh install > recover posts, users and data:
Error:Cannot find module mongodb
It would appear that the mongodb package is not installed. Running
npm install
again might fix it.