4 Replies Latest reply on Mar 3, 2011 2:56 PM by mwalters1

    Where is my datastore's address for VM's

    mwalters1 Lurker

      I am trying to setup "ghettoVCBg2" and it calls for:

       

       

      Defining the datastore in which the backups are stored:

       

       

      Example:

      my $VM_BACKUP_DATASTORE = "dlgCore-NFS-bigboi.VM-Backups";

       

       

       

       

      How  can I find out where my VM's are exactly being stored on my ESXi  server?  I have internal harddrives in my ESXi host that hold the VM's. 

       

       

      Thank you,

      Mike

        • 1. Re: Where is my datastore's address for VM's
          lamw Guru
          VMware EmployeesCommunity Warriors

          Hi Mike,

           

          This variable as stated by the documentation is the name of the datastore in which you will be _backing_ up your VMs to. This datastore can be a local volume or a remote volume such as iSCSI/FC/NAS. If you login to your ESXi host using the vSphere Client, you should see some datastores in which you can create VMs, you basically need to specify a datastore that will be used to store your backups.

          • 2. Re: Where is my datastore's address for VM's
            mwalters1 Lurker

            Hi WIlliam,

             

            I understand what needs to be there but I am unsure how to specify it.  I have my ESXi server on an IP address and the datastore is the local hard drives on that server.  Do I put this for the location?

             

            "192.168.1.XX/Internal HDD"

             

            "IP of box / name of datastore"

             

             

            Thanks,
            Mike

            • 3. Re: Where is my datastore's address for VM's
              lamw Guru
              Community WarriorsVMware Employees

              Mike,

               

              You specify it by specifying the name of your datastore you will be using to backup your VMs. If you login to the ESXi host, on the right hand side of the summary you should see a "Datastore" section, you need to specify the datastore in which you will use to backup.

               

              Here is an example screenshot:

              3-1-2011 10-22-56 PM.png

              So if your datastore was named "backup", then you will use that name for the variable.

               

              It sounds like you may not be completely familiar with using vSphere ESXi, I would highly recommend you familiarized yourself with ESXi before using this script. This script is not meant for beginners

              • 4. Re: Where is my datastore's address for VM's
                mwalters1 Lurker

                Hi William,

                 

                Here is my datastore like posted above:

                vm_example.jpg

                 

                I don't believe "Internal HDD" is going to be enough information for your script to find the datastore.  I don't understand your example:

                 

                my $VM_BACKUP_DATASTORE = "dlgCore-NFS-bigboi.VM-Backups";

                 

                I suppose this is the hostname.datastore?  I however do not have a hostname setup.  Our server is on our internal network 192.168.1.XX.  How do I specify the datastore so your script can recognize the location of the Virtual Machines?

                 

                 

                I currently am getting the "unable to locat VM: xxxxxxx"  error.

                 

                 

                 

                 

                Thank You for your help,
                Mike