Automatically backing up your MongoDB
Sisense uses MongoDB for storing your Sisense web environment information.
This information includes how dashboard and widgets are configured, your system's users and groups, and many other configurations. Since the web environment can regularly change, and may need to be restored, it's useful to keep regular backups of this data.
I've published a Knowledge Base article, "Automatically Backup Sisense Web Data", that shows how to use a program that will perform daily backups of this data: Please note, that this article is relevant for versions 6.7 and above.
Feel free to comment below with any questions you may have.
That's it! Happy back-uping!
-
I have script on D drive, when i run it from there it failed to switch to C drive with cmd: "C:\" and so cannot run.
This is the output:
D:\Scripts>c:\
'c:\' is not recognized as an internal or external command,
operable program or batch file.D:\Scripts>cd C:\Program Files\Sisense\Infra\MongoDB
D:\Scripts>mongodump --host localhost:27018 --db prismConfig --out C:\SisenseWeb
Backups\MongoBackup --authenticationDatabase admin -u x -p x
'mongodump' is not recognized as an internal or external command,
operable program or batch file.D:\Scripts>mongodump --host localhost:27018 --db prismWebDB --out C:\SisenseWebB
ackups\MongoBackup --authenticationDatabase admin -u x -p x
'mongodump' is not recognized as an internal or external command,
operable program or batch file.D:\Scripts>pause
Press any key to continue . . . -
Is it necessary to run 'MongoBackup.bat' or is copying (or backing up) the directories in this post good enough? https://documentation.sisense.com/latest/getting-started/backing_up_sisense.htm
------
- In Windows Services, stop the Sisense.Repository and Sisense.Discovery services.
- Open the directory:
%ProgramData%\Sisense\PrismWeb\Repository\DB - Copy the data to your backup location maintaining the same file structure.
- Open the directory:
%ProgramData%\Sisense\Infra\Discovery - Copy the data to your backup location maintaining the same file structure.
- (Optional) Back up your custom plugins by copying the directory:
C:\Program Files\Sisense\PrismWeb\plugins
Please sign in to leave a comment.
Comments
8 comments