Sponsored Content
Operating Systems Linux SuSE Linux/Ubuntu Mondo/Mindi question, please help... Post 302218166 by mark54g on Thursday 24th of July 2008 02:21:41 PM
Old 07-24-2008
If you have the ability to do so, you can take a "poor man's" backup of the machine to clone it by putting the other disk into an enclosure (USB or Firewire) and then attaching it to the original machine.

If you can take downtime, drop to single user mode and copy the physical device to the other physical device such as:

dd if=/dev/sda of=/dev/sdb

where "if" is the input file (the disk you are copying) and "of" is the output file, the place you are copying it to.

This will copy EVERYTHING from the first disk to the second disk, barring failures or hardware issues. However, it will copy blank space and will take a long time. Figure on about 6hrs easily.

Also, if you accidentally screw up the if and of parts, you will have destroyed your machine (No joke, all data will be lost)
 

6 More Discussions You Might Find Interesting

1. Linux

HELP! Problems with Mondo Archiver

I'm running Centos 5 and have compiled the latest and greatest version of Mondo Archiver. I can run the back up manually by just running mondoarchiver with no arguments and answering all of the questions. My problem is that when I try to run it from a batch file so I can use run it... (0 Replies)
Discussion started by: wpflum
0 Replies

2. UNIX for Dummies Questions & Answers

ubuntu 9.04 router question

Hello I am new to Ubuntu and I have a quick question about router settings. When I connect directly to my cable Internet ubuntu works fine. But when I connect it to my router I can't get connectivity. I am using ubuntu 9.04 and am using D-link DI-604 router. I have reset both my router and modem... (0 Replies)
Discussion started by: jae99
0 Replies

3. Filesystems, Disks and Memory

How to create mondo backup for size > 4.5 GB

Hello Friends, I use mondoarchive to take a bootable backup of my system on a DVD. But whenever there are large files on the system, i.e. the size of the entire backup increases beyond 4.5 GB, the mondoarchive utility does not take any backup. This is quite obvious because the size of DVD is... (1 Reply)
Discussion started by: shamik
1 Replies

4. Ubuntu

XP and Linux (Ubuntu) on same disk, Can I install Ubuntu on not-yet partitioned portion of disk?

My PC (Esprimo, 3 yeas old) has one hard drive having 2 partitions C: (80 GB NTFS, XP) and D: (120 GB NTFS, empty) and and a 200 MB area that yet is not-partitioned. I would like to try Ubuntu and to install Ubuntu on the not-partitioned area . The idea is to have the possibility to run... (7 Replies)
Discussion started by: C.Weidemann
7 Replies

5. Programming

Help with C in linux Ubuntu 12.04

I'm trying to use the sytem() to send a terminal command. I haven't been able to run the program. Can someone show me how am I suppose to write this command: (echo "#o1" > /dev/ttyUSB1). Is there a better way to use the command on the C file so that when I call the file and run it on the terminal... (11 Replies)
Discussion started by: Hector M.
11 Replies

6. Ubuntu

Question about installing Cinnamon in Ubuntu

Hi, If I install Cinnamon according to the instruction in the following link: Ubuntu + Cinnamon - A good idea? No. A great one. will I still have unity, and will I still be able to choose unity when my ubuntu will start? Thank in advance ---------- Post updated at 09:48 PM ----------... (0 Replies)
Discussion started by: programAngel
0 Replies
virt-clone(1M)						  System Administration Commands					    virt-clone(1M)

NAME
virt-clone - clone virtual machine images SYNOPSIS
/usr/bin/virt-clone [option] DESCRIPTION
The virt-clone utility is a command line tool for cloning existing virtual machine images. virt-clone copies disk images of an existing virtual machine and defines a new guest with an identical virtual hardware configuration. Elements that require uniqueness are updated to avoid a clash between old and new guests. With appropriate command-line arguments, virt-clone can run completely unattended, with the guest automatically starting itself as well. This allows for easy automation of guest installs. If you do not specify options to virt-clone, the command runs interactively, prompting for input as required. To run virt-clone, you must become superuser or assume the Primary Administrator role. OPTIONS
The following options are supported: --connect=URI Connect to the hypervisor at URI. -d, --debug Display debugging information when running the install process. -f disk_image, --file=disk_image Path to the file, disk partition, or logical volume to use as the backing store for the guest's virtual disk. If the original guest has multiple disks, this parameter must be repeated multiple times, once per disk in the original virtual machine. -h, --help Display the help message and exit. -m mac_addr, --mac=mac_addr Fixed MAC address for the guest. If the keyword random is specified, a random address will be used. -n name, --name=name Name of the new guest virtual machine instance. This must be unique among all guests known to the hypervisor on this machine, including those not currently active. To redefine an existing guest, use the virsh(1M) tool to shut it down and delete it prior to running virt- clone. This parameter will be prompted for if omitted on the command line. -o original_guest, -original=original_guest Name or UUID for the original guest to be cloned. This guest must be shut down since it is not possible to safely clone active guests. -u UUID, -uuid=UUID UUID for the guest; if none is specified, a random UUID is generated. If you specify UUID, use a 32-digit hexadecimal number. Keep in mind that UUIDs are intended to be unique across the entire data center, and indeed, the world. EXAMPLES
Example 1 Cloning a Guest with a Single Disk The following command clones a guest named demo, which has a single disk to copy. # virt-clone --original demo --name newdemo --file /var/lib/xen/images/newdemo.img Example 2 Cloning a Guest with Multiple Disks The following command clones a guest named demo, with has multiple disks to copy. # virt-clone --original demo --name newdemo --file /var/lib/xen/images/newdemo.img --file /var/lib/xen/images/newdata.img Example 3 Cloning to a Device with Comparable Disk Space The following command clones a guest to a physical device that has at least as much disk space as had the original guest. . If the destina- tion device is has more space, the new guest can do a file system resize when it boots. # virt-clone --name demo --file /dev/HostVG/DemoVM --mac 00:16:3e:34:11:54 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxvmu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
virsh(1M), virt-install(1M), xm(1M), xVM(5), attributes(5), xVM(5) SunOS 5.11 23 Jun 2008 virt-clone(1M)
All times are GMT -4. The time now is 08:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy