Quantcast
Channel: Software Communities : Popular Discussions - vRanger
Viewing all articles
Browse latest Browse all 1662

BET-based repo synchronization script (reposync03)

$
0
0

Non-official script! Provided on 'as-is' basis.

 

This is a new version of the popular reposync script. (http://communities.quest.com/thread/10839?tstart=0)

Thanks to collaboration with R&D the script works with all repo types. Based on support experience, few extra features have been included.

 

Features:

  1. Supports all repo types.
  2. Depending on immediate goal, synchronizes either whole repo or set of directories.
  3. Thoroughly validates each SP. Practically what Ranger does while importing.
  4. Imports both VM and physical server SPs.
  5. Displays SP being processed at the moment, number of found SPs and processing time for each SP.
  6. Revives retention if an original template (and corresponding job/task) that created imported SPs still exists.
  7. Expires old SPs with given threshold date. Integrity of Incr/Diff set is preserved.
  8. Creates/updates a GlobalManifest (for RW shares) and saves a copy into dump directory.
  9. Keeps extensive log for deeper analysis.

 

Instructions:

  1. Download archive.
  2. Place it on any Windows machine with PowerShell ver. 2 or greater. Script is autonomous, BET are prepackaged. Thus there is no need to execute it from Ranger itself.
  3. Extract files from archive.
  4. Launch PowerShell console as administrator.
  5. Allow script execution if necessary:
    Set-ExecutionPolicy unrestricted
  6. Change directory to the script location, e.g. c:\BETreposync
  7. Execute script
    .\reposync03

 

Note for users with DDBoost repositories.

DDBoost repos proved to be the slowest to import/sync. It does not mean though that this repo type shows bad performance during backup/restore.

The script reads 2 metadata files for each SP. Correspondingly BET metadata.exe is executed.

Just for comparison, single metadata call against CIFS repo takes less than a second. The best result for a single metadata call against DDBoost repo was 4.3 s.

Also there is an open bug for the case where metadata read takes 6 minutes. Devs are looking into the issue, there are few components to check: BET - cygwin - DDBoost API - Datadomain firmware.

 

Tested against vRanger 5.4/5.5 and 6.0.2. Script won't work for Ranger 5.3 or earlier version.

 

01/17/2014 Update. Minor bug for SP manifest reading has been fixed.

In contrast to reposync02 (still very popular), BET-based handles long SP path properly.


Viewing all articles
Browse latest Browse all 1662

Trending Articles