Host-based backup of VMware vSphere VMs.
Post Reply
hm-hmason
Novice
Posts: 6
Liked: never
Joined: Sep 19, 2017 1:49 pm
Full Name: Heath Mason
Contact:

Scanning Repository in DR Site

Post by hm-hmason »

We are using Veeam Backup and Replication 9.5u3 and are backing up to ddboost shares on a data domain. This share is then replicated via the data domain to our DR site as a read-only share. In the DR site, we have a second installation of Veeam B&R that has the read-only copy setup as a repository there. In order to have the latest copy of the backups in the remote repository, we have to scan it from the Veeam server and this is getting to where it takes a little over 2 hours to scan. The only way I've found to do this is to launch the DR console and manually scan the repository. Is there a way to set it up so that the repository can be scanned on a daily basis either via Veeam or even from possibly a scheduled PS script? Thanks.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Scanning Repository in DR Site

Post by veremin »

You can schedule a PS script to rescan repository periodically:

Code: Select all

Asnp VeeamPSSnapin
$Repository = Get-VBRBackupRepository -Name "Name of your backup repository"
Rescan-VBREntity -Entity $Repository
Thanks.
ihussain
Influencer
Posts: 14
Liked: never
Joined: Feb 03, 2018 10:11 pm
Full Name: I Hussain
Contact:

Re: Scanning Repository in DR Site

Post by ihussain »

The above PS script works when used pre-job but it doesn't allow time for the repo scan to fully complete before continuing with the job. How may one add a wait time at the end of the script before the subsequent task in the job starts?
Andreas Neufert
VP, Product Management
Posts: 6707
Liked: 1401 times
Joined: May 04, 2011 8:36 am
Full Name: Andreas Neufert
Location: Germany
Contact:

Re: Scanning Repository in DR Site

Post by Andreas Neufert »

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 71 guests