Error with restore of configurations, cdr and voicemail

29 views
Skip to first unread message

Jean-Francois Aubin

unread,
Oct 23, 2022, 9:42:35 PM10/23/22
to sipxcom-users
Hi, i have made a new centos 7 VM, when i try to restore voicemail.tar.gz  configuration.tar.gz  cdr.tar.gz from my old server centos6, i receive this error:

/usr/bin/sipx-archive:198:in `block (2 levels) in run': RESTORE cannot INITIATE: Could not collect backup from host 10.103.1.11 (RuntimeError)
        from /usr/bin/sipx-archive:194:in `each'
        from /usr/bin/sipx-archive:194:in `block in run'
        from /usr/bin/sipx-archive:190:in `each'
        from /usr/bin/sipx-archive:190:in `run'
        from /usr/bin/sipx-archive:568:in `<main>'
/usr/bin/sipxagent-log-reader:18:in `match': invalid byte sequence in UTF-8 (ArgumentError)
       from /usr/bin/sipxagent-log-reader:18:in `parse'
        from /usr/bin/sipxagent-log-reader:33:in `digest'
        from /usr/bin/sipxagent-log-reader:83:in `analyze'
        from /usr/bin/sipxagent-log-reader:113:in `<main>'

Regards
J-F

Iuliu Blaga

unread,
Oct 24, 2022, 1:31:50 AM10/24/22
to Jean-Francois Aubin, sipxcom-users
You restored via command line or GUI?
--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipxcom-users/77d7379e-d5b3-45a4-ac68-1dc190ed807en%40googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

Jean-Francois Aubin

unread,
Oct 24, 2022, 9:12:00 AM10/24/22
to sipxcom-users
Via gui. 
Do you have the one liner for restoring with command line?


On Monday, October 24, 2022 at 1:31:50 AM UTC-4 ibl...@coredial.com wrote:
You restored via command line or GUI?

On Monday, October 24, 2022, Jean-Francois Aubin <jfa...@gmail.com> wrote:
Hi, i have made a new centos 7 VM, when i try to restore voicemail.tar.gz  configuration.tar.gz  cdr.tar.gz from my old server centos6, i receive this error:

/usr/bin/sipx-archive:198:in `block (2 levels) in run': RESTORE cannot INITIATE: Could not collect backup from host 10.103.1.11 (RuntimeError)
        from /usr/bin/sipx-archive:194:in `each'
        from /usr/bin/sipx-archive:194:in `block in run'
        from /usr/bin/sipx-archive:190:in `each'
        from /usr/bin/sipx-archive:190:in `run'
        from /usr/bin/sipx-archive:568:in `<main>'
/usr/bin/sipxagent-log-reader:18:in `match': invalid byte sequence in UTF-8 (ArgumentError)
       from /usr/bin/sipxagent-log-reader:18:in `parse'
        from /usr/bin/sipxagent-log-reader:33:in `digest'
        from /usr/bin/sipxagent-log-reader:83:in `analyze'
        from /usr/bin/sipxagent-log-reader:113:in `<main>'

Regards
J-F

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.

Iuliu Blaga

unread,
Oct 24, 2022, 9:14:01 AM10/24/22
to Jean-Francois Aubin, sipxcom-users
Please restore the configuration only first, then send profiles and reboot


On Monday, October 24, 2022, Jean-Francois Aubin <jfa...@gmail.com> wrote:
Via gui. 
Do you have the one liner for restoring with command line?


On Monday, October 24, 2022 at 1:31:50 AM UTC-4 ibl...@coredial.com wrote:
You restored via command line or GUI?

On Monday, October 24, 2022, Jean-Francois Aubin <jfa...@gmail.com> wrote:
Hi, i have made a new centos 7 VM, when i try to restore voicemail.tar.gz  configuration.tar.gz  cdr.tar.gz from my old server centos6, i receive this error:

/usr/bin/sipx-archive:198:in `block (2 levels) in run': RESTORE cannot INITIATE: Could not collect backup from host 10.103.1.11 (RuntimeError)
        from /usr/bin/sipx-archive:194:in `each'
        from /usr/bin/sipx-archive:194:in `block in run'
        from /usr/bin/sipx-archive:190:in `each'
        from /usr/bin/sipx-archive:190:in `run'
        from /usr/bin/sipx-archive:568:in `<main>'
