Solved

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

Posted on 2011-02-15
3
841 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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
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
Comment Utility
thanks
0
 

Author Comment

by:Aariz
Comment Utility
thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
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…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

762 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now