Forums

Resolved
0 votes
I am moving my ClearOS Gateway to a new PC. I have already built and installed the latest version of ClearOS Home on the new machine and configured the IP's to match my current (Old Machine). I have saved a backup of the current config for a restore on the new machine. My question is what all is in the backup. Will I need to go to the Marketplace to get all the features I have installed on my current (old) machine or will the new machine get them from the backup (such as Gateway Management Home). I am trying to make the switch from old to new machine as quick and easy as possible so that I can just swap the Ethernet cables and perform a restore. Please let me know what all I would need to do. Thanks in advance for the help/info.
In Backup
Wednesday, March 27 2019, 07:11 PM
Share this post:

Accepted Answer

Wednesday, March 27 2019, 08:27 PM - #Permalink
Resolved
0 votes
The easiest option would probably have been to dd from disk to disk, but it does not work with RAID. You would then need to extend the disk partition. From the route you've gone down, you could have done a config restore very early on. Anyway, have a look at this howto as most of the stuff is relevant. It may be easiest to put your new server into standalone mode first otherwise you have to play around with firewalling and your NIC configurations.

In some ways, the biggest gotcha is the NIC interfaces. You must not end up with both the LAN and WAN on the same subnet or routing will fail. You virtually want to get everything set up then, right at the end, change your NIC configuration and even the mode (standalone/gateway) from the console.

If you keep your new machine in Gateway mode, you'll need to connect its WAN to your current LAN (watch out for subnet conflicts). If you do that, set up a temporary custom firewall rule in it like:
$IPTABLES -I INPUT -s your_current_LAN_subnet -j ACCEPT
You'll then get full access to ClearOS from the WAN.
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Saturday, May 18 2019, 12:52 PM - #Permalink
    Resolved
    0 votes
    I have two ways of doing this.
    1. Move the current hard drive to the new hardware and repair the networking.
    2. Clonezilla the current hard drive and fix the networking in the new machine.

    Clonezilla is cool because you can clone a hard drive to a hardware RAID array.
    There are some LVM things you have to do to expand the LVMs to fill the larger partitions that Clonezilla made for you.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 27 2019, 08:37 PM - #Permalink
    Resolved
    0 votes
    Thanks for the info and the link to the guide. Are the Marketplace apps and their settings in the backup?
    The reply is currently minimized Show
Your Reply