Changes

Jump to navigation Jump to search
454 bytes added ,  11:52, 26 April 2016
m
Line 203: Line 203:  
==Backup Rocket.Chat==
 
==Backup Rocket.Chat==
 
{{Note box|Please note that this section is experimental. Somebody with more extensive knowledge of MongoDB may help here.}}
 
{{Note box|Please note that this section is experimental. Somebody with more extensive knowledge of MongoDB may help here.}}
 +
 +
To be able to backup Rocket.Chat data with the default SME Server backup mechanisms, the data should be available within the backup paths. In this case we will place the Rocket.Chat backup data in /home/e-smith/files.
 +
 +
To dump the Rocket.Chat data:
 +
mongodump --dumpDbUsersAndRoles -d rocketchat -o /home/e-smith/files
 +
and to restore the Rocket.Chat data:
 +
mongorestore --restoreDbUsersAndRoles -d rocketchat -dir /home/e-smith/files/rocketchat --quiet
    
==Remove Rocket.Chat==
 
==Remove Rocket.Chat==

Navigation menu