undocumented Powershell options

PowerShell script exchange

undocumented Powershell options

Veeam Logoby PKramer » Mon Apr 12, 2010 6:24 pm

In a post by vitaly earlier I found this
Code: Select all
Start-VBRJob JobName -RetryBackup


The docs do not mention this option of -retryBackup anyhwere that I can find.

Are there more options like this ?? How can we find out about all of them??

Is there a similar switch option to perform a full backup??

Thanks
PKramer
Novice
 
Posts: 8
Liked: never
Joined: Mon Mar 29, 2010 11:58 am
Full Name: Paul Kramer

Re: undocumented Powershell options

Veeam Logoby Gostev » Mon Apr 12, 2010 6:30 pm

Hi Paul, we will try to find out for you if there is a full backup option. The reason they are not documented is because some advanced options were not given enough QC attention back when v4 was releasing due to lack of time, and we made a decision not to document those.
Gostev
Veeam Software
 
Posts: 21396
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: undocumented Powershell options

Veeam Logoby PKramer » Wed Apr 14, 2010 4:29 pm

Gostev wrote:Hi Paul, we will try to find out for you if there is a full backup option. The reason they are not documented is because some advanced options were not given enough QC attention back when v4 was releasing due to lack of time, and we made a decision not to document those.


Hi Gostev, any info on whether that switch exists or not to run a fullbackup?
PKramer
Novice
 
Posts: 8
Liked: never
Joined: Mon Mar 29, 2010 11:58 am
Full Name: Paul Kramer

Re: undocumented Powershell options

Veeam Logoby Gostev » Wed Apr 14, 2010 6:26 pm

Hello Paul, yes this cmdlet also has –FullBackup option, which is what you are looking for.
Gostev
Veeam Software
 
Posts: 21396
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: undocumented Powershell options

Veeam Logoby PKramer » Wed Apr 14, 2010 8:39 pm

that is great, you should really start advertising that option as I think alot of people would liek to use that feature.

Now I can write a powershell script that checks to see if it is a particular day of the month and if so it will launch the backups with the full option.

also, can I make a recommendation that Veeam make some sort of area (forum category or knowlegebase section) that would let people upload scripts as a script repository. I think with as powerful as PowerShell is your users could offer some very nice scripts.
PKramer
Novice
 
Posts: 8
Liked: never
Joined: Mon Mar 29, 2010 11:58 am
Full Name: Paul Kramer

Re: undocumented Powershell options

Veeam Logoby Gostev » Wed Apr 14, 2010 8:51 pm

Good idea on script repository... let me think on how best to organize it.
By the way, we will have monthly full backup schedule available directly in the product with v5. ;)
Gostev
Veeam Software
 
Posts: 21396
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland

Re: undocumented Powershell options

Veeam Logoby PKramer » Thu Apr 15, 2010 1:18 pm

Gostev, that is great news about the scheduler, just make sure it supports a schedule option like " last friday of month" not just last day of month.

Also an option to have a powershell parameter that will save a full to a different path (for off-siting or tape dumping purposes) would be great.

What I mean would be a powershell script is used to lauch backup jobs. In the script you check to see if it is say the "last friday of the month" if so we append -FullBackup and -xxxyyyzzz where -xxxyyyzzz woudl be parameter and path of where to create a copy of the full vbk file.

I know I can just robocopy the vbk's after the job ends or whatever as well, but I can see how this may be used by certain backup scenarios.

Actually after typing all that out I realize another (maybe a better) option would be just to offer a parameter to launch a post-script of our choosing, rather than one embedded in the job.
PKramer
Novice
 
Posts: 8
Liked: never
Joined: Mon Mar 29, 2010 11:58 am
Full Name: Paul Kramer

Re: undocumented Powershell options

Veeam Logoby Gostev » Thu Apr 15, 2010 3:16 pm

PKramer wrote:Gostev, that is great news about the scheduler, just make sure it supports a schedule option like " last friday of month" not just last day of month.

Yes, such schedule is supported with v5.

PKramer wrote:Actually after typing all that out I realize another (maybe a better) option would be just to offer a parameter to launch a post-script of our choosing, rather than one embedded in the job.

Typically customers use logic within the script to determine what to do. For example, lookup the current day of week and depending on it do one thing or another. This way, you only need one script to embed in the job.
Gostev
Veeam Software
 
Posts: 21396
Liked: 2349 times
Joined: Sun Jan 01, 2006 1:01 am
Location: Baar, Switzerland


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 7 guests