Forums

Resolved
0 votes
Hey guys,

I just bought a small 19inch rack server to use as my gateway. I'm currently using a full sized poweredge 2950 and it's way to big. I would like to move my ClearOS install over to it today and would like it to go smoothly lol. I really don't have a whole lot setup and it wouldn't be a huge deal to reinstall it but I thought I would ask to see if any one has done thing before and know's the best way. Only thing I'm really trying to keep is my Dynamic DNS name.

Thanks,
Levi
In Backup
Tuesday, April 21 2015, 03:45 PM
Share this post:
Responses (5)
  • Accepted Answer

    Sunday, April 26 2015, 07:05 AM - #Permalink
    Resolved
    0 votes
    If the disks are different physical sizes but the new ones have equal or larger capacity than the old ones, you could temporarily hook up both disks then use dd to get the data across. After you can increase the partition size if it new disk has greater capacity. Note this does not have to be done with ClearOS. Clonezilla will copy the data across with dd as will many other live distros. Similarly GParted can resize and can dd.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 25 2015, 08:37 PM - #Permalink
    Resolved
    0 votes
    Moving the Disk's will not be an option. The bay sizes are different. The only real concern I had was the Free subdomain name. Which I don't think will be an issue. Thanks every one for their help. I think with the new ClearOS "Home" and maybe even community edition some of the configurations should be in the cloud. That way if I do a reinstall like this again, when I login it shows a list of past configurations. That way It download's my app's and what ever relevant configuration files you guys could put in the cloud.

    Thanks,
    Levi
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2015, 05:40 PM - #Permalink
    Resolved
    1 votes
    If you move the disk to the new machine you may need to modify the file in /etc/udev/rules.d/70-persistent-net.rules in order to re-align your MAC to NIC name assignments. You can find the mac addresses of your new machine in 'dmesg | less'.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 22 2015, 09:13 AM - #Permalink
    Resolved
    1 votes
    Two things you can do, move the disks over as nick said or you can do a re-install.

    Re-install isn't as bad as it sounds:

    1) If you use a backup configuration and restore it to the new clearos, this automatically;
    * Downloads all the apps you've used
    * Restores the configuration files for those apps that you configured yourself
    * Re-add all the users and groups you've had making accessing the domain very simple as it doesn't require re-joining the domain on any machine if you've done that
    * Re-adds the shared folders ( not the files in them of course it's only a small file)

    2) do an rdiff-backup of your server or duplicity if you want to encrypt it and restore only what you need i.e. flexshares, home folders etc. Infact there is a backup tool on clearos that does home folders and shared folders which you can do.
    3) If you have any mysql databases do a mysql dump and restore them along with making a backup of the config files for the databases

    Most re-installs take me an hour and half to 2 hours tops using this method. It's very straight forward and my hat has to go off to ClearOS for making such a pain free backup system for the most part.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 21 2015, 04:00 PM - #Permalink
    Resolved
    2 votes
    You should be able to reuse your poweredbyclear.com Dynamic DNS name if you reinstall.

    Having said that, you may well just be able to move the disk across. It may be a requirement that both machines use the same IDE/SATA access type but I am not sure. I think in the worst case scenario, when you move the disk across you may need to reload grub and make a new initrd (google make initrd or search this or the old forum), both of which you should be able to do with the installation disk/USB whatever.
    Like
    1
    The reply is currently minimized Show
Your Reply