Comprehensive data protection for all workloads
Post Reply
ixoni
Novice
Posts: 5
Liked: 1 time
Joined: Jan 06, 2020 9:53 pm
Full Name: Barry Hohstadt
Contact:

View Backup Schedule for All backups?

Post by ixoni » Jan 06, 2020 10:05 pm 1 person likes this post

Is there a way to view a schedule of all the backups? I thought when I was using Veeam a couple years ago I could open a calendar view of all the scheduled backups. This makes scheduling new backup times a lot easier.
Thanks

Gostev
SVP, Product Management
Posts: 25859
Liked: 3984 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: View Backup Schedule for All backups?

Post by Gostev » Jan 06, 2020 11:57 pm

Sounds like you're confusing Veeam with some other product. Veeam does not require such manual scheduling of backup times in the first place... you can have all jobs started at the beginning of your backup window, and our intelligent load balancer will execute them all according to available source and backup infrastructure resources, ensuring neither is overloaded at any given moment. Thanks!

albertwt
Expert
Posts: 664
Liked: 21 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: View Backup Schedule for All backups?

Post by albertwt » Jan 07, 2020 5:49 am

Hi @Ixoni, what about using the below Powershell script:

Code: Select all

$Session = New-PSSession -ComputerName myserver
    Invoke-Command -Session $Session -ScriptBlock{
        Add-PSSnapin VeeamPSSnapin
        $VbrJobs = Get-VBRJob | Sort-Object typetostring, name
        $Repos = Get-VBRBackupRepository
        
        Foreach($Job in $VbrJobs)
        {
            #Get Job Name
            $JobName = $Job.Name
            
            #Get VMs in Job
            $Objects = $Job.GetObjectsInJob()

            #Get Restore Points
            $RP = $Job.GetOptions().backupstorageoptions.retainCycles

            #Get Days
            $Day = $Job.ScheduleOptions.OptionsDaily.DaysSrv
            $Freq = $Job.ScheduleOptions.OptionsDaily.kind

            If($Freq -eq "Everyday")
            {
                $Day = "Everyday"
            }

            #Get Backup Repository Name
            $RepoTarget = $Job.FindTargetRepository()
            $RepoTarget = $RepoTarget.Name
            
            #Get VM Name    
            $VM = $Objects.Name

            #Get Last Backup
            $Backup = Get-VBRBackup | Where{$_.JobName -eq "$JobName"}
            $LastBackup = $Backup.LastPointCreationTime
                  
    
            $Body += "<tr>"
            $Body += "<td>$JobName</td>"
            $Body += "<td>$VM</td>"
            $Body += "<td>$RP</td>"
            $Body += "<td>$Day</td>"
            $Body += "<td>$RepoTarget</td>"
            $Body += "<td>$LastBackup</td>"
            $Body += "</tr>"


        }
    
    Return $Body
}
--
/* Veeam software enthusiast user & supporter ! */

ixoni
Novice
Posts: 5
Liked: 1 time
Joined: Jan 06, 2020 9:53 pm
Full Name: Barry Hohstadt
Contact:

Re: View Backup Schedule for All backups?

Post by ixoni » Jan 12, 2020 10:16 pm

Gostev wrote:
Jan 06, 2020 11:57 pm
Sounds like you're confusing Veeam with some other product. Veeam does not require such manual scheduling of backup times in the first place... you can have all jobs started at the beginning of your backup window, and our intelligent load balancer will execute them all according to available source and backup infrastructure resources, ensuring neither is overloaded at any given moment. Thanks!
Okay so if I want five jobs to run on Sunday, I schedule them all for the same time and don't worry about staggering?

ixoni
Novice
Posts: 5
Liked: 1 time
Joined: Jan 06, 2020 9:53 pm
Full Name: Barry Hohstadt
Contact:

Re: View Backup Schedule for All backups?

Post by ixoni » Jan 12, 2020 10:17 pm

Thanks albertwt, good to know.

Gostev
SVP, Product Management
Posts: 25859
Liked: 3984 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: View Backup Schedule for All backups?

Post by Gostev » Jan 13, 2020 12:32 am

ixoni wrote:
Jan 12, 2020 10:16 pm
Okay so if I want five jobs to run on Sunday, I schedule them all for the same time and don't worry about staggering?
That is correct.

ixoni
Novice
Posts: 5
Liked: 1 time
Joined: Jan 06, 2020 9:53 pm
Full Name: Barry Hohstadt
Contact:

Re: View Backup Schedule for All backups?

Post by ixoni » Jan 13, 2020 7:14 pm

Great, thank you. I used Veeam years ago when it was still a fairly new product, but since implementing it here I have not really had time to be up to date on it.

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 30 guests