VMDK_FILES_TO_BACKUP: Vmdk bearing the same name

What I will meet the following when you try to install ghettoVCB.

I want than backup discs connected to the VM Windows to exclude from ghettoVCB. We have 2 data warehouses, one with al main drives and the other with backup discs. Since we have 2 data warehouses these two discs VMDK names are identical. How can I specify the backup disk to be excluded when runnning ghettoVCB or is there a possibility to exclude a whole routine backup data store?

Hi SteeWell,

As @jpgillivan said, it's probably a good idea not to have the same name right for VM even VMDK as it can become confusing if you must manually manipulate an individual disk, but that said, it's always a taken use case supported by ghettoVCB.

First of all, you can have the computer virtual disk extend store multiple data, and usually when you so, host ESX (i) will automatically ensure the VMDK (s) is unique, at least that's what I saw in ESX (i) 4.x and 5.0. The only way that I knew you could get EXACTLY the same name is that if you renamed manually the VMDK (s), otherwise if you have to say 2 VMDK (s) which is spread over two data stores they would call something like this by VMware:

[datastore 1] myvm/myvm.vmdk

[datastore 2] myvm/myvm_1.vmdk

As you can see, the two VMDK (s) have unique names and there are a number that auto-increments based on the number of VMDK (s) and this would allow you to easily exclude or include the VMDK (s) you want to backup.

In any case, if you had somehow the following configuration:

[datastore 1] myvm/myvm.vmdk

[datastore 2] myvm/myvm.vmdk

which is always supported in a perspective of ESX (i), the good thing about how it is actually stored in the .vmx file is the full path to other VMDK (s) who don't residence not in the backend configuration data. (e.g. vmfs/volumes / [datastore uuid]/myvm/myvm.vmdk). ghettoVCB will then list the VMDK (s) the user wishes to exclude and then match it against the list of the VMDK (s) identified by users.

So here's an example:

TEST has 2 VMDK (s)

* TEST.vmdk (located in the same directory as the .vmx)

* TEST.vmdk (located in another data store)

If you have run just dryrun mode, you will see the following text:

2011-11-20 23:17:58 - dryrun: #.
2011-11-20 23:17:58 - dryrun: Virtual Machine: TEST
2011-11-20 23:17:58 - dryrun: VM_ID: 2983
2011-11-20 23:17:58 - dryrun: VMX_PATH: /vmfs/volumes/himalaya-local-SATA-intel.510:0/TEST/TEST.vmx
2011-11-20 23:17:58 - dryrun: VMX_DIR: /vmfs/volumes/himalaya-local-SATA-intel.510:0/TEST
2011-11-20 23:17:58 - dryrun: VMX_CONF: TEST/TEST.vmx
2011-11-20 23:17:58 - dryrun: VMFS_VOLUME: Himalayas local SATA intel. 510:0
2011-11-20 23:17:58 - dryrun: VMDK (s):
2011-11-20 23:17:58 - dryrun: /vmfs/volumes/4d8abe51-234bb8da-6db2-003048d9586b/TEST/TEST.vmdk 2 GB
2011-11-20 23:17:58 - dryrun: TEST.vmdk 1 GB
2011-11-20 23:17:58 - dryrun: VMDK (s) INDEPENDENT:
2011-11-20 23:17:58 - dryrun: TOTAL_VM_SIZE_TO_BACKUP: 2 GB
2011-11-20 23:17:58 - dryrun: #.

If you only wantd to TEST.vmdk, then your backup config would look like:

VMDK_FILES_TO_BACKUP = "test.vmdk"

If you want only the other TEST backup. VMDK, then your config would be loo like:

VMDK_FILES_TO_BACKUP="/vmfs/volumes/4d8abe51-234bb8da-6db2-003048d9586b/test/test.VMDK".

As you can see, even if the virtual machine has 2 VMDK (s) exactly the same name, the script is able to determine that you want to backup, as long as you specify the path to the desired VMDK.

I hope this makes sense

Tags: VMware

Similar Questions

  • Creating a view of mast bearing the same name with the name of the table

    Hello world

    After having dropped the name of view mast QQ. "" TRDLN_DIM_MV ", I try to recreate by having the same name as the table, but I got an error message stating that"the name is already used by an existing object. How to create a matte view to resemble the object possessed by schema 'GQ', with a name identical to the name of the table, drop the table?

    OWNER_O CREATED LAST_DDL_ TIMESTAMP STATUS OBJECT_NAME OBJECT_TYPE
    ===
    GQ MATERIALIZED VIEW 5 NOVEMBER 08 2008 13 DECEMBER 08-11 - 05:06:31:46 TRDLN_DIM_MV VALID
    GQ TABLE 5 NOVEMBER 08 2008 15 DECEMBER 08-11 - 05:06:31:00 TRDLN_DIM_MV VALID
    QQ TABLE 17 AUGUST 07 16 MARCH 09 2007-08 - 17:17:05:21 TRDLN_DIM_MV VALID

    SQL & gt; CREATE THE QQ MATERIALIZED VIEW. TRDLN_DIM_MV
    2 TABLESPACE FPLC01S
    3 NOCACHE
    4 NOLOGGING
    5 PACK
    6 PARALLEL (DEGREE 1 2 INSTANCES)
    7 BUILD IMMEDIATE
    8 REFRESH FORCE ON REQUEST
    9 WITH PRIMARY KEY
    10 AS
    11 Select / * + NO_REWRITE * / trdln_id,.
    trdln_skid 12,
    trdln_end_date 13,
    FIRST_VALUE (trdln_end_date) 14 over (partition by order of trdln_id trdln_end_date DESC) as MaxDate
    15 QQ.trdln_dim;
    of QQ.trdln_dim
    *
    ERROR on line 15:
    ORA-00955: name is already used by an existing object

    I appreciate your help. Thanks in advance!

    Kind regards
    Radic

    You must rename the table (using ALTER TABLE TableName RENAME to othername ;) before creating the MV.
    You cannot have both existing with the same name in the same schema.

    What you see in the scheme of GQ, is that the 'picture' is the underlying table for the materialized view.
    When you do a MY_MV CREATE MATERIALIZED VIEW AS...
    Oracle creates two objects with the same name, we the MY_MV materialized view, and the other being the MY_MV table, which is the physical storage. {Don't forget that a materialized view is a way to get a physical representation of views.}

    In the schema QQ is what you
    a. a real Table
    or
    b. a MV incorrectly deleted, resulting in the underlying Table always presents.

  • BlackBerry Z30 two BBs bearing the same names of device

    I had a Z10and I replaced it with a Z30. When I made the switch I saved the Z10 and then the Z30 and transferred all my data. address book, email, pictures, etc. In the process of link Blackberry gave my new Z30 the same device as the Z10 name. This wasn't a problem until a few weeks before when I reactivated the Z10 for my wife to use. Now they both have the same device name. How can I change one of them without screwing all the parameters, etc.

    intrigued,

    Pat

    I assume that you mean the name you give the camera. And I guess that link assigns a name if you do not enter a unit. To consult me, look at settings > on > device name.

    So, if I am followed, remove or delete the link Z10, change the name of the device and add it to the link with the new name.

    In addition, if you do not, you should do a wipe of the Z10 security and implemented with BBID your wife. And be familiar with BlackBerry protect against theft, first of all, if it applies.  http://support.BlackBerry.com/kb/articleDetail?ArticleNumber=000036737

  • InDesign CS4 bookmarks can cause the same name?

    Hello

    I am a new user of Indesign CS4 and have recently created a 388 pages in PDF with bookmarks entered using the bookmarks of Indesign Panel.  However, in the PDF, I find that if a bookmark in a chapter has the same name as one bookmark in another chapter, then clicking on the first bookmark takes you to the page indicated the second - as if somehow to create the second bookmark has "substituted" the page of the first reference.

    I me assuming that bookmarks have their own unique ID and what to say, with a bookmark called "Economic factors" in Chapter 1, and a bookmark bearing the same name in Chapter 2, would agree.  However, in the PDF I created from Indesign, this isn't the case.

    Please can someone advise?  I'm doing something wrong?

    Best regards

    Sarah

    I played and I'm able to reproduce your results in certain circumstances. I think it is a bug, and it's there in CS5, too.

    I also found a workaround, but there will be a LOT of work in a doc where you already have created bookmarks. As I said, this happens in certain circumstances in my tests, especially when you highlight the text and create the new bookmark and accept the name of the bookmark in the highlighted text. Even change the name of the selected text does not appear to make a difference, at the time of creation or thereafter. On the other hand, so simply, you place the cursor to the location of the text and make a new bookmark, the default name will bookmark N (N is a sequence number) and you can change it to what you want.

    I made two sets of bookmarks nested covering different pages and names them ALL identically. They all work correctly, if my guess is that the bookmark resumes the name of highlighted text, but a number of generic sequence of a plain insertion point and everything is picked up sticks. If you take the same name you no longer have an identifier unique, and that leads to the same problem of destination, but I want to emphasize this is just a guess.

    So that this works, you must recreate the bookmark. You cannot rename.

    I filed a bug on this.

  • A virtual machine or the template with the same name is already registered. Server error: the specified key name or identifier already exists.

    Hi all

    I have a 5.5 esxi server just the a virtual machine running at the moment. I try to clone this as shown below:

    http://nchrissos.WordPress.com/2013/04/22/cloning-a-VM-without-vCenter-in-ESXi-5-1-free-edition/

    However, I get the error:

    A virtual machine or the template with the same name is already registered. Server error: the specified key name or identifier already exists.

    I have no vcenter (yet), and it's just the 1 vm. The virtual machine is turned off. I get this error regardless of the name, I said that when I choose "add to the inventory.

    All advice appreciated.

    Thank you

    Oh dear...
    you read bad advice on the internet and then you get also the stupid advice here.

    Ignore both!

    If you want to clone a virtual machine by copying - do it like this:

    Create new virtual machine with the wizard.
    Skip creating a disk for new customers.

    In Datastorebrowser copy the original vmdk to the new dir, which has been created by the wizard.
    Reopen the new VM and edit - assign the vmdk that you just copied.

    The procedure of the blog is not supposed to work.
    Sissine trick doesn't make sense either

  • Two or more drives have the same name!

    Hi all

    In my wisdom, I created a server with multiple disks on multiple LUNS and now I want to replicate this server on my backup on a NAS drive.  When I try to reproduce this server I get the following error message (all other disc thin servers);

    Two or more records with the same name. These disks may not be replicated to the same location. You must configure replications of disc individually.

    I can't for the life of me see a way around this, unless I can rename the VMDK?   But it seems a bit risky...

    Any help much appreciated

    Stuart

    This should help you...

    Multi-disc about replication in a common directory with vSphere Replication | VMware vSphere Blog - VMware Blogs

  • How can I create 2 albums in the same name and the same artist

    The guy is anyway to make the 2 albums in the same name for the same artist? If there is no way so please someone tell me how can I suggest updating to iTunes

    Faisal,

    If they have the same artist and eponymous album, iTunes will think they are from the same album.  The best way would be to change the title for the second version, for example 'Loveless' and 'Loveless 2.'  Or you could put parts in separate lists.

    If you don't want to make a suggestion to Apple, here's the link:

    http://www.Apple.com/feedback/itunesapp.html

    "In the dropdown for" Type of comment ", select"Enhancement request.""

  • How is it all my email that comes from facebook comes with the same name

    All the mail that comes from my facebook has the same name as wenfel sand when his mother, wife, friend ect.
    What I've done and how to fix

    Because somewhere along the way you have saved an email from Facebook to your address book, and it has a name associated with it. Will find this contact in the address book and delete the name.

  • where to save the files under options the file name is duplicated how to remove an additional folder with the same name

    Under Options in Firefox, I clicked on save the files under downloads, but the file name twice and an additional file with the same name is created in the folder, i.e.:

    G:\Akbar's Songs\HAMARA DOWNLOADS\HAMARA FORUMS DOWNLOADS FORUMS

    As you can see the file repeats, how can I fix it?

    Also the music files, I download from a site of downloads as a WinRar file and I need to open it. Y at - it an option where the file opens automatically in the folder I chose?

    Thanks a lot for your help.

    Hi Akush, when you install 7 - zip, make itself the default application to open .zip and .rar files. So if you double click on the .rar file, it should open in 7 - zip. If you prefer to decompress immediately, right click the file and look for new 7 - zip items in the menu. I can't think of a way to do this automatically, however.

  • I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    I have 2 bookmarks with the same name but different stuff in them. I want to remove one, but pass the contemts remaining bookmark

    This is the first mention you made records. See this - https://support.mozilla.org/en-US/kb/Sorting%20bookmarks#w_rearranging-manually - and move individual bookmarks from one folder to the other folder. You may need to press the Alt key to display the Menu bar and the View menu item.

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

  • How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    I find easier to use this copy separate Automator Service (download Dropbox).

    To install in your numbers > Services, double-click menu just the package downloaded .workflow and if necessary give permissions in system preferences > security & privacy.

    To use, just:

    1. Select the cells in the column with duplicate names.
    2. Choose separate copy in numbers > Services menu.
    3. Click once in the upper cell where you want the deduplicated values appear.
    4. Command-v to paste.

    SG

  • Problem in creating several attributes XML with the same name of the attribute

    I am trying without success trying to create several attributes XML with the same name, as shown here in a Microsoft example configuration file:



      
         
         
         
      

    I'm calling the NewDocument GetRootElement functions and then "newelement" (appSetting), "newelement" (add)

    Then I call AddAttribute with add, key & Key0, then with add, value & 0.  This seems to work fine but when I try to add the second pair of key & Key1 and value attributes & 1 for item "Add" replaces ""and I find myself with"" only.

    I do something wrong or CVI is not able to create an XML of this type?

    Thank you

    Here's how you do it. I show not to keep things simple error checking.

    #include

    public static void CreateAddElement (mother of CVIXMLElement, const char * key, const char * value)
    {
    Add the CVIXMLElement;
    CVIXMLNewElement (parent, -1, 'Add', &add);)
    CVIXMLAddAttribute (add, "touch", key);
    CVIXMLAddAttribute (add, "value", value);
    CVIXMLDiscardElement (add);
    }

    void main (void)
    {
    CVIXMLElement root, and appSetting;
    Doc CVIXMLDocument.
     
    CVIXMLNewDocument ("configuration", &doc);)
    CVIXMLGetRootElement(doc, &root);)
    CVIXMLNewElement (root,-1, "appSetting", and appSetting);
    CreateAddElement (appSetting, "Key0", "0");
    CreateAddElement (appSetting, "Key1", "1");
    CreateAddElement (appSetting, "Key2", "2");
    CVIXMLDiscardElement (appSetting);
    CVIXMLDiscardElement (root);
    CVIXMLSaveDocument (doc, 1, "c:\\temp\\temp.xml");
    CVIXMLDiscardDocument (doc);
    }

  • How can I change an application to use another library with a different name but the same name for public (easily)?

    When you perform comparisons between the programming approaches I create two libs with the same public calls but different internal components. Nothing special there. Unfortunately when I pass my test app to a lib to another, the application loader asks an all audiences of vi. But I thought I read somewhere that the application loader would get the idea where to look after that I saw the first public call to the new lib. Doesn't seem to work. With the help of 2010.

    Pull the lib not used out of the machine. Rename the current library under the same name that you used. Project save everything. Close to LabVIEW. Remove the current lib. Copy the another lib to the machine. Not necessarily easy but here's how I did similar exercises in the past.

  • Why would I have a queue in two different vi generate a sepearte refnum, if they have the same name?

    Hello world!

    I have a producer consumer configuration, where the producer and the consumer are in sepearte vi.  They have the same name, but do not communicate their existence to the other for getting queue function.  Therefore, only one is valid, the other ends up invalid.  If I check the renum for each loop, they are different.  Assumptions?

    Destory queue has been wired for real in the Subvi, force to destroy the queues.  Thus, the queue was invalidated and then recreated in the other vi.

Maybe you are looking for