Host Transfer?
-
-
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?
-
Shouldn't you run
BGSAVE
on redis first? -
@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.
Copyright © 2024 NodeBB | Contributors