ALERT NEW Incredible Backup Required

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
For those of you that have installed the 70 new FreePBX modules for Incredible PBX 13-13, be advised that the old incrediblebackup and incrediblerestore scripts will no longer work. The reason is because FreePBX now uses some InnoDB tables which means that copying MySQL databases directly from disk is no longer reliable.

New versions of Incredible Backup and Restore are now available. Installation instructions are available here. These new scripts will work with BOTH old and newer versions of Incredible PBX so they are worth installing whether you have loaded the new FreePBX modules or not.

ALERT: If you installed this update before 9:55 am EST on Feb. 27, 2019, please reinstall. Apologies for late-minute bug in restore script only.
 
Last edited:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
We've successfully tested migrating a CentOS 6 Incredible PBX 13-13.10 Full Enchilada OpenVZ build in the Cloud to a CentOS 6 base install of Incredible PBX 13-13.10 running on VirtualBox. Simply create /backup folder on new platform and copy backup image there. Then run /root/incrediblerestore13. No anomalies.

NOTE: This procedure cannot be used to migrate from FreePBX 12 to newer FreePBX 13 platform! Versions of Asterisk and FreePBX must match on old and new platforms.
 
Last edited:

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
Apparently, I can't open the "binary" file, even though it's clearly a shell script.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Try a fresh download:
Code:
cd /root
wget http://incrediblepbx.com/incrediblebackup13.tar.gz
tar zxvf incrediblebackup13.tar.gz
rm -f incrediblebackup13.tar.gz
 

kenn10

Well-Known Member
Joined
Dec 16, 2007
Messages
3,764
Reaction score
2,173
@wardmnudy : No worky.

Code:
root@kenn10:~ $ wget http://incrediblepbx.com/incrediblebackup13.tar.gz
--2019-03-01 10:32:40--  http://incrediblepbx.com/incrediblebackup13.tar.gz
Resolving incrediblepbx.com... 104.206.96.21
Connecting to incrediblepbx.com|104.206.96.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8794 (8.6K) [application/x-gzip]
Saving to: `incrediblebackup13.tar.gz'

100%[===================================================================================================================>] 8,794       --.-K/s   in 0s

2019-03-01 10:32:40 (615 MB/s) - `incrediblebackup13.tar.gz' saved [8794/8794]

WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $ tar zxvf incrediblebackup13.tar.gz
COPYING
incrediblebackup13
incrediblerestore13
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $ rm -f incrediblebackup13.tar.gz
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $ ./incrediblebackup13
-bash: ./incrediblebackup13: cannot execute binary file
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
tar zxvf incrediblebackup13.tar.gz -- I think this should be

tar -zxvf incrediblebackup13.tar.gz note the hyphen before the zxvf

What I think you did was tarred a blank file instead of untarring what you needed.

As Ward said try it again, but watch the tar command.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
@wardmnudy : No worky.

Code:
root@kenn10:~ $ wget http://incrediblepbx.com/incrediblebackup13.tar.gz
--2019-03-01 10:32:40--  http://incrediblepbx.com/incrediblebackup13.tar.gz
Resolving incrediblepbx.com... 104.206.96.21
Connecting to incrediblepbx.com|104.206.96.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8794 (8.6K) [application/x-gzip]
Saving to: `incrediblebackup13.tar.gz'

100%[===================================================================================================================>] 8,794       --.-K/s   in 0s

2019-03-01 10:32:40 (615 MB/s) - `incrediblebackup13.tar.gz' saved [8794/8794]

WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $ tar zxvf incrediblebackup13.tar.gz
COPYING
incrediblebackup13
incrediblerestore13
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $ rm -f incrediblebackup13.tar.gz
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $ ./incrediblebackup13
-bash: ./incrediblebackup13: cannot execute binary file
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
root@kenn10:~ $

My apologies. Not sure what came unglued, but it should be working now. Just download one more time.

Hyphen with zxvf not required.
 

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
Works now, thanks! Also, you might wanna look at the COPYING file again. It shouldn't have shell-script stuff in it.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
Works now, thanks! Also, you might wanna look at the COPYING file again. It shouldn't have shell-script stuff in it.

What a mess. All fixed now with a number of last minute improvements to support fault-tolerance... coming next week with a little luck.

Just reinstall.
 

kdthomas

