ALERT NEW Incredible Backup Required

Discussion in 'Today's Tech News & Events' started by wardmundy, Feb 27, 2019.

  1. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    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.
     
    #1 wardmundy, Feb 27, 2019
    Last edited: Feb 27, 2019
  2. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    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.
     
    #2 wardmundy, Feb 27, 2019
    Last edited: Feb 27, 2019
  3. kyle95wm

    kyle95wm Phone Genius Owner

    Joined:
    Apr 16, 2016
    Messages:
    481
    Likes Received:
    86
    Apparently, I can't open the "binary" file, even though it's clearly a shell script.
     
  4. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    Which file??
     
  5. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    Try a fresh download:
    Code:
    cd /root
    wget http://incrediblepbx.com/incrediblebackup13.tar.gz
    tar zxvf incrediblebackup13.tar.gz
    rm -f incrediblebackup13.tar.gz
     
  6. kenn10

    kenn10 Guru-ish

    Joined:
    Dec 16, 2007
    Messages:
    814
    Likes Received:
    128
    @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]:~ $
    
     
  7. mainenotarynet

    mainenotarynet Not really a Guru - Just a long time user

    Joined:
    May 29, 2010
    Messages:
    595
    Likes Received:
    72
    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.
     
  8. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    My apologies. Not sure what came unglued, but it should be working now. Just download one more time.

    Hyphen with zxvf not required.
     
    kenn10 likes this.
  9. kyle95wm

    kyle95wm Phone Genius Owner

    Joined:
    Apr 16, 2016
    Messages:
    481
    Likes Received:
    86
    Works now, thanks! Also, you might wanna look at the COPYING file again. It shouldn't have shell-script stuff in it.
     
  10. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    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.
     
  11. kdthomas

    kdthomas Member

    Joined:
    May 13, 2016
    Messages:
    57
    Likes Received:
    11
    "70 new FreePBX modules" - New as in never before released? New or updated modules?
     
  12. wardmundy

    wardmundy Nerd Uno

    Joined:
    Oct 12, 2007
    Messages:
    14,782
    Likes Received:
    2,526
    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: