cloning a virtual-server

6 posts / 0 new
Last post
#1 Fri, 12/07/2012 - 11:55
edwardsmarkf

cloning a virtual-server

i suppose its best to use some high-tech command-line to clone existing virtual-servers rather than some boring point-n-click method?

http://www.virtualmin.com/documentation/developer/cli/clone_domain

virtualmin clone-domain --domain domain.name --newdomain new.name [--newuser name] [--newpass password]

if i start to use the command-line rather than the website interface, i am in serious danger of loosing my comfortable newbie status.

Fri, 12/07/2012 - 12:49
edwardsmarkf

ok i am totally absolutely 100% blown-away impressed:

virtualmin clone-domain --domain oldDomain.com --newdomain newDomain.com ;

another one like this, and i am going to have the virtualmin logo tattooed on my chest.

Fri, 12/07/2012 - 15:40
Locutus

Don't forget the names "Joe", "Jamie" and "Eric" tattooed in upper and lower half-circles around the logo! ;)

Indeed the CLI is very useful. Just a few days ago I made a script - for Dovecot/Postfix SSL wildcard certificate purposes - that runs after every change to domains, collects those that have email enabled, and composes a DNS zone from them. Afterwards, updates the zone's serial number and reloads BIND.

Fri, 12/07/2012 - 18:41
edwardsmarkf

having used cPanel (and a little plesk) and one other no-name interface, the command-line interface just blows my mind away. i don't believe that either cPanel or plesk has anything anywhere remotely close to this.

now i am thinking about just embedding the virtualmin clone-domain command in a bash for-loop....

i just ordered two books, "the book of webmin" and "managing linux systems with webmin". i hope to get each book autographed by the authors.

Tue, 12/11/2012 - 04:32
helpmin

Virtualmin is the best. The only thing better than their products is their support!

Mon, 04/17/2017 - 09:34
Kintaro

with clone-domain is possibile to clone a top-level server to a sub-server that belong to it? I think not right?

Example: source: mydomain.com cloning it as the sub-server: sandbox.mydomain.com

Topic locked