Solved

How to write VDR windows script to copy backup in USB drives

Posted on 2011-02-15
3
848 Views
Last Modified: 2012-05-11
Please find below details of my requirement.

The steps for backing the RCI up are as follows.
•      Every evening the VDR appliance backs up the VMs in accordance with the specific requirements for that RCI e.g. Planegg RCI does not back up the NT4 server VM
•      Once the backup has completed a script on the VCentre server then copies the backups to USB drive deleting any existing copies
•      Once the copy has completed the script emails Ops and the site support technician to swap the USB drive for the previous days drive for daily backups and the previous weeks for weekly backups
•      The site support technician replaces the USB drive for the correct drive for the next day
Scripts are needed to automate as much of the off line backup of the RCI’s located around the world as not all have a server engineer on site to oversee the process.
The strategy comes in 2 parts
1.      Reporting of the backup status from within the VDR appliance
2.      Copying of the completed backups to USB drive
Reporting backup status within VDR
0
Comment
Question by:Aariz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 34902768
The vDR repository doesn't work that way, you cannot remove it, (remove the backups) because when it tries to re-index or reclaim space it will fail because it missing.

Are you currently running vDR? Try it, remove the vDR repository and see what happens on vDR startup.

What do you plan to do with the USB Backup? Copy it back? I think you need to check and test vDR.

If you want notifications from vDR by email, have a look at this article

http://blogs.vmware.com/uptime/2010/09/would-you-like-an-email-when-vmware-data-recovery-finishes-a-job.html
0
 

Author Closing Comment

by:Aariz
ID: 35727530
thanks
0
 

Author Comment

by:Aariz
ID: 35727533
thanks
0

Featured Post

Schedule a Tour of the ATEN booth at InfoComm 2017

Tour the ATEN booth to see the the Latest Addition to the Modular Matrix Switch Series, New 4K HDMI Over IP Extender and more! Enter ATEN's Ultimate Giveaway Sweepstakes for a chance to win one of several great prizes, including an ATEN US7220 2-Port Thunderbolt 2 Sharing Switch!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question