ALERT NEW Incredible Backup Required

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,938
Reaction score
2,574
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
14,938
Reaction score
2,574
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:

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
14,938
Reaction score
2,574
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

Guru-ish
Joined
Dec 16, 2007
Messages
847
Reaction score
148
@wardmnudy : No worky.

Code:
[email protected]:~ $ 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.
[email protected]:~ $ tar zxvf incrediblebackup13.tar.gz
COPYING
incrediblebackup13
incrediblerestore13
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
[email protected]:~ $ rm -f incrediblebackup13.tar.gz
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
[email protected]:~ $ ./incrediblebackup13
-bash: ./incrediblebackup13: cannot execute binary file
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
[email protected]:~ $
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
599
Reaction score
72
Location
Bangor, ME USA
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
14,938
Reaction score
2,574
@wardmnudy : No worky.

Code:
[email protected]:~ $ 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.
[email protected]:~ $ tar zxvf incrediblebackup13.tar.gz
COPYING
incrediblebackup13
incrediblerestore13
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
[email protected]:~ $ rm -f incrediblebackup13.tar.gz
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
[email protected]:~ $ ./incrediblebackup13
-bash: ./incrediblebackup13: cannot execute binary file
WARNING: Always run Incredible PBX behind a secure hardware-based firewall.
[email protected]:~ $
My apologies. Not sure what came unglued, but it should be working now. Just download one more time.

Hyphen with zxvf not required.
 
  • Like
Reactions: kenn10

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
515
Reaction score
88
Location
Midhurst, ON, Canada
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
14,938
Reaction score
2,574
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
14,938
Reaction score
2,574
"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:
 

Members online

No members online now.

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,266
Messages
136,464
Members
14,500
Latest member
yeoldroundabout