Cloning my mint server1 to backup server2

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
aeproductions

Cloning my mint server1 to backup server2

Post by aeproductions »

Searched forums for something like my set of requirements but could not find anything close. Hopefully, the experts will be able to get me started along the way.

Disclaimers/Info:
1. I know that most people do not recommend Linux Mint as a server, but Linux Mint does not have a server yet so I made my own for the purposes of Wordpress Staging on and offline.
2. Also, I am not a linux expert, but I was techy enough to understand how to get what I needed by following some guides on digital ocean and other sites.
3. Also, both PCs are dual boot windows because there are times we need to get into Windows to run Adobe based software and other software our company requires to operate. That really has nothing to do with anything except partitioning. Mostly Server1 one stays 99% of the time in Linux, and Server2 99% in Windows, but if server1 went down , we would not lose much time to continue our development.
4. Also, the reason I do not want to reset up everything on the backup server (or server2) is that I have struggled through getting server1 optimally performing for Wordpress and Apache and PHP7 .. because sometimes it gets overloaded with just one person, accessing the server to design websites and I want the same configurations on the backup server.

Server 1:
My current server1 is totally different hardware than what I want to use for my backup server2. (Technically I should probably use my backup server as the main server because it has more power and memory, but we use it for Adobe graphic design and video editing parts of the day. ) That said here is what I set up for Wordpress (LAMP) Below is what I have configured.
1. Apache **
** note I changed the public html folder location to /home/www/projects/html because this partition is much larger
2. MySQL
3. PHP
4. cups configured to print to printer
5. cron job to do automatic backup
6. ftp access from office desktop pcs through localhost network
7. windows filesever access through windows explorer I think via samba or just network address as shared folder


On Server 2 (the backup server I want to create) this is what
1. I already have Linux mint installed, but probably the partitions are different in terms of size and configuration because this server is much more powerful.
2. our office network printer is shared by this pc
3. at some point is is possible this will be our main server

Maybe it is as simple as manually installing the packages required for Wordpress environment on server2 and just copying some files over from server1 but i don't know which files,
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Cloning my mint server1 to backup server2

Post by deepakdeshp »

If you restore from same partition number from server 1 to server 2 ,then all will work as per server 1.Actually it's cloning from server 1 to 2.
Both servers should be either 64 or 32 bits.
Source and destination partition no. should be same.
Destination partition size should be greater than or equal to source.
Take backup of s2 before restoration.
Clonezilla.org is the site to download it.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Locked

Return to “Software & Applications”