I have configured my local (Ubuntu) Server in which I have all my services with their own configurations and files, now I want to copy all that to another machine.
What's the right method to do it? An image of the computer? The OS included?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
Well, this is actually a more interesting problem than it sounds like.
There are 2 ways to clone a server (well, there's probably more, but there's 2 that I'll touch).
1) Clonezilla. You download the CD ISO, write it to a CD, boot it up, make a disk image of your server. Copy it to somewhere like a NFS share that both servers can access, then boot the other server up and restore the disk image.
You use the DSL (Domain Specific Language) of either Puppet or Chef to define how your servers are configured (you can even reverse-engineer configs from a working system). Then you install your tool on the target server, and run them, and they use the configuration rules to build each new machine in the image of the configuration.
If it were up to me, I'd be going down the Puppet/Chef route. Pretty much because when you come to make 2 to 3 more, or 100 more, then clonezilla becomes a Pain In The Butt.