Is it possible to implement the health check (crc) in the old copy job. The old copy job is very useful to backup the vbk file to an external disc, but there is no crc check and also no e-mail notification possible.
We ask this feature request because the veeam backup copy job is not ready for removable external media.
-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 22, 2013 12:15 pm
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Removable external media
Griet,
Can you please clarify your request? Are you referring to file copy jobs to move backup files to external disk? Also can you please tell me what issues you've encountered with backup copy jobs while targeting them to external media?
Thanks for the feedback!
Can you please clarify your request? Are you referring to file copy jobs to move backup files to external disk? Also can you please tell me what issues you've encountered with backup copy jobs while targeting them to external media?
Thanks for the feedback!
-
- Novice
- Posts: 3
- Liked: never
- Joined: Oct 22, 2013 12:15 pm
Re: Removable external media
Indeed file copy jobs to move backup files to external disk.
The problem with the backup copy job and external media is the switch between the media. We need to delete the repository and create a new set each time the external disc is switches. For the moment this problem is fixed with a ps script that runs after the veeam backup job.
With this script there are still some circumstances where the jobs reports a failed or warning status.
The problem with the backup copy job and external media is the switch between the media. We need to delete the repository and create a new set each time the external disc is switches. For the moment this problem is fixed with a ps script that runs after the veeam backup job.
Code: Select all
# Import Veeam Snapin and we do not want Errors
asnp -Name VeeamPSSnapin -ErrorAction SilentlyContinue
# JobName here
$jobName = "Backup Copy Job"
# Get Backup Specs
$backup = Get-VBRBackup -Name $jobName
# Get FilePath
$backupfilepath = ($backup.GetStorages() | ?{$_.GetStorageType() -eq "vbk"}).FilePath
# Get Directory for deleting
$backupdirpath = ($backup.GetStorages() | ?{$_.GetStorageType() -eq "vbk"}).DirPath
# If current active VBK is found on media then media has not been rotated
if (-not(Test-Path "$backupfilepath")) {
# Current active VBK was not found indicating media has been changed
# First DisableScheduler, If not then the Copy Job will Create a new Directory like $Jobname_1
# Get-Job Object
$CopyJob = Get-VBRJob -Name $jobName
# Disbale Scheduler
$CopyJob.DisableScheduler()
# then Wait until Job is Stopped (and is not running anymore)
while (-not($CopyJob.IsStopped())) {
# Do Nothing
}
# If stopped then Delete from VeeamGUI
$backup.Delete()
# Remove Backup Files from Media
if (Test-Path "$backupdirpath") {
# Remove whole Directory
Remove-Item -Path "$backupdirpath" -Recurse
}
# Enable Scheduler
$CopyJob.EnableScheduler()
}
-
- VP, Product Management
- Posts: 27371
- Liked: 2799 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Removable external media
Ok, thanks for your feedback again. We are planning to enhance our support for scenarios with backup copy jobs and rotated drives used as a backup repositories in our next releases.
Who is online
Users browsing this forum: Bing [Bot], Lesslhumer, Semrush [Bot], Steve-nIP and 166 guests