Follow

How to manually backup/restore MongoDB or run as a scheduled task on Windows

Product: ProfileUnity-FlexApp

Product Version: 6.5

Expires on: 365 days from publish date

Updated: Oct 8, 2015

 

Problem:

How to manually backup/restore MongoDB. These commands can be run manually or added to a .cmd and run via Scheduled task on the ProfileUnity Server.

 

Symptoms:

 

 

Possible Resolution(s):

 

Backup

1st cmd

net stop ProfileUnity

net stop FlexDiskService

net stop MongoDB

 

xcopy /e/k/o/r/y "C:\Program Files\MongoDB" \\server\share\ProU\MongoDB

 

 

net start MongoDB

net start FlexDiskService

net start ProfileUnity

 

Restore

2nd cmd

net stop ProfileUnity

net stop FlexDiskService

net stop MongoDB

 

xcopy /e/k/o/r/y  \\server\share\ProU\MongoDB "C:\Program Files\MongoDB"

 

net start MongoDB

net start FlexDiskService

net start ProfileUnity

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.