since there are very different procedures with openuc, i'll let ezuce
handle this.
Right, it uploaded fine and didn't give me any errors. I guess what I
needed to know is can I restore sipxecs 4.4.0 voicemail to an openuc 4.6.0
system?
If I run openucivr-archive...
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -zxvf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz -C /tmp dump
tar: dump: Not found in archive
tar: Exiting with failure status due to previous errors
/usr/bin/openucivr-archive:55:in `run': Failed to extract voicemail
database from archive (RuntimeError)
from /usr/bin/openucivr-archive:112
Which makes sense because the tarball doesn't contain dump/vmdb/*bson as it expects.
If I run sipxivr-archive...
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz --verbose
tar -tzf /var/sipxdata/backup/local/201209131417/voicemail.tar.gz version
version
/etc/init.d/sipxivr stop
Stopping sipxivr: [FAILED]
tar -xz --exclude=version -C /var/sipxdata/../.. -f
/var/sipxdata/backup/local/201209131417/voicemail.tar.gz
/etc/init.d/sipxivr start [ OK ]
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-FW.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-01.wav
/var/sipxdata/mediaserver/data/mailstore/6128/inbox/00000191-00.wav
/var/sipxdata/mediaserver/data/mailstore/6243/inbox/00000306-01.wav
...
Which is obviously not what I want.
Andy
------------------------------
*To: *"Discussion list for users of sipXecs software" <
*Sent: *Thursday, September 13, 2012 4:01:58 PM
*Subject: *Re: [sipx-users] 4.4.0 to 4.4.6
Post by andrewpitmanIt looks like I'm a little late to this party. I've been
able to successfully restore my 4.4 configuration to a fresh
4.6 system, but for some reason the voicemail restore
doesn't seem to be working.
Is the restore in 4.6's sipxconfig able to take a 4.4
tarball with the flat files from
/var/sipxdata/mediaserver/data/mailstore and put them into
mongodb gridfs, or am I doing something wrong?
In OpenUC it reads into mongo, in sipXecs it expands onto disk.
You uploaded the fine to UI, but It is that you receive no errors in
UI upon restore?
There's CLI option too
sipxecs
sipxivr-archive --restore your-tar-file.tgz
openuc
openucivr-archive --restore your-tar-file.tgz
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/
_______________________________________________
sipx-users mailing list
List Archive: http://list.sipfoundry.org/archive/sipx-users/