Prior to this procedure, perform an ESM backup without saving voicemail messages.
Procedure Summary
 A. To back up voicemail message in vmail/backup manually
 B. Ftp voicemail backup message from vmail/backup
 C. Ftp voicemail backup message to vmail/restore
 D. Restore voicemail message in vmail/restore
Step A: To back up voicemail message in vmail/backup manually
 Step A1: Connect one of your PC com port to RTC shell (Maintenance port of 3300, 9600,8N1)
 All commands list in Step A. below are issued from RTC shell.
 Step A2: Type: lkup "mui_perform_backup"
 System should respond as follows:
 mui_perform_backup_restore 0x015d5418 text
 Identify this hex number and save for the use in Step A3: (in this example, 0x015d5418)
 Note: This hex number is load-dependent and will be different between software loads.
 Step A3: To create a backup folder within vmail and then backup all voicemail in vmail/backup folder
 Type: cd ?/vmail?
 Type: mkdir ?backup?
 Type: 0x015d5418(0,2,?/vmail/backup?) 0x015d5418 is JUST an example
 Use the hex number observed in Step A2.
 System should respond as follows:
Starting backup processing...
Backup in progress...
Backup complete.
Backup processing complete
value = 0 = 0x0
 Note: This may take a few while to observe ?Backup complete? message depending on the size of voicemail messages.
Step B: Ftp out all of voicemail files from /vmail/backup into your PC
 The following commands are typed on the PC
 Step B1: Open a DOS prompt and create backup directory (e.g. c:\vmback)
 Step B2: On DOS prompt, type:
 Cd c:\vmback --------this is an example and you can use your own directory
 ftp <ip address of 3300 controller>
 Then log in with ESM username and password when prompted
 Cd /vmail/backup
 Binary
 Prompt
 Mget *.*
 bye
 Note: It may take a while to transfer of all files.
 Basically, you should see the similar files in your backup as follows:
 The exact number of files varies from site to site but make sure that you have transferred all files from /vmail/backup.
 This file content below is only for your reference.
0000MASTER.DAT
 0000PARM.BIN
 0a00voxdrv.cfg
 0901pday.vox
 0000CALENDAR.DAT
 0000gadmin000.lst
 0000gadmin001.lst
 0000gadmin002.lst
 0000gadmin003.lst
 0000gadmin001.nam
 0000gadmin002.nam
 0000gadmin003.nam
 0800gadmin000.vox
 0000g3479050.lst
 0000g3847999.lst
 0000g4234999.lst
 0000g2518999.lst
 ?..
 0000g3862999.lst
 0000g5117999.lst
 0000g4641999.lst
 0000g2190999.lst
 0000g5110999.lst
0600.tar
0400.tar
0500.tar
0300.tar
0200.tar
Step C: Ftp in all voicemail files in /vmail/restore
 Step C1: To create a restore folder within vmail
 On RTC shell,
 Type: cd "/vmail"
 Type: mkdir "restore"
 Step C2: From your backup PC, open a DOS prompt and go to backup directory defined in Step B1 (e.g. c:\vmback)
 Step C3: Ftp in all voicemail files obtained in Step B2
 On DOS prompt, type:
 Cd c:\vmback --------this is an example and should be same in Step B2.
 ftp <ip address of 3300 controller>
 Then log in with ESM username and password when prompted
 Cd /vmail/restore
 Binary
 Prompt
 Mput *.*
 bye
 Note: It may take a while to transfer all files.
Step D: To restore all voicemail message from /vmail/restore
 Step D1: Connect one of your PC com port to RTC shell (Maintenance port of 3300, 9600,8N1)
 All commands list in Step E. below are issued from RTC shell.
 Step D2: Type: lkup "mui_perform_backup"
 System should respond as follows:
 mui_perform_backup_restore 0x015d5418 text
 Identify this hex number and save for the use in Step E3: (in this example, 0x015d5418)
 Note: Typically, we should restore to the same software load. In this example, it should be the same hex number as in Step A2
 Step D3 : To restore
 Type: 0x015d5418(1,2,"/vmail/restore") ---->this is the hex from Step E2
 Note: Please do not get alarmed when you notice that some files are being deleted during restore as follows:
 deleting file grp/3038/V41400f86.0a9
 deleting file grp/3038/V42160a5d.023
 deleting directory grp/3642
 deleting file grp/3642/V4250f586.001
 deleting file grp/3642/V4264fd8b.04c
 deleting directory grp/3086
 ...
 Backup complete.
 Backup processing complete
 value = 0 = 0x0
 The voicemail will stop and start on it's own when the backup /restore is done. For a successful backup and restore the VM will return value =0 =0x0 as above.
This is the doc, finding what you need for restore shouldn't be that hard. Extract the needed info, copy to a known location that is easy to get to via command line, find entry point and then restore.
After i would reboot