Questions tagged [clone]
189 questions
25
votes
3 answers
How to determine the best byte size for the dd command
I know that doing a dd if=/dev/hda of=/dev/hdb does a deep hard drive copy. I've heard that people have been able to speed up the process by increasing the number of bytes that are read and written at a time (default: 512) with the bs option.
My…
James T
- 545
- 1
- 4
- 9
22
votes
7 answers
Best way to clone a live linux system
Does anybody know of a way to clone a live linux system? I have a live installation running a production site. Problem is, I'm needing to clone it (without bring it down), and then move it over (restore) to a virtual machine. I'm basically…
drewrockshard
- 1,753
- 4
- 20
- 27
20
votes
3 answers
On Windows: is it safe to do a robocopy in order to clone the system?
Let me start by giving a bit of a background. On Linux systems, I frequently rely on the fact that as long as I can get all files over from one hard drive to another, and as long as I fix up the boot loader, I'll be left with an identical,…
ixnaum
- 203
- 1
- 2
- 4
19
votes
4 answers
Clone a working Linux server
I need to clone a working linux server. We cannot shut down the working server. Is there any way I can get a clone and deploy it on another server?
unknown (google)
17
votes
12 answers
How can I copy a VHD image back to a physical disc?
It's quite easy to backup a real drive to VHD, e.g. with Sysinternal's Disk2VHD on XP or with Windows Image Backup on Windows 7. But how do I copy that file back?
It's possible by booting a recovery CD or the Windows installation DVD. But can it…
Christian
- 1,033
- 5
- 16
- 24
14
votes
4 answers
Hot clone a living Linux service
We need to hot clone a Linux service when it's alive, not just because of we can't reboot or something; it's just because of our special scenario (yeah, I've already read this answer, but it's a little bit different from mine Clone a working Linux…
chen steven
- 141
- 1
- 3
13
votes
6 answers
How to decrease virtual size/capacity of a Virtualbox vdi file
I want turn a physical machine running MS Windows 7 into a VirtualBox virtual machine. This is easy, I have done this before, but this time I needed the virtual size/capacity of the disk to be a fixed and smaller size.
It needs to be fixed because I…
onknows
- 292
- 1
- 3
- 14
13
votes
2 answers
create image of a USB drive without unallocated partition
I have 8GB USB drive attached to my system which looks like this:
[root@host]# fdisk -l /dev/sdb
Disk /dev/sdb: 8462 MB, 8462008320 bytes
255 heads, 63 sectors/track, 1028 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size…
modest
- 231
- 1
- 2
- 4
11
votes
1 answer
Can I do something like Linked clones with Hyper-V?
I have to roll out 10 windows server 2012 machines using hyper-v in my lab. I know with vmware you can use 'linked-clones'.
So that the basic installation of all 10 machines are the same, and the hypervisor only saves the delta's for each specific…
Dennis
- 529
- 1
- 7
- 18
9
votes
5 answers
Backup/Clone a btrfs partition
Is it possible to backup a btrfs partition verbatim (including all the shared structures which save space by marking snapshot trees as COW) to another one? For instance, I'd like to backup my root partition which has couple of btrfs subvolumes…
Mansour
- 499
- 2
- 7
- 14
7
votes
3 answers
Reimage several of the same model PC by copying the hard disk
I have several of the same machine (Dell Precision T3500) that originally came with Windows 7 Pro (there is a Windows 7 Pro OA product key sticker on top of each one). These were initially downgraded to XP by a former IT colleague, but are now back…
Tim Lehner
- 255
- 2
- 9
7
votes
2 answers
I used "dd" to clone a drive to a larger drive. How can I leverage the additional space (linux)?
Fdisk can't see extra space
I upgraded my trusty 74gb Raptor hard drive to a 600gb Velociraptor behemoth.
I used "dd" to clone the drive, (i.e. "dd if=old-drive-device of="new-drive-device), swapped the hard drives, booted, etc. Everything works…
user50460
- 315
- 1
- 2
- 8
7
votes
4 answers
fatal: http://myserverip/home/git/example.git/info/refs not found: did you run git update-server-info on the server?
I followed this example to set up a git repository on my server. It worked, and I successfully pushed my code to it.
But now, how do I pull or clone?
Using the docs, I tried
git clone http://REMOTE_SERVER/home/git/example.git
.. But for me, I'm…
bobobobo
- 769
- 6
- 14
- 26
6
votes
3 answers
Best way to clone a Linux system
I've just finished setting up a Debian system running on an embedded device. It has custom partitioning, numerous config file changes, web content, and a couple of applications compiled from source.
This exact setup now needs mirroring to a dozen or…
harry
- 61
- 2
6
votes
2 answers
P2V - Cold Clone ISO
I need to cold clone a physical box in a VMWare environment. What are people using for this these days?
My preference is for VMWare's vConverter ISO, but it appears that this was discontinued. It's no longer available for download on their site…
jlehtinen
- 1,958
- 2
- 13
- 15