Make back-up > New fresh install > recover posts, users and data
-
@MJ I've asked in other posts for some type of user/content export similar to wp that can then be imported into a fresh install but didn't get any response so I assume it doesn't exist. It would be nice to have. We will have to wait. Sadly it seems development has slow to a crawl while others are moving ahead.
-
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.