Copy/Clone .vmdk from a running VM

Hello,
I am working on a script that take a clone only from the first, the OS disk, harddisk. (Background Information: The VM consists of 8 Hard Disks with a capacity of overall 3TB...)
After taking a snapshot from the VM, I tried to copy the .vmdk from the datastore to the backup location.
If I do this by mouse via the vSphere Client in datastore browser it works fine, but in the script I get a file that is not a usable .vmdk...
In the script I tried to take the clone with following commands:
Copy-Item $Disk $DiskClone -Force
Copy-DatastoreItem $Disk $DiskClone -Force
Both do not work.
And I can not use Copy-HardDisk, because it is a running VM.
So here is my question:
Which command is behind the copy & paste operation in the vSphere client?
Thanks for your help
Richard

I found a workaround...
I created a new "helper vm" with the same .vmdk as the original vm.
Because the "helper vm" was powered off, I was able to run the Copy-HardDisk command.
It works fine!

Similar Messages

  • How to copy/clone images from cameraUI?

    hi,
    i'm using the cameraUI for taking photos. after taking a photo, i can add it to a movieclip. so far so good.
    the problem now is, that i want to add the image to another movie at the same time for using this movie as a mask within the loaded photo...
    function showMedia( loader:Loader ):void
              bg.addChild( loader );
              loader.width = 960;
              loader.height = 640;
              loader.x=0;
              loader.y=0;
      bg2.addChild( loader );
      loader.width = 960;
      loader.height = 640;
      loader.x=0;
      loader.y=0;
      bg2.mask = myMask;
    unfortunatelly, this doesn't work. it's only possible adding the image to ONE of both movie clips at a time.
    in the example, the image will be displayed as a child of "bg2", "bg" is empty. i've tried to copy or clone "loader"
    but that did not work anyway. it would be great if someone has a simple solution for this issue.
    thanks!
    michael
    solution found: (probably not the best one, however - it works)
    function showMedia( loader:Loader ):void
              bg.addChild( loader );
              loader.width = 960;
              loader.height = 640;
              loader.x=0;
              loader.y=0;
              var bitmap_data:BitmapData = new BitmapData(stage.stageWidth,stage.stageHeight);
              bitmap_data.draw(stage);
      var bm:Bitmap = new Bitmap(bitmap_data); 
              bg_zoom.addChild(bm);
              bg_zoom.x = 0;
              bg_zoom.y = 0;
              bg_zoom.scaleX = 2;
              bg_zoom.scaleY = 2;
    Message was edited by: michael_1974

    Assuming you've referenced the graphics in the first file … you can copy/paste into the new file; you could create a list of referenced graphics (LOF) to help you locate the graphics in the first book more easily. Or, depending on the content of the two books, you could duplicate .fm chapters from the first book and rewrite the text round the graphics :-}
    Scripting is unexplored territory for me, but I imagine it should be possible to type in just the name of each graphics files and then use a script to do the work of setting up the reference?

  • Can't copy itunes songs from macbook running tiger to iphone

    My Daughter just got an iPhone and wants to copy the songs she purchased on Itunes from her macbook to the iPhone to listen to and use as ringtones. The macbook is currently running tiger OS X 10.4.11. She said that once she plugged her iPhone into the macbook and brought up iTunes, she received a message that she needed to upgrade her current iTunes to "iTunes version 10.1". She then went to the apple website and clicked "download iTunes 10.1" and after clicking "install" got another message saying "Couldn't open 'Install iTunes.pkg'. This package type requires Mac OS X 10.5." Does anyone know of a possible workaround other than buying a new operating system?

    If your computer meets the requirements for Snow Leopard, you can purchase the $29 upgrade disk & go straight to SL:
    http://support.apple.com/kb/SP575
    Otherwise, you'd need a retail copy of Leopard.
    This link is useful if you can go to SL:
    http://snowleopard.wikidot.com/snowchecker

  • I have an iMac 2013 running OSX 10.9.4. I want to use Carbon Copy Cloner to backup user files to an external hard drive. Then I want to remove iPhoto libraries from iMac. What will happen to the iPhoto libraries that I back up when I run backup in a

    I have an iMac 2013 running OSX 10.9.4. I want to use Carbon Copy Cloner to backup user files to an external hard drive to free up space on my iMack Hard drive.
    So, say I make the backup today, delete iphoto libraries from my iMac, and then backup my iMac in a week. What happens to the iphoto libraries that are on the external backup drive now that I am backing up the iMac where they no longer exist?
    I will have them backed up to a separate second external drive as well.
    I'm just very cautious about removing them from the hard drive.
    Thanks for helping and understanding my crazy caution!

    I'd like to store my Aperture /IMovie Libraries on an external hard drive.
    That is fine and recommended.. use the fastest disk you can afford.. ie Thunderbolt>USB3>FW800>USB2.
    In addition, I'd like to partition the external hard drive so that Time Machine can use it to both back up my IMac and the external library drives.
    Let me be clear.. you want to partition the one disk.. use it for TM and move your files to the external disk.. and then backup to the same disk.. You can do it.. but that is not a backup.. that is an experiment in how long you can get away with running files and backups on the same disk before you lose everything.. like Russian Roulette.. pull the trigger enough times and laws of probability will do you in.
    You must have backups on a different disk .. otherwise it is pointless.
    Can I set up a RAID 5 format for redundancy?
    No.. you can buy special USB and Thunderbolt external drives that support RAID..
    BUT that is still not a backup.. let me show why.. you make a silly move and corrupt your file in aperture.. it is not that rare.
    Raid will corrupt all copies of the files.. it is replicated across all disks.
    Delete a photo it is deleted across all disks.. you have no recovery.
    Alway, always consider RAID system one disk.. backup onto another disk.. and if the photos or movies are at all important to you.. ie your family .. make another copy and store in a relatives house.. There is no such thing as too much redundancy.

  • Can I update an iMac from another iMac using Carbon Copy Cloner?

    I change office locations every 6 months and move to a similar iMac setup. At each move, using external hard drives, I update the "older" iMac HD with the current Mail, Addressbook, work files, etc. Currently, I am using Snow Leopard; the machine I am transitioning to is behind, using Leopard.
    This time something new is before me, I purchased (honestly) the Snow Leopard upgrade for the iMac that I am transitioning to. So I have an OS upgrade plus a file plus a lot of application additions/upgrades.
    The question is, can I use *Carbon Copy Cloner* to make an image of my current iMac and upgrade the 2nd iMac with all my recent applications in one fell swoop? I would

    Arthur Levy wrote:
    I change office locations every 6 months and move to a similar iMac setup. At each move, using external hard drives, I update the "older" iMac HD with the current Mail, Addressbook, work files, etc. Currently, I am using Snow Leopard; the machine I am transitioning to is behind, using Leopard.
    This time something new is before me, I purchased (honestly) the Snow Leopard upgrade for the iMac that I am transitioning to. So I have an OS upgrade plus a file plus a lot of application additions/upgrades.
    The question is, can I use Carbon Copy Cloner to make an image of my current iMac and upgrade the 2nd iMac with all my recent applications in one fell swoop?
    Yes. Noondaywitch is correct. As long as the version of OSX is no older than the one the newest Mac came with, and the older Mac is compatible (enough RAM, etc), and the drives are formatted properly, you should be able to clone from one Mac to an external HD, then clone that back to the other one.
    When you make the clone, boot up from it and run several apps, make sure your internet connection and browser work, etc.
    Before cloning back to the other Mac, boot it up from the clone and do the same.
    You may have to change a few settings for your internet connection, of course.

  • How can we disassociate an Apple ID from a set of computers formated from a single computer using Carbon Copy Cloner and a single image and then Migration Assistant to install their old profile? The original ID is the Apple ID for all the stores.

    Here is a bit more detail.
    We were replacing old teacher machines and wanted to do it as efficiently as possible. Therefore, we set up one computer, through the OS installation and ran all updates, and then made a disk image so that we can use Carbon Copy Cloner to image all the other computers without having to run all the other updates. Once they were set up to a base level and assigned to a teacher we used Migration Assistant to import all their old files and items. Everything has been fine until recently the computers became aware of needing an update for one or two apps. The machine asks for the original computer's Apple ID for all updates. We have logged out of the apple id and back in with another to test if running the updates will work with that Apple ID and even after a refresh it still asks for the other Apple ID. How can we disassociate the Apple ID from those other computers so that the individual who owns the original is not needed each time there is an update or has to give out their Apple ID password?

    There are two parts to this:
    1) It may be that you should have an Apple Education Support person helping you with this. If you have enough computers for this to be a problem, you may benefit from a Server, a site license, and an occasional visit from an Education Support Specialist.
    2) The brief answer, if you want Individual Apple_IDs to control each computer, is to buy new copies of Mac OS X under those new Apple_IDs and re-download and re-Install. Mac OS X is customized to the Apple_ID before it is downloaded.

  • On a Mac mini OS X server 10.8.5 TimeMchine cannot copy 2.5 TB to a 6 TB Thunderbolt disk, runs out of space, Carbon Copy Cloner works perfectly

    On a Mac mini OS X server 10.8.5 TimeMachine cannot copy 2.5 TB (from a Lacie 2big Thunderbolt data disk) to another 6 TB Thunderbolt disk, runs out of space, Carbon Copy Cloner works perfectly: claiming just 2.5 TB after the copy. Thunderbolt disk is
    LaCie 2big Thunderbolt Series 6 TB

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message that corresponds to an abnormal backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showning, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them to the Clipboard by pressing the key combination command-C. Paste (command-V) into a reply to this message.
    If all you see are messages that contain the word "Starting," you didn't clear the text field.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Some personal information, such as the names of your files, may be included — anonymize before posting.

  • Carbon Copy Cloner from Older OS to Newer OS

    If I use Carbon Copy Cloner and clone my HDD for my Mac Book Pro which is currently running Snow Leopard, and copy it onto a computer with Mavericks, is there anything I have to do special?
    Will it replace Mavericks with Snow Leopard?
    Or will it just put all my files and programs and such on Mavericks?
    Seems like a dumb question, but I am operating under the assumption that the newer OS X's may psossibly have some slightly different system folder structures and having a carbon copy of and older OS may cause there to be doubles of folders that couldnt be replaced because they are in different loctations or have different names.

    You could buy an external HD and make a time machine backup... in the setup of mavericks (with the new HD in your MacBook) you have the option to import user data from time machine or an old mac...
    An other option is to copy the HD of your MacBook to an external HD (with CCC) but you have to import your old data per drag and drop from the external Copy. This option is more difficult and requires much time, but you have a "clean" new system without any old stuff from previous systems...

  • Rebooting from USB / Carbon Copy Cloner?? Is it possible? Or Firewire only?

    Hello
    I'm just choosing a new backup drive for my MacBook Pro.
    I'm using Carbon Copy Cloner to back up.
    Is it possible to book from a USB 2.0 drive?
    Thanks

    Having a CCC image and running TimeMachine is an excellent option.  With a clone, you'll always be able to get up and running in just the amount of time it takes to reboot should you have a catastrophic failure of your internal drive.  You cannot boot from a TimeMachine backup.  Of course your TimeMachine backup will always have the most current versions of anything you might be working on that might not have been included in your last CCC image.  This way you'll be able to get up and running fast and you'll have access to all of your most current data.  You will need separate partitions if you want to run both on the same machine as TimeMachine will grow to fill all available space in the partition on which it is running, so you will need to give it its own partition.

  • I have photoshop cs3 on a mac powerbook running Os 10.10.2  I am getting a" licensing has stopped working" text box.   I can reinstall because I can't get a copy of CS3 from eh website

    I have photoshop cs3 on a mac powerbook running Os 10.10.2  I am getting a" licensing has stopped working" text box.   I can reinstall because I can't get a copy of CS3 from eh website

    https://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • Reducer error occurs - copy file fails from D to C while running recovery cd in windows 8,64 bit.

    Sir I bought a new hp envy 15 j049tx on 25 October 2013 and it stopped working on 29 october 2013.Whrn I opened the laptop a blue screen appears written that "Your pc ran into an error and we are restarting for you. The laptop restarts and the same process keeps going on.
    I told the Hp customer support, they asked me to run hard drive and memory tests. Both hard drive and memory test came out PASSED(both quick and extensive tests). Then they ordered hp recovery discs. When i received it while running the 1st cd an error came with label REDUCER-copy file failed from D... to C.... They then sent a technician who said that the recovery cd are faulty. Its Been a month and the problem still persists. They have ordered a new set of recovery cd. I hope to receive them by 22.I am very much worried. Its windows 8,64 bits os. Please reply. Is it recovery cd problem? Please tell what to do?

    anyone found the fix for this?

  • Running Widows Vista system, every time I try to copy and paste from Firefox DEP shuts down Word Works

    I am using a HP desk top with Windows Vista. When ever I try to copy and paste from Mozilla Firefox, the DEP system shuts down
    Microsoft Works Word Processor. I have tried turning off DEP for Works but it still shuts down the Program.

    This is might because of your prior change in softwares. so first you have to do run '''sfc''' in run command. and then you see the specific problem which causes this . Since System File Checker (sfc) scan will make Windows replace corrupt or missing system files on your computer.
    * Click Start>All Programs>Accessories>right-click Command Prompt, and select Run as Administrator.
    * Click Continue or supply Administrator credentials if prompted.
    * In the Command Prompt window type the following, and press Enter:
    sfc /scannow
    Refer this KB article for more information:
    http://support.microsoft.com/kb/929833
    See this is not a problem of firefox till now. You can check more with microsoft answers site.

  • Copying data files from Mac to Windows on MacBook running Parallel

    How can I copy .doc files from Mac folders to Windows folders?
    I am running Parallel but I cannot access the Mac folders and files when I am running Windows.
    I cannot access flash drives from Windows either.
    Can anyone help?
    Thank you
    MacBook Black   Mac OS X (10.4.9)  

    Theres a feature called shared folders that works
    quite nicely. I cant quite remember the specifics but
    I have done it before. Or if you've got a few small
    ones copy and pasting between work spaces now works.
    Cheers, Arthur
    Now all I need do is figure out how to turn on the sound when using Windows. Everything is as it should be on my Xp setup but no sound. Mac must be controlling this but I do not know where to look to solve this situation.
    Have a great week,
    Robert
    MacBook Black   Mac OS X (10.4.9)  

  • Wait, I'm a little confused. On my day old iMac running Mavericks, do I install iDVD from my iLife 11 disk, or somehow copy the app from my existing iMac and install it on my new one?

    Wait, I'm a little confused. On my day old iMac running Mavericks, do I install iDVD from my iLife 11 disk, or somehow copy the app from my existing iMac and install it on my new one?

    The following may be a bit easier set up the new Mac with the same iDVD capability on your old Mac:
    1 - copy your current iDVD application from the old Mac to the Applications folder of the new Mac. The latest version available is 7.1.2.  If you don't have that versoin go to the Apple Downloads site and download the iDVD 7.1.2 updater and run it on your current iDVD application.
    2 - copy the iDVD folder that resides in the old Mac's HD/Library/Application Support folder to the same folder on your new Mac.
    OT

  • Need to make a copy/clone of a table which has sdo_geometry data type

    Folks,
    We are running Oracle 11gr1 on Suse Linux platform.
    We have a requirement, where we need to make a copy of a table, in the same database but in a difference schema, the source table has about 130 millions rows and also has the sdo_getometry data type.
    I tried materialized view, but MV does not support sdo_geometry data type.
    According to one of my DBAs, doing it via data pump , will take few days, which is not acceptable.
    Is there a way, we can make a copy of this table in the same db ?
    Thanks
    Ashish

    Siva,
    This is not for backup purpose.
    Here is the background information on this requirement.
    I need to have a static copy of a table, which has spatial column, sdo_geometry in it.
    So we can run another application against this table, just read-only, since we need static data, data in the source table changes quite often.
    One of my DBA suggested to have another instance/database, to keep the copy of the source table, I thought idea of having another database just to keep a copy of a table is an over kill.
    That is why I had asked this question and you had provided a viable solution.
    Then we need to refresh this table , with the data (changes) from the source table, maybe once in 2- 3 weeks.
    I tried creating a Materialized view, but it does not support Spatial columns.
    So now I am trying to figure out, the most efficient way to refresh the clone table from the source table.
    Regards,
    Ashish

Maybe you are looking for