Questions tagged [cloning]

Creating an almost identical copy, for example of a computer installation or a hard disk.

Filter by
Sorted by
Tagged with
22 votes
3 answers
62k views

Cloning Virtual Machine On Azure, keeping existing

There doesn't seem to be a straight answer online about this. I have an existing Virtual Machine on Azure and I want to clone it to another region in case my existing server goes down. It needs to be ...
exposure's user avatar
  • 283
9 votes
15 answers
9k views

What is your recommended disk cloning tool?

Symantec Ghost used to be the tool to use, but from what I read, you no longer get a cli-client, unless you are willing to buy the Ghost Solution Suite at least 5 licenses and have another service ...
6 votes
2 answers
2k views

Scripted install vs cloning

What are the downside of cloning vs scripted installation (using Kick-start / Puppet)? I read a lot of pro-scripted install opinion, where cloning is considered as unreliable method due to ever ...
SyRenity's user avatar
  • 3,179
5 votes
3 answers
2k views

How can I uprade my software RAID1 set of drives?

I've got two 600GB drives in a software RAID1 setup on a physical Debian server. I want to be able to upgrade the capacity of the server by cloning the drives to a matching pair of 2TB drives. I can ...
Gareth's user avatar
  • 8,573
5 votes
2 answers
2k views

any issues with file-copy Git Repo to another machine (and keep working from both)?

I want to copy all my git repos from my old machine to my new machine (both Ubuntu). I will keep using both machines... I am doing this primarily out of laziness (well: there are for some local ...
Frank N's user avatar
  • 630
5 votes
3 answers
1k views

What options do I have to clone a physical server as easily as a virtual machine?

We use virtual machines a great deal at my company, Hyper-V mainly but we have also dabbled with ESXi plus vCenter. Besides the traditional advantage of being able to consolidate many physical ...
Jeremy's user avatar
  • 661
5 votes
3 answers
1k views

Quick and clean ways to clone virtual machines

I have 2 hypervisors running. One is an ESXi 4, the other one a Hyper-V 2008 R2. My question is: What is the cleanest and easiest way to clone a machine under each hypervisor without using any ...
Alexandre Nizoux's user avatar
5 votes
2 answers
3k views

Move and clone VirtualBox machines with filesystem commands

I know of 2 ways to clone a VirtualBox machine on a linux host, one is by using the VirtualBox gui and exporting and re-importing as appliance (in the file menu of VirtualBox). The other is by ...
mit's user avatar
  • 1,934
5 votes
4 answers
31k views

Cloning LVM partitions

I need to clone a CentOS installation from a 1TB disk partitioned with LVM, to several identical machines. The disk is mostly empty since only the operating system and some software are installed and ...
Manuel's user avatar
  • 61
5 votes
2 answers
702 views

How is TRIM handled when cloning a disk with dd?

The TRIM command allows an OS to inform an SSD which sectors contain data, and which are free. This allows the disk to re-use free sectors internally and improves wear leveling. Now, if an SSD is ...
sweber's user avatar
  • 151
5 votes
0 answers
221 views

How to clone the OS disk and keep both disks plugged in?

Here's the situation: A Windows RAID 1 has partially failed. The broken disk was replaced with a new disk. The old two disks do not have Advanced Format (bigger sector size). The new replacement disk ...
boot4life's user avatar
  • 279
4 votes
5 answers
8k views

Best Server Ghost-Like Tool For Windows [closed]

I'm looking for advice on which tool we should use to clone servers. In the short term, we will be cloning identical hardware but in the long run we may want to create one image and replicate that on ...
John Dibling's user avatar
4 votes
3 answers
4k views

Cloning a guest KVM instance with with a new IP address

I had an Ubuntu 10.4 VM running on another Ubuntu KVM host. I'd like to clone this VM but with a new IP address? I know that I would have to stop my VM, clone it, somehow give it a new IP address and ...
Mridang Agarwalla's user avatar
4 votes
0 answers
72 views

Raid 1 seeding to speed up identical installs [closed]

I was thinking of installing Ubuntu on one of our Dell servers in a RAID 1 configuration, then using the mirrored drive as the primary drive in a second identical server with another RAID 1 setup. ...
TestTech's user avatar
3 votes
7 answers
21k views

When trying to copy a virtual disk in VMware vSphere client, I get an errror

I'm pretty new to all the VMware world, so this is probably mainly a question about the right set of documentation to look at. I'm trying to clone/copy a VM that I installed on an ESXi installation. ...
Zak's user avatar
  • 1,032
3 votes
2 answers
6k views

IIS 6 SSL breaks after VMware clone with customization

I have a template Win2k3 machine with IIS 6 installed with a valid SSL certificate. The https site works perfectly. However, after cloning this machine from Virtual Center and applying a unique SID ...
Neobyte's user avatar
  • 3,179
3 votes
1 answer
966 views

Copy VM with Import-VM or New-VM?

I am writing a PowerShell script to clone existing hyper-v VMs/ create new VMs based on a template. Where ever I look the cmdlets Export-VM and Import-VM are used. However the cmdlet New-VM has the ...
T-Me's user avatar
  • 163
3 votes
4 answers
7k views

How to clone pfsense 2.0 (FreeBSD) server for backup?

I'd like to routinely clone my live pfSense 2.0 server for backup purposes. I am a FreeBSD n00b. What I'm doing now: 1. Manually install pfSense to an identical hardware 2. Backup config file from ...
A.B. User's user avatar
  • 245
3 votes
1 answer
40k views

What does sysprep with the generalize option do on Windows Server 2008 R2?

I want to create a template of Windows Server 2008 R2 for virtualization. Therefore I use the sysprep tool by Microsoft. This works fine. I just wonder what the generalize option is good for. Thanks
3 votes
2 answers
1k views

Cloning a machine after SQL Server 2008 R2 Express installation

We're rolling out laptops to some of our staff that will require SQL Server 2008 R2 Express be installed. We'd naturally prefer to do the setup of the laptops (including the installation SQL Express) ...
Larry W's user avatar
  • 31
2 votes
6 answers
10k views

Cloning linux to different machines (with different hardware configurations)

Let's say i have already configured linux system which i would like to clone from machine it's on to other machines which aren't similar - don't have the same hardware, etc. How do i achieve this? I ...
Phil's user avatar
  • 1,989
2 votes
3 answers
1k views

centos7 xfs lmv cloning on smaller device

I'm going to repropose a question posted on stackoverflow a week ago, I'm sorry if someone found this spam but I still need help to solve this issue. I thought it could be useful also for others. ...
rivaldid's user avatar
2 votes
1 answer
339 views

Why did cloning my Amazon EC2 node set off automatically generating a new ssh host key pair?

My normal backup process is to create a new AMI from an EC2 instance I have running Amazon's linux. This is convenient because the EC2 console automatically shuts down the node , makes a copy and ...
HeyWatchThis's user avatar
2 votes
2 answers
2k views

How to create multiple clones of a VM in KVM/libvirt?

I (will) have a VM in libvirt (using QEMU/KVM) that I will set up and consider the "gold master". I would then like to be able to clone it 'n' times to create multiple systems. What is the best way to ...
Will Dennis's user avatar
2 votes
1 answer
4k views

Do I need to use Sysprep to clone VMs on my personal lab? [closed]

I’m a programmer and I’m trying to build up my personal Lab. I have a machine with Hyper-V Standalone Server 2012 R2 installed. I need to create VMs which will be used for testing applications, ...
atiyar's user avatar
  • 133
2 votes
2 answers
6k views

Removing a cloned virtual machine from an AD domain

Scenario: we're in the process of setting up central virtualised server that acts as a demonstration environment. This VM (running Windows 7) will be cloned and put on sales laptops so demonstrations ...
Callie J's user avatar
  • 1,218
1 vote
3 answers
134 views

Windows XP environment that is reproducable

I want to set up a Windows XP environment that can be copied directly with the following properties: Same programs/settings installed on all of the instances Only things differing are necessary ...
user avatar
1 vote
1 answer
9k views

how to clone a VM on LVM to another in KVM?

On a Debian wheezy i installed KVM for virtualization and install some VMs on it. I use separate LVM disks because of its performance for my VMs disk. Now i need to clone one of them in new LVM disk. ...
shgnInc's user avatar
  • 1,834
1 vote
2 answers
181 views

Will cloning windows drive to put in VM on same hardware require re-activation/re-licensing?

I want to clone a Windows hard drive and use it for a Virtual Machine on the same hardware. Basically I want to swap the main OS for the machine to run a stable Linux OS and have the Windows OS run ...
Tim's user avatar
  • 123
1 vote
1 answer
143 views

copying one virtual raid disk to another using dd

Using a Dell-Perc Raid controller in Ubuntu I have a virtual disk as a raid 0 array composed of 4 physical drives (1Tb SSDs). I would like to copy the virtual disk onto another virtual disk also raid ...
haz's user avatar
  • 111
1 vote
2 answers
213 views

automate server setup with source builds

I have a centOS5.4 server set that I have a "build script" for. The server runs as a webserver that runs apache+PHP for our proprietary app. The build script, basically does a kickstart installation ...
Zak's user avatar
  • 1,032
1 vote
1 answer
72 views

Is it possible to pass information (e.g. updates) from hyper-v base vm to differencing vms?

Hi everybody (first post, so please don't kill me), I have a hyper-v host which contains several vms (Server 2016, W10). Right now, I have to update (e.g. windows update) every single one of them. My ...
chronowerx's user avatar
1 vote
1 answer
889 views

SysPrep windows 2012 r2 for VM cloning

I'm trying to SysPrep a 2012 r2 std edition VM that I built which has IIS already configured for my website as well as some additional applications already installed and configured the way I need them....
Aaron's user avatar
  • 193
1 vote
1 answer
2k views

Sysprep for EC2 instances

AWS' documents on creating a custom image reference using sysprep as one of the steps in the creation process. They don't actually specify if it's a required step or if it is run automatically as ...
Aaron's user avatar
  • 193
1 vote
1 answer
3k views

How do I clone a single drive onto a new RAID 1 array?

Here's a little background on the situation at hand. I have a DELL Precision T7600 at work that I'm responsible for maintaining, which just lost a hard-drive, thankfully just the /home directory was ...
rivanov's user avatar
  • 113
1 vote
1 answer
561 views

Does `ntfsclone --save-image' attempt to read bad sectors?

I'm migrating from an HDD with NTFS that has a number of bad sectors. I've just run chkdsk /r (from ERD 6.0 x32) on it to make sure they all are properly marked as such. Yet, when running ntfsclone -...
ivan_pozdeev's user avatar
1 vote
1 answer
1k views

Cloning OpenVZ container

I have an OpenVZ container on 1 host and I would like to clone it over to my server. both run SolusVM. I only have root access to my server and would like to host the container on my server now. Can ...
Tiffany Walker's user avatar
1 vote
1 answer
895 views

ddrescue - cloning a device

I am running the following command [root@localhost ~]# ddrescue -vf /dev/sdf /dev/sdg rescue.log Do I need to do anything else after that to make the drive bootable? One place said I should do a ...
Tiffany Walker's user avatar
1 vote
3 answers
2k views

Can I "clone" Hyper-V VM's to a physical hard drive then use it in a real PC?

I have Windows Server 2008 R2 with Hyper-V. Can I create a Virtual Machine, install Ubuntu 11.10, then "clone" it to a real physical hard drive for use as a real OS in a physical PC?
A.B. User's user avatar
  • 245
1 vote
1 answer
287 views

If I have /generalize arg, will that remove settings placed in Specialize phase?

I am currently working on .xmls for imaging on mass deployment. I want to do an unattended join to the domain and also get the drivers in the audit (sysprep) phase. But when I go from audit to OOBE, ...
Zero's user avatar
  • 315
1 vote
2 answers
2k views

Can anyone explain how does guest Customization on ESX work?

I'm using the vsphere perl sdk for this task. I'm cloning a new VM (Linux and Windows) from an existing image and all I'm interested in is changing the IP address of the new clones. In case of ...
user avatar
1 vote
2 answers
205 views

Cloning fedora 13 across multiple machines

I want to Install the same mirror of fedora across multiple desktops, are there any cloning tools available for this.
user46924's user avatar
1 vote
1 answer
264 views

VMWare clients: replace an existing server with a clone

Consider two Win2k3 servers: SRV01 and SRV02. These two servers perform the same function in the domain, and have the same software installed. SRV01 runs without issue. SRV02 has problems problems ...
jefflunt's user avatar
  • 300
1 vote
1 answer
759 views

Cloning Windows SBS 2003 to different machines (with different hardware configurations)

I'd like to save time and clone an existing Win 2k3 server to new hardware. Is this possible / advisable? Thanks
52d6c6af's user avatar
  • 444
1 vote
1 answer
4k views

Ubuntu 17.04 virt-clone ERROR missing source information for device sdx

I am on Ubuntu 17.04 server using KVM I tried to clone a vm after stopping it... I actually could not do a shutdown, so I did a destroy. visrh destroy origVM Then I tried cloning using: virt-clone -...
Fawzi Masri's user avatar
1 vote
0 answers
327 views

Cloning SAS RAID1 array with OS partition to a new SATA array?

I have two RAID1 arrays, first one is made of SAS disks and that's where the OS (Win Server 2k8 r2) is, the second RAID1 array contains SATA SSDs (and hold the database). Server is IBM's System x3650 ...
Dom Delimar's user avatar
1 vote
2 answers
711 views

kvm raw disk cloning

I have a kvm guest machine on raw disk that I would like to clone so that I could restore it to another kvm host machine on lvm with drbd. I need to do this without any or as little downtime as ...
Kay's user avatar
  • 11
1 vote
2 answers
698 views

Is HD, SSD or SD card cloning a good practice?

Cloning is very convenient if multiple identical systems need to be created. But I have the following concern. As far as I know during formatting of file system and even during it's use a bad disk ...
Linas's user avatar
  • 19
1 vote
0 answers
87 views

systemimager and sun grid engine queuing system

I'm about to install our new cluster. I've installed the first node and used it for golden-image. As a queuing software we use SGE (Sun Grid Engine). After installing of the first node I tested ...
Kris_R's user avatar
  • 305
1 vote
0 answers
615 views

How to clone a Linux server on EC2

Hi have a linux server on EC2 and I created a snapshot from that server, the the snapshot has been used to create an AMI, then I created an instance from the AMI. I always get a file system error, ...
rtacconi's user avatar
  • 745