and MongoDB tells:
[Thread1] SyntaxError: Missing ; before statement @<shell>:1:10
Host Transfer?
-
If there is any tutorials on transferring into new host?
I was trying to link my backup file (dump.rdp / uploads folder) with fresh setup nodebb on new host but nothing happen.
-
-
When using Redis, all of the data lives in Redis, plus the
public/uploads
folder.- Zip all that up:
tar -czf nodebb.tar.gz -C /path/to/redis/dumps dump.rdb -C /path/to/nodebb/public uploads
- Transfer it to a new server
- On new server, stop redis:
service redis-server stop
- Uncompress and copy
dump.rdb
over the existing db, restore theuploads/
folder - Start redis.
- Zip all that up:
-
Thank you guys, anyway can I use filezilla instead of
tar
commands to transfer files into another host?EDIT: i mean transfer files without compressing via tar commands?
-
Yes, no reason that wouldn't work
-
I managed to migrate BitBangers from one server to another with 0 downtime. We use Mongo though.
Felt good man. -
@Scuzz said:
I managed to migrate BitBangers from one server to another with 0 downtime. We use Mongo though.
Felt good man.Number 1 Admin EU.
-
Shouldn't you run
BGSAVE
on redis first? -
@a_5mith *UK
-
-
@a_5mith Not for long if UKIP get their way...
-
@Scuzz I try and avoid politics whenever possible. I've seen far too many arguments regarding one parties policies over the other. I do agree that the NHS shouldn't be privatised however. It will turn into the American Healthcare system if that were to happen. Although interestingly enough a friend of mine lives in Australia and got a job workin the G20 summit last week. Shared the lift with a couple of prime ministers, including our own David Cameron.