Drive image for upgrade

Hi,I want to upgrade from Freepbx 13 to 14. My boss wants me to have an image copy so that I can go back if anything goes wrong.

What is the best practice to do that? Any hints?

Thanks for your help!

Mike

@dicko recommends a couple of good drive backup programs. Hereā€™s one:

I would definitely try mondo, but before you commit, of course make sure it can succeed on another staging machine,Mondo works well, but currently you might get entangled if your machine/system (old or new) mangles UEFI/EFI booting

If you can afford downtime I would recommend

https://clonezilla.org/clonezilla-live.php

and cloning into a physical hard disk, This is a much safer way but slow, it is also a good idea to clonezilla into another place in the cloud as a ā€˜belt and bracesā€™ approach.

1 Like

Thanks for all your help!

I would love to install mondo and I tried, but failed. My running distro is based on CentOS 6.6 and I believe that is not supported by Mondo.

Also, we have mirrored drives (through software, not hardware). I did not install the system, so I donā€™t know how it was done. So basically I already have an immage. I just have no clue how to handle it. I could pull power to one drive but how do I later sysn that again ā€¦

http://www.mondorescue.org/ftp/rhel/6/x86_64/

Will work fine, Both clonezilla and mondo can handle software (or harware) raids just fine.

Google for mdadm recovery methods but they wont work for fake (mother board based) software arrays

What am I doing wrong?

[root@FreePBX ~]# cd /etc/yum.repos.d
[root@FreePBX yum.repos.d]# wget http://www.mondorescue.org/ftp/rhel/6/x86_64/mo ndorescue.repo
ā€“2019-06-08 10:00:25-- http://www.mondorescue.org/ftp/rhel/6/x86_64/mondorescu e.repo
Resolving www.mondorescue.orgā€¦ 185.170.48.239
Connecting to www.mondorescue.org|185.170.48.239|:80ā€¦ connected.
HTTP request sent, awaiting responseā€¦ 200 OK
Length: 201
Saving to: Ć¢mondorescue.repoĆ¢

100%[======================================>] 201 --.-K/s in 0s

2019-06-08 10:00:25 (21.0 MB/s) - Ć¢mondorescue.repoĆ¢

[root@FreePBX yum.repos.d]# cat mondorescue.repo [mondorescue]
name=rhel 6 x86_64 - mondorescue Vanilla Packages
baseurl=ftp://ftp.mondorescue.org//rhel/6/x86_64
enabled=1
gpgcheck=1
gpgkey=ftp://ftp.mondorescue.org//rhel/6/x86_64/mondorescue.pubkey
[root@FreePBX yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, kmod
Cleaning repos: base extras mondorescue pbx schmooze-commercial updates
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@FreePBX yum.repos.d]# yum install mondorescue
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Determining fastest mirrors
base | 2.0 kB 00:00
base/primary | 2.0 MB 00:01
base 4928/4928
extras | 1.3 kB 00:00
extras/primary | 13 kB 00:00
extras 34/34
mondorescue | 2.9 kB 00:00
mondorescue/primary_db | 119 kB 00:00
pbx | 2.9 kB 00:00
pbx/primary_db | 2.2 MB 00:01
schmooze-commercial | 2.9 kB 00:00
schmooze-commercial/primary_db | 112 kB 00:00
updates | 1.3 kB 00:00
updates/primary | 2.8 MB 00:02
updates 1038/1038
No package mondorescue available.
Error: Nothing to do

yum search mondo

[root@FreePBX yum.repos.d]# yum search mondo
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
base | 2.0 kB 00:00
extras | 1.3 kB 00:00
mondorescue | 2.9 kB 00:00
pbx | 2.9 kB 00:00
schmooze-commercial | 2.9 kB 00:00
updates | 1.3 kB 00:00
==================================================================================== N/S Matched: mondo =====================================================================================
perl-MondoRescue.noarch : The PBREALPKG provides a set of functions for the MondoRescue project

Name and summary matches only, use ā€œsearch allā€ for everything.
[root@FreePBX yum.repos.d]#

Not a redhat but looks a lit like

So

yum install -y mondo

Should work

Thanks for all your help!

[root@FreePBX yum.repos.d]# yum install -y mondo
Loaded plugins: fastestmirror, kmod
Setting up Install Process
Loading mirror speeds from cached hostfile
No package mondo available.
Error: Nothing to do
[root@FreePBX yum.repos.d]#

Well you can download the rpms individually as listed and do it that way if the repos arent working or just go the clonezilla live route.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.