PowerShell script exchange
Post Reply
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

So my question is, if I have '-AutoDelete 'In2Weeks’' - who is responsible of the erasing?
Backup server.
Also, If I doesn't want to autodelete the backup after the backup is done, How can I remove this 'auto delete' parameter from the backup file? ( after the file is already created with the -autodelete option )
Copy backup to a different location.
MiguelLagos
Lurker
Posts: 2
Liked: never
Joined: Apr 07, 2017 12:37 am
Full Name: Miguel Angel Lagos
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by MiguelLagos »

I started to use Mr. Eremin script with Veeam Backup Free Edition 9.5 update 1 on Windows 2016 Server with Hyper-v.

When I run it I obtain this error message: Start-VBRZip: Cannot validate argument on parameter 'Entity'. The argument is null. Provide
a valid value for the argument, and then try running the command again.

I debugged the script running the commands from the PS prompt:

PS c:\Get-VBRServer -name "myserver.mydomain.com" (It's OK)

PS c:\$Server = Get-VBRServer -name "myserver.mydomain.com" (It's OK)

PS c:\$VMName = "MyVM" (It's OK)

PS c:\Find-VBRHvEntity -Name $VMName -Server $Server (It returns nothing)

No error message, just nothing.
Any idea?
MagnaVis
Influencer
Posts: 10
Liked: 2 times
Joined: Nov 06, 2015 5:05 pm
Full Name: Ricky
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by MagnaVis »

MiguelLagos wrote:PS c:\Find-VBRHvEntity -Name $VMName -Server $Server (It returns nothing)
Have you done

Code: Select all

Write-Host $Server
to make sure the variable holds the correct value? The only reason I could see your command coming back empty is if the VMName or Server aren't set correctly. Is there a larger reference for the Find-VBRHvEntity command? Is there a way to run it without variables to see what it comes back with?

I can check a few things on my 2016 environment at work tomorrow when I get in if you haven't fix it by then.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Can you try to input one of the following one-liners and see whether VM with the said name gets returned among other HV entities:

Code: Select all

Find-VBRHvEntity -Server $Server

Code: Select all

Find-VBRHvEntity -Server (Get-VBRServer -name "name of your server")


Thanks.
BpMaster
Lurker
Posts: 1
Liked: never
Joined: Apr 13, 2017 6:43 am
Full Name: Felix Mayer
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by BpMaster »

Hey Guys,

can everyone help me with this error message? I extended the Powershell script to automatically integrate virtual machines, but it doesn't work. :(

Code: Select all

# Names of VMs to backup separated by comma (Mandatory). For instance, $VMNames = “VM1”,”VM2”
$Ausgabe = ''
$VMs = (Get-VM)
foreach ($VM in $VMs) {
    $Ausgabe = $Ausgabe + '"' + $VM.Name + '",'
}
$VMNames = $Ausgabe.trimEnd(',')
Unfortunately in german :/

Code: Select all

Find-VBRHvEntity : Das Argument für den Parameter "Server" kann nicht überprüft werden. Das Argument ist NULL. Geben Sie einen gültigen Wert für das Argument an, und führen Sie den Befehl 
erneut aus.
In D:\Tools\Veeam_Backup.ps1:82 Zeichen:48
+   $VM = Find-VBRHvEntity -Name $VMName -Server $Server
+                                                ~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Find-VBRHvEntity], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Veeam.Backup.PowerShell.Cmdlets.FindVBRHvEntity
 
Start-VBRZip : Der Parameter "Entity" kann nicht gebunden werden. Der Wert "Microsoft.HyperV.PowerShell.VirtualMachine" vom Typ "Microsoft.HyperV.PowerShell.VirtualMachine" kann nicht in 
den Typ "Veeam.Backup.Common.IItem" konvertiert werden.
In D:\Tools\Veeam_Backup.ps1:92 Zeichen:40
+     $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $Comp ...
+                                        ~~~
    + CategoryInfo          : InvalidArgument: (:) [Start-VBRZip], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Veeam.Backup.PowerShell.Cmdlets.StartVBRZip
 
Es ist nicht möglich, eine Methode für einen Ausdruck aufzurufen, der den NULL hat.
In D:\Tools\Veeam_Backup.ps1:97 Zeichen:5
+     $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().updatedrecords
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
 
Ausnahme beim Aufrufen von "Send" mit 1 Argument(en):  "Fehler beim Senden von Mail."
In D:\Tools\Veeam_Backup.ps1:119 Zeichen:1
+ $SMTP.Send($Message)
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SmtpException
Any idea?
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

It means that $Server variable contains Null value, thus the script fails. Check how this variable gets assigned - the proper name is used, this server exists indeed and can be seen in backup console, etc. Thanks.
Mike Resseler
Product Manager
Posts: 8191
Liked: 1322 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Mike Resseler »

There is another thread that looks like it had the same problem: powershell-f26/nothing-happens-when-i-e ... 37-15.html

v.Eremin has posted a script over there to check whether the Variables get populated. (in the other thread, the name of the VM was wrong)

Code: Select all

Asnp VeeamPSSnapin
$VMName = "nameVMasSeenInHyperVManager"
$HostName = "HyperVHostName"
$Server = Get-VBRServer -name $HostName
$Server
$VM = Find-VBRHvEntity -Name $VMName -Server $Server
$VM
Can you run this to check if the $Server and $VM variables get populated and post the results?
Hawkest1977
Lurker
Posts: 2
Liked: never
Joined: May 03, 2017 3:46 pm
Full Name: Tasha Hawkes

[MERGED] Powershell script failing for scripted backups?

Post by Hawkest1977 »

Hello,

I am getting this same error. However; I am using the right one for VMware.
I am not sure what the issue is.

Code: Select all

Asnp VeeamPSSnapin

$Server = Get-VBRServer -name $HostName
$MesssagyBody = @()

foreach ($VMName in $VMNames)
{
  $VM = Find-VBRViEntity -Name $VMName -Server $Server
  
  If ($EnableEncryption)
  {
    $EncryptionKey = Add-VBREncryptionKey -Password (cat $EncryptionKey | ConvertTo-SecureString)
    $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention -EncryptionKey $EncryptionKey
  }
  
  Else 
  {
    $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention
  }
  
  If ($EnableNotification) 
  {
    $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().updatedrecords
    $FailedSessions =  $TaskSessions | where {$_.status -eq "EWarning" -or $_.Status -eq "EFailed"}
  
  if ($FailedSessions -ne $Null)
  {
    $MesssagyBody = $MesssagyBody + ($ZIPSession | Select-Object @{n="Name";e={($_.name).Substring(0, $_.name.LastIndexOf("("))}} ,@{n="Start Time";e={$_.CreationTime}},@{n="End Time";e={$_.EndTime}},Result,@{n="Details";e={$FailedSessions.Title}})
  }
   
  Else
  {
    $MesssagyBody = $MesssagyBody + ($ZIPSession | Select-Object @{n="Name";e={($_.name).Substring(0, $_.name.LastIndexOf("("))}} ,@{n="Start Time";e={$_.CreationTime}},@{n="End Time";e={$_.EndTime}},Result,@{n="Details";e={($TaskSessions | sort creationtime -Descending | select -first 1).Title}})
  }
  
  }   
}
If ($EnableNotification)
{
$Message = New-Object System.Net.Mail.MailMessage $EmailFrom, $EmailTo
$Message.Subject = $EmailSubject
$Message.IsBodyHTML = $True
$message.Body = $MesssagyBody | ConvertTo-Html -head $style | Out-String
$SMTP = New-Object Net.Mail.SmtpClient($SMTPServer)
$SMTP.Send($Message)
}
The error I get is as follows,

Code: Select all

Find-VBRViEntity : Cannot validate argument on parameter 'Server'. The argument is null. Provide a valid value for the argument, and then try running the command again.
At C:\Users\administrator.RTTECHDEV\Desktop\Backup.ps1:45 char:48
+   $VM = Find-VBRViEntity -Name $VMName -Server $Server
+                                                ~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Find-VBRViEntity], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Veeam.Backup.PowerShell.Cmdlets.FindVBRViEntity
 
Start-VBRZip : Cannot validate argument on parameter 'Entity'. The argument is null. Provide a valid value for the argument, and then try running the command again.
At C:\Users\administrator.RTTECHDEV\Desktop\Backup.ps1:55 char:40
+     $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $Comp ...
+                                        ~~~
    + CategoryInfo          : InvalidData: (:) [Start-VBRZip], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationError,Veeam.Backup.PowerShell.Cmdlets.StartVBRZip
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

This means that $Server variable contains $Null value. Are you positive that you've input a correct server name and that the server is added to a backup console under the very same name?

Run this code and see whether it returns anything:

Code: Select all

Asnp VeeamPSSnapin
$Server = Get-VBRServer -name "Name of your server"
$Server
Thanks.
Hawkest1977
Lurker
Posts: 2
Liked: never
Joined: May 03, 2017 3:46 pm
Full Name: Tasha Hawkes

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Hawkest1977 »

Yes, I got it working but now it will only back up three of the five VM's in the list. I am trying to get this to run as a scheduled task, which does not seem to work well with powershell scripts. I am half way there. However; I am not sure why it will only back up a few of the listed VM's. If I run it in PowerShellISE, it works perfectly. Just not with Powershell itself.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Hmm, strange. Will a script return all five VMs, if you run the following line:

Code: Select all

foreach ($VMName in $VMNames)
{
  $VM = Find-VBRViEntity -Name $VMName -Server $Server
  $VM
}
Also, what PS version are you using? And aren't you backing up VMs to CIFS share by any chance?

Thanks.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Hey, everyone, Update 2 with -NetworkCredentials parameter for Start-VBRZip cmdlet has just become available, which means previous tricks with tweaking permissions on target share are no longer needed. Enjoy.
nzorn
Influencer
Posts: 24
Liked: never
Joined: Nov 13, 2014 2:57 pm
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by nzorn »

Sweet! Do you think the blog/script listed on the the first post (https://www.veeam.com/blog/veeam-backup ... shell.html) will be updated to include this?
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

I haven't thought about updating my original blog post, as changes needed seem quite trivial (may be just to me).

Basically, to make script work with network shares you have to specify share path and credentials to connect to it, using -Folder <String> and -NetworkCredentials <PSCredential> parameters, accordingly.

Thanks.
shlomia
Influencer
Posts: 19
Liked: never
Joined: Mar 20, 2017 3:40 pm
Full Name: Shlomi Avraham
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by shlomia »

Hi People,
How is it possible to specify backup proxy in the jobs?
this is the script I'm running:
D:\VeeamScripts\VeeamZip.ps1 –VM ‘VirtualMachineName’ –Destination ‘\\storage\backup\VeeamBackup’ –AutoDelete 'In2Weeks’ –Compression 5 –DisableQuiesce $false

I added windows server as backup proxy but I have no clue how to specify the job to use it.

Thank you
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Free edition does not support usage of proxy servers. Thanks.
Matthi-W
Novice
Posts: 5
Liked: never
Joined: Jun 12, 2017 7:16 am
Full Name: Matthias Walther
Contact:

[MERGED] Retention is not working

Post by Matthi-W »

Hello,

My Konfiguration: PC with Windows 7, VEEAM Backup & Recovery Version 9.5.0.823 Free Version, HyperV 2008 R2 Cluster, Synology DS416 NAS 10TB Raid 5
i use this script below, that i have a little modified.
Backup is working correctly, but the Retention is not work. First i have installed Version 9.0 Update 2. With this Version the Script and retention is working proberly. After Update to Version 9.5.0.823 the Retention is not working. I use the Retention with "In1Week". After 7 Day's the VeeamZIP Files are not removed and remain in the specified location.
Could anyone help me, please.

Code: Select all

# Veeam Script ####################################################################

# Author: Vladimir Eremin
# Created Date: 3/24/2015
# http://forums.veeam.com/member31097.html
#

##################################################################
#                   User Defined Variables
##################################################################

# Names of VMs to backup separated by comma (Mandatory). For instance, $VMNames = “VM1”,”VM2”
#$VMNames = "SRV002"
$VMNames = "SRV002","SRV001","SRV007","SRV008","SRV006","SRV003","SRV004","SRV005"

# Name of vCenter or standalone host VMs to backup reside on (Mandatory)
$HostName = "CL001"

# Directory that VM backups should go to (Mandatory; for instance, C:\Backup) 
$Directory = "\\nas002\Backup"
# $Repository = ""

# Desired compression level (Optional; Possible values: 0 - None, 4 - Dedupe-friendly, 5 - Optimal, 6 - High, 9 - Extreme)
$CompressionLevel = "5"

# Quiesce VM when taking snapshot (Optional; VMware Tools are required; Possible values: $True/$False)
$EnableQuiescence = $False

# Protect resulting backup with encryption key (Optional; $True/$False)
$EnableEncryption = $True

# Encryption Key (EncryptionKey, (Description) Which is stored in the GUI under Managed Passwords, can also be retrieved via Powershell with Get-VbrEncryptionKey)
#$EncryptionKey = "C:\Scripts\SecureString.txt" #not used in the current configuration
$Encryption_Description="Name_Encryption" # Instead, the password specified in the GUI with the specified name is used
# The reason for this is, in the original script, a new password is added with each pass and the identifier is given a date

# Retention settings (Optional; By default, VeeamZIP files are not removed and kept in the specified location for an indefinite period of time.
# Possible values: Never , Tonight, TomorrowNight, In3days, In1Week, In2Weeks, In1Month)
$Retention = "In1Week"

##################################################################
#                   Notification Settings
##################################################################

# Enable notification (Optional)
$EnableNotification = $True

# Email SMTP server
$SMTPServer = "smtp.gmail.com"

# Email FROM
$EmailFrom = "sender@mailaddress.de"

# Email TO
$EmailTo = "recipient@mailaddress.de"

# Email subject
$EmailSubject = "VeeamBackup_" + $VMNames

# Email User
$EmailUser= "sender@mailaddress.de"

#EMailPassword
$EmailPassword="Password"

##################################################################
#                   Email formatting
##################################################################

$style = "<style>BODY{font-family: Arial; font-size: 10pt;}"
$style = $style + "TABLE{border: 1px solid black; border-collapse: collapse;}"
$style = $style + "TH{border: 1px solid black; background: #dddddd; padding: 5px; }"
$style = $style + "TD{border: 1px solid black; padding: 5px; }"
$style = $style + "</style>"

##################################################################
#                   End User Defined Variables
##################################################################

#################### DO NOT MODIFY PAST THIS LINE ################
Asnp VeeamPSSnapin

$Server = Get-VBRServer -name $HostName
$MesssagyBody = @()

foreach ($VMName in $VMNames)
{
  $VM = Find-VBRHvEntity -Name $VMName -Server $Server

  If ($EnableEncryption)
  {
    #$EncryptionKey = Add-VBREncryptionKey -Password (cat $EncryptionKey | ConvertTo-SecureString -AsPlainText -force )
    #Script changed here, because otherwise every time a new key is generated. Please use the GUI under Managed Passwords to create a key
    #EncryptionKey create once manually in the GUI and specify the name, always is used this password.
    $EncryptionKey = Get-VBREncryptionKey -Description $Encryption_Description
    $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention -EncryptionKey $EncryptionKey
  }
 
  Else
  {
    $ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention
    #$ZIPSession = Start-VBRZip -Entity $VM -BackupRepository $Repository -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention
  }
 
  If ($EnableNotification)
  {
    $TaskSessions = $ZIPSession.GetTaskSessions().logger.getlog().updatedrecords
    $FailedSessions =  $TaskSessions | where {$_.status -eq "EWarning" -or $_.Status -eq "EFailed"}
 
  if ($FailedSessions -ne $Null)
  {
    $MesssagyBody = $MesssagyBody + ($ZIPSession | Select-Object @{n="Name";e={($_.name).Substring(0, $_.name.LastIndexOf("("))}} ,@{n="Start Time";e={$_.CreationTime}},@{n="End Time";e={$_.EndTime}},Result,@{n="Details";e={$FailedSessions.Title}})
  }
  
  Else
  {
    $MesssagyBody = $MesssagyBody + ($ZIPSession | Select-Object @{n="Name";e={($_.name).Substring(0, $_.name.LastIndexOf("("))}} ,@{n="Start Time";e={$_.CreationTime}},@{n="End Time";e={$_.EndTime}},Result,@{n="Details";e={($TaskSessions | sort creationtime -Descending | select -first 1).Title}})
  }
 
  }  
}
If ($EnableNotification)
{
$Message = New-Object System.Net.Mail.MailMessage $EmailFrom, $EmailTo
$Message.Subject = $EmailSubject
$Message.IsBodyHTML = $True
$message.Body = $MesssagyBody | ConvertTo-Html -head $style | Out-String
$SMTP = New-Object Net.Mail.SmtpClient($SMTPServer,"587")
$SMTP.EnableSsl = $true
$SMTP.Credentials = New-Object System.Net.NetworkCredential($EmailUser, $EmailPassword);
$SMTP.Send($Message)
}
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Try either first or both options:

- Install 9.5 Update 2
- Explicitly specify credentials that have access to a target share, using -NetworkCredentials parameter of Start-VBRZip cmdlet

Thanks.
Wowcheeck
Lurker
Posts: 2
Liked: never
Joined: Jun 13, 2017 3:00 am
Full Name: Vladimir Sechko
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Wowcheeck »

Hello!
Matthi-W wrote:Backup is working correctly, but the Retention is not work.
I have the same problem.

I had this problem in Version 9.5.0.823 with backup on local disk.
And I still have this problem after installing the update 2 (VEEAM Backup & Recovery Version 9.5.0.1038 Free Version) with backup on shared network folder.

Code: Select all


$VM = "DC-01"

$Destination = "\\NAS-02\DC-01"
$NasUser = "nas-02\User"
$Compression = 5
$DisableQuiesce = $true
$Autodelete = "TomorrowNight"

#Load Veeam Toolkit
Asnp VeeamPSSnapin

#Validate any parameters
$vmentity = Find-VBRHvEntity -Name $VM
$netcreds = Get-VBRCredentials -Name $NasUser
if ($vm -eq $null)
{
  Write-Host "VM: $VM not found" -ForegroundColor "red"
  exit
}
if (-Not (Test-Path $destination))
{
  Write-Host "Destination: $Destination not valid" -ForegroundColor "red"
  exit
}
if ($DisableQuiesce -eq $true)
{
    Start-VBRZip -Entity $vmentity -Folder $destination -Compression $compression -AutoDelete $autodelete -DisableQuiesce -NetworkCredentials $netcreds
}
else
{
    Start-VBRZip -Entity $vmentity -Folder $destination -Compression $compression -AutoDelete $autodelete -NetworkCredentials $netcreds
}
Matthi-W
Novice
Posts: 5
Liked: never
Joined: Jun 12, 2017 7:16 am
Full Name: Matthias Walther
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Matthi-W »

Hello,
thank you for your reply.
I have installed the update 2 and extended the script:

Code: Select all

$netcreds = Get-VBRCredentials -Name "Name_of_Account"
$ZIPSession = Start-VBRZip -Entity $VM -Folder $Directory -Compression $CompressionLevel -DisableQuiesce:(!$EnableQuiescence) -AutoDelete $Retention -EncryptionKey $EncryptionKey -NetworkCredentials $netcreds
Backup is ok.
But the retention does'nt work.
Do you have another idea ?
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Soon I will publish an SQL query that will check whether the retention has been applied to objects or not. This should help us tie issue either to misbehaving backup server (bug) or to some different cause, such as account lacking remove permission, etc.

Stay tuned.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Anyone experiencing problem with retention, can you run the following SQL query and post its results here? (should help us in finding the root cause)

Code: Select all

SELECT [target_file]
       ,[retain_datetime]
  FROM [VeeamBackup].[dbo].[Backup.Model.VeeamZIPRetention]
Wowcheeck
Lurker
Posts: 2
Liked: never
Joined: Jun 13, 2017 3:00 am
Full Name: Vladimir Sechko
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Wowcheeck »

Hello!

VeeamZip.ps1

Code: Select all

$VM = "DC-01"

# $Destination = "D:\BackUp\DC-01"
$Destination = "\\NAS-02\DC-01"
$NasUser = "nas-02\User"
$Compression = 5
$DisableQuiesce = $true
$Autodelete = "TomorrowNight"

Asnp VeeamPSSnapin

$vmentity = Find-VBRHvEntity -Name $VM
$netcreds = Get-VBRCredentials -Name $NasUser
if ($vm -eq $null)
{
  Write-Host "VM: $VM not found" -ForegroundColor "red"
  exit
}
if (-Not (Test-Path $destination))
{
  Write-Host "Destination: $Destination not valid" -ForegroundColor "red"
  exit
}

if ($DisableQuiesce -eq $true)
{
#    Start-VBRZip -Entity $vmentity -BackupRepository $destination -Compression $Compression -AutoDelete $Autodelete -DisableQuiesce
    Start-VBRZip -Entity $vmentity -Folder $destination -Compression $compression -AutoDelete $autodelete -DisableQuiesce -NetworkCredentials $netcreds
}
else
{
#    Start-VBRZip -Entity $vmentity -BackupRepository $destination -Compression $Compression -AutoDelete $Autodelete
    Start-VBRZip -Entity $vmentity -Folder $destination -Compression $compression -AutoDelete $autodelete -NetworkCredentials $netcreds
}

SQL.ps1

Code: Select all

Import-Module “sqlps” -DisableNameChecking
$dt = Invoke-Sqlcmd -Query "SELECT [target_file],[retain_datetime] FROM [VeeamBackup].[dbo].[Backup.Model.VeeamZIPRetention];" -ServerInstance "SERVER-HPV1\VEEAMSQL2012"
echo $dt >> C:\temp\file_list.txt
file_list.txt

Code: Select all


target_file                                                                            retain_datetime                                                                      
-----------                                                                            ---------------                                                                      
D:\BackUp\DC-01\DC-01D2017-04-08T160041.vbk                                      04.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-08T190037.vbk                                      01.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-09T190036.vbk                                      05.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-06T133037.vbk                                      04.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-05T175528.vbk                                      01.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-10T160042.vbk                                      02.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-10T110046.vbk                                      04.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-10T110044.vbk                                      02.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-09T133035.vbk                                      05.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-08T133038.vbk                                      01.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-07T180101.vbk                                      02.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-09T110044.vbk                                      01.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-10T190039.vbk                                      02.12.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-09T110045.vbk                                    06.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-10T133037.vbk                                      03.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-08T190037.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-06T133048.vbk                                      01.08.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-10T133039.vbk                                    06.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-10T190038.vbk                                      01.12.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-10T110045.vbk                                    06.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-08T133035.vbk                                      05.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-18T133037.vbk                                    20.06.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-10T190037.vbk                                      05.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-09T110052.vbk                                      02.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-05T110046.vbk                                      04.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-07T190036.vbk                                      04.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-05T133036.vbk                                      05.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-05T190035.vbk                                      04.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-04T160035.vbk                                    06.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-07T110045.vbk                                      03.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-08T133035.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-08T110044.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-07T110044.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-08T160040.vbk                                      05.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-08T110047.vbk                                      03.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-08T110055.vbk                                      04.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-09T190037.vbk                                      02.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-10T190035.vbk                                      04.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-09T190037.vbk                                      01.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-07T190037.vbk                                      01.09.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-08T160039.vbk                                    06.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-07T110045.vbk                                      05.09.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-08T133041.vbk                                    06.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-04T110034.vbk                                    06.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-05T190040.vbk                                    06.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-08T190041.vbk                                      03.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-08T110043.vbk                                      05.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-19T110035.vbk                                    21.06.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-05T160047.vbk                                      03.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-05T133038.vbk                                      02.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-06T133035.vbk                                      05.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-07T160042.vbk                                      05.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-07T133035.vbk                                      05.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-07T133036.vbk                                      01.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-05T190035.vbk                                      01.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-05T133037.vbk                                    06.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-09T133035.vbk                                      02.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-10T160042.vbk                                      05.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-09T160042.vbk                                      03.11.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-18T190042.vbk                                    20.06.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-05T160041.vbk                                      02.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-05T181813.vbk                                      01.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-09T133039.vbk                                      04.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-06T110044.vbk                                      05.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-09T133042.vbk                                      01.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-10T133035.vbk                                      05.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-06T160040.vbk                                      02.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-05T190036.vbk                                      02.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-08T133037.vbk                                      03.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-08T190037.vbk                                    06.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-06T110044.vbk                                      03.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-09T110052.vbk                                      03.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-10T190957.vbk                                      02.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-06T133035.vbk                                      02.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-07T190036.vbk                                      05.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-10T133041.vbk                                      01.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-05T190037.vbk                                      05.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-07T160036.vbk                                    06.09.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-05T110043.vbk                                    06.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-08T190036.vbk                                      05.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-07T160042.vbk                                      01.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-07T190048.vbk                                      02.08.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-06T133039.vbk                                    06.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-10T190040.vbk                                      03.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-08T160045.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-10T110048.vbk                                      03.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-07T110044.vbk                                      04.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-06T160044.vbk                                      03.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-09T160041.vbk                                      04.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-05T160041.vbk                                      04.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-06T160036.vbk                                    06.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-10T110046.vbk                                      01.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-07T133038.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-09T160037.vbk                                      02.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-08T110045.vbk                                      01.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-18T160043.vbk                                    20.06.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-05T110049.vbk                                      05.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-06T190039.vbk                                      03.08.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-09T160037.vbk                                    06.11.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-08T110033.vbk                                    06.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-09T190037.vbk                                      03.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-09T110048.vbk                                      04.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-06T160046.vbk                                      05.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-10T160043.vbk                                      01.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-06T110028.vbk                                      01.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-06T190039.vbk                                      04.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-10T190846.vbk                                      02.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-09T110045.vbk                                      05.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-06T110044.vbk                                      04.08.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-04T133043.vbk                                    06.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-05T110043.vbk                                      02.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-06T133036.vbk                                      03.08.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-06T110045.vbk                                    06.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-05T110044.vbk                                      03.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-06T190037.vbk                                      02.08.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-04T190434.vbk                                    06.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-10T160035.vbk                                    06.12.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-05T160201.vbk                                    06.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-08T133035.vbk                                      04.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-07T133037.vbk                                      04.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-06T190036.vbk                                      01.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-07T190039.vbk                                      03.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-05T133035.vbk                                      04.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-07T110044.vbk                                      01.09.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-07T110034.vbk                                    06.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-07T160042.vbk                                      04.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-05T160046.vbk                                      05.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-09T190035.vbk                                      04.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-07T133035.vbk                                      03.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-06T160042.vbk                                      04.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-09T133038.vbk                                      03.11.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-09T133036.vbk                                    06.11.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-09T190035.vbk                                    06.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-08T160042.vbk                                      03.10.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-07T160056.vbk                                      02.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-05T133040.vbk                                      03.07.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-08T160042.vbk                                      01.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-18T110044.vbk                                    20.06.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-09T160043.vbk                                      01.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-09T160046.vbk                                      05.11.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-10T133035.vbk                                      02.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-05T190037.vbk                                      03.07.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-10T190037.vbk                                    06.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-01-06T160042.vbk                                      01.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-10T160045.vbk                                      03.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-10T110053.vbk                                      05.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-02-06T110044.vbk                                      02.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-10T160042.vbk                                      04.12.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-08T190039.vbk                                      04.10.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-07T190036.vbk                                    06.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-05-06T190037.vbk                                      05.08.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-03-07T160041.vbk                                      03.09.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-07T133041.vbk                                    06.09.2017 0:00:00                                                                   
D:\BackUp\DC-01\DC-01D2017-04-10T133037.vbk                                      04.12.2017 0:00:00                                                                   
\\NAS-02\DC-01\DC-01D2017-06-06T190032.vbk                                    06.08.2017 0:00:00                                                                   



Matthi-W
Novice
Posts: 5
Liked: never
Joined: Jun 12, 2017 7:16 am
Full Name: Matthias Walther
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Matthi-W »

Hello,

hier is the Result of my my SQL Query:

Code: Select all

\\nas002\Backup\SRV001D2017-06-15T171158.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV001D2017-06-16T171127.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV007D2017-05-31T174544.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\SRV008D2017-06-14T175715.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV008D2017-06-13T175615.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV003D2017-06-18T181352.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV005D2017-05-31T181420.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-15T210052.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\TelefonD2017-06-02T013550.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV006D2017-06-05T172730.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-13T210030.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV001D2017-06-02T170948.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-01T205215.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\TelefonD2017-06-14T020810.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV002D2017-05-31T170050.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\SRV004D2017-06-05T181132.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-03T205400.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV007D2017-06-05T171251.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-17T170112.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV001D2017-06-01T170932.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV003D2017-05-31T180930.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\SRV007D2017-06-01T174556.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV006D2017-06-01T180118.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV003D2017-06-05T173738.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-13T104338.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV006D2017-06-03T175951.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV008D2017-06-18T175726.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV007D2017-06-14T174946.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV007D2017-06-18T174959.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV005D2017-06-16T204809.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV007D2017-06-17T174602.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV007D2017-06-02T174601.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV007D2017-06-13T174849.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV004D2017-06-03T184258.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-14T170108.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV004D2017-06-15T184736.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV005D2017-06-18T205510.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV002D2017-06-18T170106.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV006D2017-05-31T175931.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-16T170112.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV008D2017-06-15T175733.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV008D2017-06-05T172032.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV006D2017-06-17T175938.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV003D2017-06-02T181017.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-05T202237.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-05T170152.vbk	2017-12-06 00:00:00.000
\\nas002\Backup\SRV006D2017-06-16T180027.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV004D2017-06-13T184738.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV003D2017-06-14T181425.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV003D2017-06-03T180955.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV001D2017-06-13T171104.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV002D2017-06-01T170049.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV004D2017-06-18T184649.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV008D2017-05-31T175250.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\TelefonD2017-06-04T014711.vbk	2017-11-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-13T170113.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV003D2017-06-13T181316.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV008D2017-06-01T175315.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-13T135644.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV005D2017-06-14T210112.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV004D2017-06-02T184727.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV004D2017-06-17T184129.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\TelefonD2017-06-16T020704.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV008D2017-06-17T175307.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV006D2017-06-02T180014.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-02T210039.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\SRV006D2017-06-15T180427.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV003D2017-06-01T181126.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV008D2017-06-03T175317.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV007D2017-06-03T174543.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV004D2017-06-01T184538.vbk	2017-08-06 00:00:00.000
\\nas002\Backup\SRV007D2017-06-16T174638.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV001D2017-06-17T171107.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\TelefonD2017-06-15T020447.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\TelefonD2017-06-03T050403.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-02T170052.vbk	2017-09-06 00:00:00.000
\\nas002\Backup\TelefonD2017-05-31T021458.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\TelefonD2017-06-17T020014.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV006D2017-06-14T180358.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\TelefonD2017-06-19T041455.vbk	2017-06-26 00:00:00.000
\\nas002\Backup\SRV004D2017-06-14T184908.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV003D2017-06-17T180923.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV006D2017-06-13T180259.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\TelefonD2017-05-31T181637.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\TelefonD2017-06-18T013731.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV007D2017-06-15T175003.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV001D2017-05-31T170935.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\TelefonD2017-06-13T024211.vbk	2017-06-20 00:00:00.000
\\nas002\Backup\SRV001D2017-06-18T171134.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV008D2017-06-16T175345.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV002D2017-06-15T170114.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV001D2017-06-03T170914.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV002D2017-06-03T170047.vbk	2017-10-06 00:00:00.000
\\nas002\Backup\SRV006D2017-06-18T180416.vbk	2017-06-25 00:00:00.000
\\nas002\Backup\SRV004D2017-05-31T181200.vbk	2017-07-06 00:00:00.000
\\nas002\Backup\SRV005D2017-06-17T204615.vbk	2017-06-24 00:00:00.000
\\nas002\Backup\SRV004D2017-06-16T184227.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV001D2017-06-14T171138.vbk	2017-06-21 00:00:00.000
\\nas002\Backup\SRV003D2017-06-16T181011.vbk	2017-06-23 00:00:00.000
\\nas002\Backup\SRV003D2017-06-15T181501.vbk	2017-06-22 00:00:00.000
\\nas002\Backup\SRV008D2017-06-02T175341.vbk	2017-09-06 00:00:00.000

Thank you !
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Hmm, it seems that retention is applied properly at least in database. Let's check debug logs, then, to see what's going wrong with retention applying step; will publish a procedure a bit later.
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Can you check debug logs and see whether there are entities similar to the following:

Code: Select all

[20.06.2017 00:08:19] <31> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:08:19] <31> Info     [VeeamZIPRetention] Get entries to retain, datetime '6/20/2017 12:08:18 AM'
[20.06.2017 00:08:19] <31> Info     Traffic redirection is not enabled for host This server
[20.06.2017 00:08:20] <31> Info     [OIB] Deleting '1' oibs
[20.06.2017 00:08:20] <31> Info     [OIB] Finding previous by link for OIB: '03529935-5e2e-4ebd-b156-a1ed26d3d6df'
Aren't they followed by some errors or warnings (scroll down log)?
Matthi-W
Novice
Posts: 5
Liked: never
Joined: Jun 12, 2017 7:16 am
Full Name: Matthias Walther
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Matthi-W »

Hello,

The Files are still present.
this is the content of the 'C:\ProgramData\Veeam\Backup\Svc.VeeamBackup.log' from last Night:

Code: Select all

[20.06.2017 00:00:04] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:00:04'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV008D2017-06-13T175615.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:05] <33> Info     [Local] Check existing '\\nas002\Backup\SRV008D2017-06-13T175615.vbk'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Delete, id '2fdb1557-19a0-4deb-83d3-0b0b2879a9a8'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV005D2017-06-13T210030.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:05] <33> Info     [Local] Check existing '\\nas002\Backup\SRV005D2017-06-13T210030.vbk'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Delete, id '8cc667b2-6410-49fc-87f2-1fa522ea9e7f'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV002D2017-06-13T104338.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:05] <33> Info     [Local] Check existing '\\nas002\Backup\SRV002D2017-06-13T104338.vbk'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Delete, id '4a13a760-2f6e-46b3-a763-4a8336467d4a'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV007D2017-06-13T174849.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:05] <33> Info     [Local] Check existing '\\nas002\Backup\SRV007D2017-06-13T174849.vbk'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Delete, id '4dd3c958-82f0-4d19-af42-625f5c7de39a'
[20.06.2017 00:00:05] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV004D2017-06-13T184738.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:05] <33> Info     [Local] Check existing '\\nas002\Backup\SRV004D2017-06-13T184738.vbk'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Delete, id '5e3b66a1-e9b5-4bf4-8857-8705415b4a9b'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV001D2017-06-13T171104.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:06] <33> Info     [Local] Check existing '\\nas002\Backup\SRV001D2017-06-13T171104.vbk'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Delete, id '642feb0d-a87c-4670-afd5-8c967d498d29'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV002D2017-06-13T170113.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:06] <33> Info     [Local] Check existing '\\nas002\Backup\SRV002D2017-06-13T170113.vbk'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Delete, id '9c85c9ea-42b1-4c03-bf70-9abc1ee0580e'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV003D2017-06-13T181316.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:06] <33> Info     [Local] Check existing '\\nas002\Backup\SRV003D2017-06-13T181316.vbk'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Delete, id '8dc702e1-c6a3-46ba-acf6-9b0efce3c0df'
[20.06.2017 00:00:06] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV002D2017-06-13T135644.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:06] <33> Info     [Local] Check existing '\\nas002\Backup\SRV002D2017-06-13T135644.vbk'
[20.06.2017 00:00:07] <33> Info     [VeeamZIPRetention] Delete, id '2e67f5d3-fc7f-4a78-b15e-a18e58e7fa21'
[20.06.2017 00:00:07] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\SRV006D2017-06-13T180259.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:07] <33> Info     [Local] Check existing '\\nas002\Backup\SRV006D2017-06-13T180259.vbk'
[20.06.2017 00:00:07] <33> Info     [VeeamZIPRetention] Delete, id 'ed3ae935-d099-4fa9-b3b1-ce5cbdb3b61c'
[20.06.2017 00:00:07] <33> Info     [VeeamZIPRetention] Deleting file '\\nas002\Backup\TelefonD2017-06-13T024211.vbk' on repository 'Local filesystem' because it's due is 20.06.2017 00:00:00 
[20.06.2017 00:00:07] <33> Info     [Local] Check existing '\\nas002\Backup\TelefonD2017-06-13T024211.vbk'
[20.06.2017 00:00:07] <33> Info     [VeeamZIPRetention] Delete, id 'b0db3e3d-0444-43e6-9e23-dbf14fc8cd90'
[20.06.2017 00:00:07] <33> Info     [VeeamZIPRetention] Removed 11 entries 
[20.06.2017 00:00:30] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:00:30] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:00:30'
[20.06.2017 00:00:30] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:00:53] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:00:53] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:00:53'
[20.06.2017 00:00:53] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:01:16] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:01:16] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:01:16'
[20.06.2017 00:01:16] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:01:39] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:01:39] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:01:39'
[20.06.2017 00:01:39] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:02:02] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:02:02] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:02:02'
[20.06.2017 00:02:02] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:02:25] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:02:26] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:02:25'
[20.06.2017 00:02:26] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:02:49] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:02:49] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:02:49'
[20.06.2017 00:02:49] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:03:12] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:03:12] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:03:12'
[20.06.2017 00:03:12] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:03:35] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:03:35] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:03:35'
[20.06.2017 00:03:35] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:03:58] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:03:58] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:03:58'
[20.06.2017 00:03:58] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:04:21] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:04:21] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:04:21'
[20.06.2017 00:04:21] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:04:44] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:04:44] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:04:44'
[20.06.2017 00:04:44] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:05:07] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:05:07] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:05:07'
[20.06.2017 00:05:07] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:05:30] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:05:30] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:05:30'
[20.06.2017 00:05:30] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:05:53] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:05:53] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:05:53'
[20.06.2017 00:05:53] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:06:16] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:06:16] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:06:16'
[20.06.2017 00:06:16] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:06:39] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:06:39] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:06:39'
[20.06.2017 00:06:39] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:07:02] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:07:02] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:07:02'
[20.06.2017 00:07:02] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:07:25] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:07:25] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:07:25'
[20.06.2017 00:07:25] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:07:26] <30> Info     Checking identity rights as S-1-5-21-2720417162-4071430429-3094000709-500
[20.06.2017 00:07:26] <30> Info     Grant rights for Local Adminstrator
[20.06.2017 00:07:48] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:07:48] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:07:48'
[20.06.2017 00:07:48] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:08:11] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:08:11] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:08:11'
[20.06.2017 00:08:11] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:08:34] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:08:34] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:08:34'
[20.06.2017 00:08:34] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:08:57] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:08:57] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:08:57'
[20.06.2017 00:08:57] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:09:20] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:09:20] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:09:20'
[20.06.2017 00:09:20] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:09:43] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:09:44] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:09:43'
[20.06.2017 00:09:44] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:10:07] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:10:07] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:10:07'
[20.06.2017 00:10:07] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:10:30] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:10:30] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:10:30'
[20.06.2017 00:10:30] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:10:53] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:10:53] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:10:53'
[20.06.2017 00:10:53] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:11:16] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:11:16] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:11:16'
[20.06.2017 00:11:16] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:11:39] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:11:39] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:11:39'
[20.06.2017 00:11:39] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:11:39] <33> Info     Deleting orphaned locks.
[20.06.2017 00:12:02] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:12:02] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:12:02'
[20.06.2017 00:12:02] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:12:25] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:12:25] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:12:25'
[20.06.2017 00:12:25] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:12:48] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:12:48] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:12:48'
[20.06.2017 00:12:48] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:13:11] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:13:11] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:13:11'
[20.06.2017 00:13:11] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:13:34] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:13:34] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:13:34'
[20.06.2017 00:13:34] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:13:57] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:13:57] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:13:57'
[20.06.2017 00:13:57] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:14:20] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:14:20] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:14:20'
[20.06.2017 00:14:20] <33> Info     [VeeamZIPRetention] Removed 0 entries 
[20.06.2017 00:14:43] <33> Info     [VeeamZIPRetention] VeeamZIP retention is ready to start.
[20.06.2017 00:14:43] <33> Info     [VeeamZIPRetention] Get entries to retain, datetime '20.06.2017 00:14:43'
[20.06.2017 00:14:43] <33> Info     [VeeamZIPRetention] Removed 0 entries 
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Can you:

1) Authenticate, using account specified as NetworkCredentials parameter
2) Check whether you can connect to the share, using the share short name (whether the short name is resolvable)
3) Try to remove pre-created "dummy" backup file or other file residing in the given directory
4) Repeat steps from 1 to 3, this time leveraging backup service account

Thanks.
Matthi-W
Novice
Posts: 5
Liked: never
Joined: Jun 12, 2017 7:16 am
Full Name: Matthias Walther
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by Matthi-W »

Hello,

the Synology NAS is not Domainmember, it has one Administrative Account an one for Backup. With these Backup Account, that i also use for 'NetworkCredentials', can i create and delete Files from the Backup PC.
The Backup Service Account is 'System' . With these i can not connect to NAS. I changed the Backup Service Account to local Administrator, witch is same user also on the NAS. Backup is funktional but Retention no. ( write, delete are ok )
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start-VBRZip in Veeam Backup Free Edition

Post by veremin »

Hmm, I'm running out of ideas. If you try to apply retention via GUI, will it work?
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests