-
- Novice
- Posts: 6
- Liked: never
- Joined: Sep 10, 2011 12:41 am
- Full Name: Tim
- Contact:
backup scheduling
We have a job scheduled for differential daily and full weekly.
the files are sent offsite to the cloud.
To reduce costs the customer wants to change the schedule so the full backup happens every other week.
I cant see how to set the backup to an every 2nd week schedule. I can only set it for weekly or monthly.
Is there a way to do this ?
Can i setup 2 full backups that are scheduled for the first and third friday, or will that mess up my differential backups.
Is there a better option for doing what i am trying to do?
the files are sent offsite to the cloud.
To reduce costs the customer wants to change the schedule so the full backup happens every other week.
I cant see how to set the backup to an every 2nd week schedule. I can only set it for weekly or monthly.
Is there a way to do this ?
Can i setup 2 full backups that are scheduled for the first and third friday, or will that mess up my differential backups.
Is there a better option for doing what i am trying to do?
-
- Chief Product Officer
- Posts: 31814
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Re: backup scheduling
You can run the job from command line using the Windows Scheduler. Thanks.
-
- Novice
- Posts: 6
- Liked: never
- Joined: Sep 10, 2011 12:41 am
- Full Name: Tim
- Contact:
Re: backup scheduling
Thanks for the quick response.
Will the differential backups automatically reset to backup the differences from the last full backup?
should i move both the differential backup and the full backup to use windows scheduler?
or should i leave the differential as is and just change the full backup to use windows scheduler?
Will the differential backups automatically reset to backup the differences from the last full backup?
should i move both the differential backup and the full backup to use windows scheduler?
or should i leave the differential as is and just change the full backup to use windows scheduler?
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: backup scheduling
Every subsequent job run after full will be incremental one. There is no need to use windows scheduler for both incremental and full.
And just to save you some time, here is a PowerShell script example that triggers full job run: Backup Question
And just to save you some time, here is a PowerShell script example that triggers full job run: Backup Question
-
- Novice
- Posts: 6
- Liked: never
- Joined: Sep 10, 2011 12:41 am
- Full Name: Tim
- Contact:
Re: backup scheduling
I configured my Veeam backup named BU2Cloud to do incremental backups on weekdays and a full backup on the first friday of each month.
Then I setup a task in windows task manager to run on the third friday, it runs "powershell C:\Disks\BkupTask\VeeamFullBkup.ps1".
VeeamFullBkup.ps1 contains these commands
Add-PSSnapin VeeamPSSnapin
Get-PSSnapin
Start-VBRJob BU2Cloud -FullBackup
Does that look right to you?
Did I miss anything?
thanks for your help.
Then I setup a task in windows task manager to run on the third friday, it runs "powershell C:\Disks\BkupTask\VeeamFullBkup.ps1".
VeeamFullBkup.ps1 contains these commands
Add-PSSnapin VeeamPSSnapin
Get-PSSnapin
Start-VBRJob BU2Cloud -FullBackup
Does that look right to you?
Did I miss anything?
thanks for your help.
-
- Veteran
- Posts: 282
- Liked: 26 times
- Joined: Nov 10, 2010 6:51 pm
- Full Name: Seth Bartlett
- Contact:
Re: backup scheduling
Close, you would want to do something like:
Granted, you could probably pipe one into the other but this also works just as well.
Code: Select all
$Job = Get-VBRJob | ?{$_.name -eq "BU2Cloud"}
Start-VBRJob $Job -FullBackup
Skype: Sethbartlett88 - Make sure to label who you are and why you want to add me
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
Twitter: @sethbartlett
If my post was helpful, please like it. Sometimes twitter is quicker to hit me up if you need me.
-
- Novice
- Posts: 6
- Liked: never
- Joined: Sep 10, 2011 12:41 am
- Full Name: Tim
- Contact:
Re: backup scheduling
OK, this is what i have now in the VeeamFullBackup.ps1 file
The only other thing i had to do was to rerun the Veeam setup and select to modify the install to include the powershell features.
I think it should work now,
Thanks for all your help.
Code: Select all
Add-PSSnapin VeeamPSSnapin
Get-PSSnapin
$Job = Get-VBRJob | ?{$_.name -eq "BU2Cloud"}
Start-VBRJob $Job -FullBackup
I think it should work now,
Thanks for all your help.
Who is online
Users browsing this forum: No registered users and 5 guests