Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2011-02-15
3
Medium Priority
?
855 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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

885 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