Member
Joined
May 13, 2016
Messages
57
Reaction score
11
"70 new FreePBX modules" - New as in never before released? New or updated modules?
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,168
Reaction score
5,199
"70 new FreePBX modules" - New as in never before released? New or updated modules?

You're in the wrong thread, but they're new as in never before integrated into Incredible PBX. FreePBX obviously didn't update all of them overnight. :cheers2:
 

nateornat

Member
Joined
May 15, 2009
Messages
100
Reaction score
9
I'm sure im doing something wrong here, but when i do the incredible backup 13 it goes good and i get the backup file, move it to the remote server and put it in a /backup/RH-2019.08.15.20.46-A13.24.1-F13.0-I13-13.10.tar.gz and then run the following command, it doesn't go anywhere. Just get the message displayed below.
Can anyone assist here?
Thanks

Code:
root@kong:/ $ /root/incrediblerestore13
BY USING INCREDIBLE RESTORE, 13 YOU AGREE TO ASSUME ALL RESPONSIBILITY
FOR USE OF THE PROGRAMS INCLUDED IN THIS INSTALLATION. NO WARRANTIES
EXPRESS OR IMPLIED INCLUDING MERCHANTABILITY AND FITNESS FOR PARTICULAR
USE ARE PROVIDED. YOU ASSUME ALL RISKS KNOWN AND UNKNOWN AND AGREE TO
HOLD WARD MUNDY, WARD MUNDY & ASSOCIATES LLC, NERD VITTLES, AND THE PBX
IN A FLASH DEVELOPMENT TEAM HARMLESS FROM ANY AND ALL LOSS OR DAMAGE
WHICH RESULTS FROM YOUR USE OF THIS SOFTWARE. IF ANY OF THESE TERMS
AND CONDITIONS ARE RULED TO BE UNENFORCEABLE, YOU AGREE TO ACCEPT ONE
DOLLAR IN U.S. CURRENCY AS COMPENSATORY AND PUNITIVE LIQUIDATED DAMAGES
FOR ANY AND ALL CLAIMS YOU AND ANY USERS OF THIS SOFTWARE MIGHT HAVE.

Incredible Restore restores a snapshot of a VoIP server.
Asterisk, MySQL, and Apache are OFF LINE during restore.

WARNING: EXISTING FREEPBX CONFIGURATION WILL BE ERASED.
WARNING: EXISTING MYSQL & ASTERISK DATA WILL BE ERASED.

Restore to server with same Asterisk + FreePBX version.
If used, reload IncrediblePBX on server before restore.
Backup file shows DATETIME-Asterisk-FreePBX-Incredible.
Move backup to /backup on this server before restore.
Usage: incrediblerestore [/backup/FILENAME.tar.gz]
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
The answer is in front of you.

you entered --- /root/incrediblerestore13

the script is telling you to use --- /root/incrediblerestore13 /backup/RH-2019.08.15.20.46-A13.24.1-F13.0-I13-13.10.tar.gz

as an example run /root/add-ip -- this script need parameters too like the name you want to call the file and the IP (/root/add-ip myhome 12.34.56.78)

I have never tried incredible backup (or restore) myself -- never got the freepbx one to work [didn't understand it]) and with the size of my extensions list and all my custom greetings, voicemail greetings, custom IVRs, MOH, etc. would the Incredible Backup/restore save all of this or just the basics (extensions, DIDS, Trunks).

Mr Ward, in the script text if usage is still showing as incrediblebackup (or incrediblerestore) instead of the 13 versions of the command, should this not be updated to reflect the new command?
 

nateornat

Member
Joined
May 15, 2009
Messages
100
Reaction score
9
The answer is in front of you.

you entered --- /root/incrediblerestore13

the script is telling you to use --- /root/incrediblerestore13 /backup/RH-2019.08.15.20.46-A13.24.1-F13.0-I13-13.10.tar.gz

as an example run /root/add-ip -- this script need parameters too like the name you want to call the file and the IP (/root/add-ip myhome 12.34.56.78)

I have never tried incredible backup (or restore) myself -- never got the freepbx one to work [didn't understand it]) and with the size of my extensions list and all my custom greetings, voicemail greetings, custom IVRs, MOH, etc. would the Incredible Backup/restore save all of this or just the basics (extensions, DIDS, Trunks).

Mr Ward, in the script text if usage is still showing as incrediblebackup (or incrediblerestore) instead of the 13 versions of the command, should this not be updated to reflect the new command?


You are correct. Thats was it. thanks!
 

Members online

No members online now.

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top