1
MiVoice Office 250/Mitel 5000 / Automate backups via command line?
« on: September 19, 2024, 09:54:24 AM »
I noticed there was a task scheduled to run weekly which backs up one of our locations (let's call it "Site A"), but not the other ("Site B"). The command for it is:
Ok great, I'll copy that, throw it in a script, and do the same for Site B, so the script looks like this:
Before I explain the problem, let me note that when I do full backups manually (via GUI), each location is roughly 30 MB.
So anyway I run the script, everything goes fine, Site A gets created/saved, and is ~30 MB, but Site B is only ~1 MB, which is indicative of database backup with no voice... despite the command being identical to Site A and Site A seemingly being a full backup?
As per usual I can find absolutely nothing of this command and its optional flags on the internet. Anyone have any experience with this?
Code: [Select]
"C:\Program Files (x86)\Mitel\5000\CS5000SessMngr.exe" /service=save /session="Site A" /displayname="Site A"
Ok great, I'll copy that, throw it in a script, and do the same for Site B, so the script looks like this:
Code: [Select]
<create destination folders elsewhere>
"C:\Program Files (x86)\Mitel\5000\CS5000SessMngr.exe" /service=save /session="Site A" /displayname="Site A"
"C:\Program Files (x86)\Mitel\5000\CS5000SessMngr.exe" /service=save /session="Site B" /displayname="Site B"
<move the .m5k files to destination folders>
Before I explain the problem, let me note that when I do full backups manually (via GUI), each location is roughly 30 MB.
So anyway I run the script, everything goes fine, Site A gets created/saved, and is ~30 MB, but Site B is only ~1 MB, which is indicative of database backup with no voice... despite the command being identical to Site A and Site A seemingly being a full backup?
As per usual I can find absolutely nothing of this command and its optional flags on the internet. Anyone have any experience with this?