/usr/bin/sipxagent-log-reader:18:in `match': invalid byte sequence in UTF-8 (ArgumentError)
       from /usr/bin/sipxagent-log-reader:18:in `parse'
        from /usr/bin/sipxagent-log-reader:33:in `digest'
        from /usr/bin/sipxagent-log-reader:83:in `analyze'
        from /usr/bin/sipxagent-log-reader:113:in `<main>'

Regards
J-F

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipxcom-users/02bcef9f-72d6-4acd-ab60-618a79e032aen%40googlegroups.com.

Jean-Francois Aubin

unread,
Oct 24, 2022, 11:17:36 AM10/24/22
to sipxcom-users
Hi, what do you say by send profiles? send to all 350 phones?

On Monday, October 24, 2022 at 9:14:01 AM UTC-4 ibl...@coredial.com wrote:
Please restore the configuration only first, then send profiles and reboot

On Monday, October 24, 2022, Jean-Francois Aubin <jfa...@gmail.com> wrote:
Via gui. 
Do you have the one liner for restoring with command line?


On Monday, October 24, 2022 at 1:31:50 AM UTC-4 ibl...@coredial.com wrote:
You restored via command line or GUI?

On Monday, October 24, 2022, Jean-Francois Aubin <jfa...@gmail.com> wrote:
Hi, i have made a new centos 7 VM, when i try to restore voicemail.tar.gz  configuration.tar.gz  cdr.tar.gz from my old server centos6, i receive this error:

/usr/bin/sipx-archive:198:in `block (2 levels) in run': RESTORE cannot INITIATE: Could not collect backup from host 10.103.1.11 (RuntimeError)
        from /usr/bin/sipx-archive:194:in `each'
        from /usr/bin/sipx-archive:194:in `block in run'
        from /usr/bin/sipx-archive:190:in `each'
        from /usr/bin/sipx-archive:190:in `run'
        from /usr/bin/sipx-archive:568:in `<main>'
/usr/bin/sipxagent-log-reader:18:in `match': invalid byte sequence in UTF-8 (ArgumentError)
       from /usr/bin/sipxagent-log-reader:18:in `parse'
        from /usr/bin/sipxagent-log-reader:33:in `digest'
        from /usr/bin/sipxagent-log-reader:83:in `analyze'
        from /usr/bin/sipxagent-log-reader:113:in `<main>'

Regards
J-F

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.

Iuliu Blaga

unread,
Oct 24, 2022, 12:44:21 PM10/24/22
to Jean-Francois Aubin, sipxcom-users
To server(s)
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sipxcom-users/1675acb0-4548-4b2b-a5ee-663cf0f5bfffn%40googlegroups.com.

Jean-Francois Aubin

unread,
Oct 24, 2022, 1:59:18 PM10/24/22
to sipxcom-users
Nice, thanks.

I try off hour  and i keep in touch.
Also, it is possible to give me command line for take backup and made restore? 

Regards!

J-F

To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.


--

 

Iuliu Blaga
Sr. Support Engineer
 
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.

--
You received this message because you are subscribed to the Google Groups "sipxcom-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sipxcom-user...@googlegroups.com.

Iuliu Blaga

unread,
Oct 24, 2022, 3:49:52 PM10/24/22
to Jean-Francois Aubin, sipxcom-users
Hi, I recommend you use the portal!

Usage: /usr/bin/ouc-sipxconfig-archive parameters
Create or restore configuration to/from an archive file.
Backup options:
 --verbose Restore the specified Configuration archive.
Restore options:
 --backup <archive> Backup Configuration archive.
 --restore <archive> Restore the specified Configuration archive.
 --no-device-files Do not include device uploaded files in backup.
 --tmp-dir <tmp-dir> Temporary backup file location
 --ipaddress <address> IP Address. Default 10.100.149.34.
 --domain <domain> SIP domain for new system. i.e. example.org. Default is to keep domain from archive
 --fqdn <fqdn of primary machine>
 Set FQDN of this primary machine
 --dryrun Don't actually restore db, but test the db migration process.
 --reset-pin default-pin Blindly reset all pins to given pin.
 --reset-password default-password
 Blindly reset all user portal passwords. Password is also used for IM and call center.
 --crack-pin default-pin When changing the domain and when restoring from backups for versions 4.4.0, attempt to recover original Voicemail PIN by brute force. If unsuccessful, reset users pin. Also, if user does not have an IM password, this pin will be used for that as well.
 --crack-passwd default-passwd
 When changing the domain and when restoring from backups for versions 4.4.0, attempt to recover original user PIN by brute force. If unsuccessful, reset users pintoken. Also, if user does not have an IM password, this pin will be usedfor that as well.
 --crack-pin-len length Maximum length of PIN to attempt. Default is 4. Higher values take exponentially more time.
 --no-restart Use this flag if sipxconfig is already stopped and you do not want this script to re-stop or start sipxconfig after it's done.
 --email-notifications Use this flag if you want to inform the users about their system accounts creation.

ouc-sipxconfig-archive --backup configuration.tar.gz --verbose

Voicemail

Usage:  /usr/bin/openucivr-archive
Create or restore configuration to/from an archive file.
 --backup <archive> Backup to the specified file.
 --restore <archive> Restore from the specified file.
 --tmp-dir <tmp-dir> Temporary backup file location
 --verbose Show each command that is run.
Restore options:
 --no-restart Use this flag if sipxconfig is already stopped and you do not want this script to re-stop or start sipxconfig after it's done.

openucivr-archive --backup voicemail.tar.gz --verbose

CDR
/usr/bin/sipxcdr-archive --backup cdr.tar.gz --tmp-dir /var/sipxdata/tmp



Reply all
Reply to author
Forward
0 new messages