Shedule Incremtal, Full-S and Full-A

PowerShell script exchange

Shedule Incremtal, Full-S and Full-A

Veeam Logoby Raimondas.Visnevskis » Fri Jun 06, 2014 4:02 pm

Hello,

I am trying to set VBR 7 to run as follows:

Mon-Thurs / Incrementals
Friday / Full-S

Furthermore, i want to set and active Full to run every four weeks on a Friday.

I am trying to sheduli this using powershell.

I have created a .ps1 file that will run the job and i can run it using windows sheduling.

How would i shedule it so that it would run incrementals Mon-Thu and synthetic full on Friday, but would also run an active full every four weeks on Friday?
Raimondas.Visnevskis
Lurker
 
Posts: 2
Liked: never
Joined: Mon Mar 24, 2014 9:28 am
Full Name: Raimondas Visnevskis

Re: Shedule Incremtal, Full-S and Full-A

Veeam Logoby v.Eremin » Sat Jun 07, 2014 9:19 am

Mon-Thurs / Incrementals
Friday / Full-S

If I were you, I would schedule this part via GUI and leave the rest to PS.

Furthermore, i want to set and active Full to run every four weeks on a Friday.

The full backup can executed, using Start-VBRJob commandlet with -FullBackup switch.

The question is whether you want to run the script on fourth Friday of every month or just on every fourth Friday. In the former case, you can use just Windows Scheduler, adding nothing to the mentioned commandlet. In the later case, some sort of counter seems to be needed - the one that will check the time passed since the last full backup run.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Shedule Incremtal, Full-S and Full-A

Veeam Logoby Raimondas.Visnevskis » Tue Jun 10, 2014 2:24 pm

Hi,

Thank you for your reply.

I have Mon-Thur set as Incrementals and have also set Friday to be Synthetic-Full via GUI.

However, if i will leave it like that and also set an Active full to run every four weeks using PS, will it run instead of Synthetic Full on that Friday when they both clash?

Regards
Rai
Raimondas.Visnevskis
Lurker
 
Posts: 2
Liked: never
Joined: Mon Mar 24, 2014 9:28 am
Full Name: Raimondas Visnevskis

Re: Shedule Incremtal, Full-S and Full-A

Veeam Logoby v.Eremin » Wed Jun 11, 2014 8:58 am

However, if i will leave it like that and also set an Active full to run every four weeks using PS, will it run instead of Synthetic Full on that Friday when they both clash?

The backup job has in-built mechanism preventing it from creating two full backups on the same day. So, just make sure that active full backup executed via PS runs earlier than does synthetic full specified in the job settings, and, then, you're good to go. Thanks.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 969 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 8 guests