since there are very different procedures with openuc, i'll let ezuce
handle this.

I imagine you have the system all updated and have made sure servies are
running and mongo is too first, right?



On Thu, Sep 13, 2012 at 4:22 PM, <[email protected]> wrote:

> 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...
>
> [root@sipx01 ~]# /usr/bin/openucivr-archive --restore
> /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
> [root@sipx01 ~]#
>
> Which makes sense because the tarball doesn't contain dump/vmdb/*bson as
> it expects.
>
> If I run sipxivr-archive...
>
> [root@sipx01 ~]# /usr/bin/sipxivr-archive --restore
> /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  ]
> [root@sipx01 ~]# find /var -type f -name '*wav'
> /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
>
> ------------------------------
> *From: *"Douglas Hubler" <[email protected]>
>
> *To: *"Discussion list for users of sipXecs software" <
> [email protected]>
> *Sent: *Thursday, September 13, 2012 4:01:58 PM
>
> *Subject: *Re: [sipx-users] 4.4.0 to 4.4.6
>
> On Thu, Sep 13, 2012 at 1:57 PM, andrewpitman <[email protected]>
> wrote:
> >
> >
> > It 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
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>
> _______________________________________________
> sipx-users mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipx-users/
>



-- 
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

Using or developing for sipXecs from SIPFoundry? Ask me about sipX-CoLab
2013!
<http://sipxcolab2013.eventbrite.com/?discount=tony2013>

-- 
LAN/Telephony/Security and Control Systems Helpdesk:
Telephone: 434.984.8426
sip: [email protected]

Helpdesk Customers: http://myhelp.myitdepartment.net
Blog: http://blog.myitdepartment.net
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to