Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

How to backup ubuntu snap installation

Open d-sko opened this issue 10 years ago • 6 comments

Your Rocket.Chat version: snap rocketchat-server 0.43.0 rev. 88

Hello, how can I do a backup of rocket.chat? I have not found informations on how to do this with a snap installation.

d-sko avatar Oct 21 '16 10:10 d-sko

Hello. Easiest way is to backup your /var/snap/rocketchat-server directory.

marceloschmidt avatar Oct 25 '16 12:10 marceloschmidt

Thank you for the answer, should I stop any services or something before doing this (to prevent files being locked or something like that)?

d-sko avatar Oct 25 '16 13:10 d-sko

That's probably a good thing to do.

marceloschmidt avatar Oct 25 '16 13:10 marceloschmidt

Hello, could you please add more info on this? Is it sufficient to do snap disable, backup, snap enable ? How can the backuped files be restored on another snap enabled server? Thank you very much.

gollum53 avatar Nov 08 '16 14:11 gollum53

Yes, how to restore the data back to some new machine, if at all the Ubuntu instance got crashed. I have one crashed version of old RocketChat which i installed manually in Ubuntu 14.04, still am not able to retrieve the data.

saigop avatar Nov 14 '16 09:11 saigop

Finally got the LDAP Working.

saigop avatar Nov 15 '16 15:11 saigop