Solved

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

Posted on 2011-02-15
3
845 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
  • 2
3 Comments
 
LVL 119

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

773 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