I talk backups all the time. I've been a senior advisor for multiple of the big backup players over the years and now my company builds its own backup systems for our own products. So we think about backups all the time.
I did disable the option in the API-write module, and now it's working in a shell terminal when I send the above CURL command.
But when I try to use CURL in HTTPS within my PHP program,
I get this message (401) : A valid login session was not found. Please log in and try again.
I don't understand why I get this message, because :
I'm sending the Master token in the Header by calling the PHP function curl_setopt with the option CURLOPT_HTTPHEADER
I try to send the credentials (login/password) by calling the PHP function curl_setopt with the option CURLOPT_USERPWD and login/password.
A few doubts,
Copy files from folder to which we have installed ?
The github repo, so you'd have a folder called nodebb with all of the nodebb files in, then a folder called nodebb2, which also contains all the nodebb files.
Share the command to change port no. please..
./nodebb setup, but change :4567 to something else.
How to assign new folder / installation to database 2 ?
You answered this in your next post, change the 0 in database to 1.
Should we run ./nodebb setup after copying the files ( installed ? ) to a new folder ?
You will need to yes in order to set it up, you'll also need to run npm install to get the dependencies installed in that location.