SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Post Scripts
Author Message
Post Post Scripts 
I’m hoping someone else is doing this and can assist me. I’ve already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.

Simpana 8 SP5

A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday – Thursday at 10:00pm run an Incremental Job.

I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don’t want to happen. Right now it’s a manual process to add the script on Friday night and remove it on Monday morning.

Anyone have a better solution?

Thanks!

Leslie


__._,_.___
Reply to sender ([email]LLopez < at > isd.lacounty.gov?subject=Re%3A%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=Re%3A%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (1)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5107/stime=1305668675/nc1=4507179/nc2=5758221/nc3=4025338[/img]
__,_._,___

Post Post Scripts 
My first thought is a little iffy, but it would get the job done.

Do a full backup - save as script (instead of Schedule or Immediately).

Have the commvault scheduler do the incremental backups

Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <llopez < at > isd.lacounty.gov> 5/17/2011 2:44 PM >>>


I'm hoping someone else is doing this and can assist me. I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.

Simpana 8 SP5

A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.

I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.

Anyone have a better solution?

Thanks!

Leslie





************************************************************************
************************************************************************

The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work product doctrine. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized by the sender. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.

************************************************************************
************************************************************************


Post Post Scripts 
That might work! Thanks for the idea!

From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Bill Willis
Sent: Tuesday, May 17, 2011 2:49 PM
To: commvault < at >
Subject: Re: [commvault] Post Scripts



My first thought is a little iffy, but it would get the job done.



Do a full backup - save as script (instead of Schedule or Immediately).



Have the commvault scheduler do the incremental backups



Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> 5/17/2011 2:44 PM >>>

I'm hoping someone else is doing this and can assist me. I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.
Simpana 8 SP5
A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.
I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.
Anyone have a better solution?
Thanks!
Leslie





************************************************************************
[b]************************************************************************


The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work product doctrine. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized by the sender. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.
************************************************************************
[b]************************************************************************




__._,_.___
Reply to sender ([email]LLopez < at > isd.lacounty.gov?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (3)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5109/stime=1305669155/nc1=1/nc2=2/nc3=3[/img]
__,_._,___

Post Post Scripts 
The other option that I can see here would be to have the script do a date / day calculation and proceed based on the data returned.

The logic would look something like this:

If day = “Saturday” goto reboot
Else goto end

Then you run the post script every time, and unless its Saturday, the script exits without performing any action.

-Dave



From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Leslie Lopez
Sent: Tuesday, May 17, 2011 4:52 PM
To: commvault < at > yahoogroups.com; commvault < at >
Subject: RE: [commvault] Post Scripts




That might work! Thanks for the idea!

From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Bill Willis
Sent: Tuesday, May 17, 2011 2:49 PM
To: commvault < at >
Subject: Re: [commvault] Post Scripts



My first thought is a little iffy, but it would get the job done.



Do a ful! l backup - save as script (instead of Schedule or Immediately).



Have the commvault scheduler do the incremental backups



Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> 5/17/2011 2:44 PM >>>

I'm hoping someone else is doing this and can assist me. I've already opened a! ticket with CommVault and they determined it was not an available fea ture but can possibly be done by writing a custom script.
Simpana 8 SP5
A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.
I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.
Anyone have a ! better solution?
Thanks!
Leslie






************************************************************************
[b]************************************************************************


The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work product doctrine. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized ! by the sender. If you are not the intended recipient, you are hereby n otified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.
************************************************************************
[b]************************************************************! ************










__._,_.___
Reply to sender ([email]DStauffacher < at > directs.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (4)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5110/stime=1305669545/nc1=5522133/nc2=4025291/nc3=4507179[/img]
__,_._,___

View user's profile Send private message
Post Post Scripts 
Also would it work to have two sub clients for the server, they can be identical but one is used for fulls and the other for incrementals. Then you can schedule and select post backup processes for each subclient. Not sure if this will work but it is worth a shot.


Andy



On May 17, 2011, at 5:52 PM, Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> wrote:





That might work! Thanks for the idea!

From: commvault < at > yahoogroups.com ([email]commvault < at > yahoogroups.com[/email]) [mailto:commvault < at > yahoogroups.com] On Behalf Of Bill Willis
Sent: Tuesday, May 17, 2011 2:49 PM
To: commvault < at >
Subject: Re: [commvault] Post Scripts



My first thought is a little iffy, but it would get the job done.



Do a full backup - save as script (instead of Schedule or Immediately).



Have the commvault scheduler do the incremental backups



Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <[url=mailto:llopez < at > isd.lacounty.gov]llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])[/url]> 5/17/2011 2:44 PM >>>

I'm hoping someone else is doing this and can assist me. I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.
Simpana 8 SP5
A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.
I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.
Anyone have a better solution?
Thanks!
Leslie





************************************************************************
[b]************************************************************************


The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work product doctrine. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized by the sender. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.
************************************************************************
[b]************************************************************************







__._,_.___
Reply to sender ([email]drewedwards21 < at > yahoo.com?subject=Re%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=Re%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (5)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5111/stime=1305669872/nc1=1/nc2=2/nc3=3[/img]
__,_._,___

Post Post Scripts 
I actually tested that first, creating two defaultbackup sets.  Making one Full backups only and the second only incrementals.  The problem is the 2nd one would still require an initial Full backup and in case of a full system recovery, how would I combine the data from two backup sets.  So I didn’t pursue this any further.

I’m currently leaning towards the first recommendation.  We have an enterprise scheduler, Control-M, that handles all the backup schedules for our TSM environment.  I might go that route and have them handle the scheduling and scripting for this one job.

Thanks everyone for all your ideas.  I’ve also asked CommVault if this feature can be added at a later date.  I would really like to keep everything within CommVault and not have to depend on a 3rd party scheduler.

Thanks!
Leslie
From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Andrew Edwards
Sent: Tuesday, May 17, 2011 3:04 PM
To: commvault < at > yahoogroups.com
Subject: Re: [commvault] Post Scripts





Also would it work to have two sub clients for the server, they can be identical but one is used for fulls and the other for incrementals. Then you can schedule and select post backup processes for each subclient. Not sure if this will work but it is worth a shot.



Andy


On May 17, 2011, at 5:52 PM, Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> wrote:


That might work! Thanks for the idea!

From: commvault < at > yahoogroups.com ([email]commvault < at > yahoogroups.com[/email]) [mailto:commvault < at > yahoogroups.com] On Behalf Of Bill Willis
Sent: Tuesday, May 17, 2011 2:49 PM
To: commvault < at >
Subject: Re: [commvault] Post Scripts



My first thought is a little iffy, but it would get the job done.



Do a full backup - save as script (instead of Schedule or Immediately).



Have the commvault scheduler do the incremental backups



Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> 5/17/2011 2:44 PM >>>

I'm hoping someone else is doing this and can assist me. I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.
Simpana 8 SP5
A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.
I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.
Anyone have a better solution?
Thanks!
Leslie






************************************************************************
[b]************************************************************************


The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work product doctrine. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized by the sender. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.
************************************************************************
[b]************************************************************************












__._,_.___
Reply to sender ([email]LLopez < at > isd.lacounty.gov?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (6)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5112/stime=1305670690/nc1=1/nc2=2/nc3=3[/img]
__,_._,___

Post Post Scripts 
When the pre/post commands are started the commserver passes some arguments that you can use to control the behavior of the scripts. Backup level is one of those arguments.

http://documentation.commvault.com/commvault/release_9_0_0/books_online_1/english_us/prod_info/features.htm?var1=http://documentation.commvault.com/commvault/release_9_0_0/books_online_1/english_us/features/pre_post/prepost_process.htm#prepost_commands


In addition to the specified Pre/Post commands, the CommServe sends additional arguments and appends them to the Pre/Post commands (if any); this can provide a useful means of control based on the type of job being run. You can use the value of the argument(s) within Pre/Post batch files or scripts to run specific operations based on the level, number of attempts, or status of the job (e.g., for Unix, by issuing an echocommand or including a case statement within the appropriate script). These arguments include the following:
--bkplevel <level>
where "level" can be
'1' =
iDataAgents: Full Backup
DataArchiver Agents: Archive level that creates a new index
'2' =
iDataAgents: Incremental Backup
DataArchiver Agents: Archive level that appends the existing index



From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Leslie Lopez
Sent: Tuesday, May 17, 2011 6:18 PM
To: commvault < at > yahoogroups.com
Subject: RE: [commvault] Post Scripts




I actually tested that first, creating two defaultbackup sets. Making one Full backups only and the second only incrementals. The problem is the 2nd one would still require an initial Full backup and in case of a full system recovery, how would I combine the data from two backup sets. So I didn’t pursue this any further.

I’m currently leaning towards the first recommendation. We have an enterprise scheduler, Control-M, that handles all the backup schedules for our TSM environment. I might go that route and have them handle the scheduling and scripting for this one job.

Thanks everyone for all your ideas. I’ve also asked CommVault if this feature can be added at a later date. I would really like to keep everything within CommVault and not have to depend on a 3rd party scheduler.

Thanks!
Leslie
From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Andrew Edwards
Sent: Tuesday, May 17, 2011 3:04 PM
To: commvault < at > yahoogroups.com
Subject: Re: [commvault] Post Scripts





Also would it work to have two sub clients for the server, they can be identical but one is used for fulls and the other for incrementals. Then you can schedule and select post backup processes for each subclient. Not sure if this will work but it is worth a shot.



Andy


On May 17, 2011, at 5:52 PM, Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> wrote:


That might work! Thanks for the idea!

From: commvault < at > yahoogroups.com ([email]commvault < at > yahoogroups.com[/email]) [mailto:commvault < at > yahoogroups.com] On Behalf Of Bill Willis
Sent: Tuesday, May 17, 2011 2:49 PM
To: commvault < at >
Subject: Re: [commvault] Post Scripts



My first thought is a little iffy, but it would get the job done.



Do a full backup - save as script (instead of Schedule or Immediately).



Have the commvault scheduler do the incremental backups



Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> 5/17/2011 2:44 PM >>>

I'm hoping someone else is doing this and can assist me. I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.
Simpana 8 SP5
A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.
I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.
Anyone have a better solution?
Thanks!
Leslie







************************************************************************
[b]************************************************************************


The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work product doctrine. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorized by the sender. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.
************************************************************************
[b]************************************************************************
















__._,_.___
Reply to sender ([email]amey < at > commvault.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (7)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5114/stime=1305673193/nc1=1/nc2=2/nc3=3[/img]
__,_._,___

Post Post Scripts 
At some point, though, you would have to run a full for the “incremental” subclient, which would lead to duplicating efforts/data/etc.

-Dave

From: commvault < at > yahoogroups.com [mailto:commvault < at > yahoogroups.com] On Behalf Of Andrew Edwards
Sent: Tuesday, May 17, 2011 5:04 PM
To: commvault < at > yahoogroups.com
Subject: Re: [commvault] Post Scripts





Also would it work to have two sub clients for the server, they can be identical but one is used for fulls and the other for incrementals. Then you can schedule and select post backup processes for each subclient. Not sure if this will work but it is worth a shot.



Andy


On May 17, 2011, at 5:52 PM, Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> wrote:


That might work! Thanks for the idea!

From: commvault < at > yahoogroups.com ([email]commvault < at > yahoogroups.com[/email]) [mailto:commvault < at > yahoogroups.com] On Behalf Of Bill Willis
Sent: Tuesday, May 17, 2011 2:49 PM
To: commvault < at >
Subject: Re: [commvault] Post Scripts



My first thought is a little iffy, but it would get the job done.



Do a full backup - save as script (instead of Schedule or Immediately).



Have the commvault scheduler do the incremental backups



Then have some other scheduler (like windows task scheduler or CRON from a unix/mainframe) run a script that executes the full backup executable you created, and then does a shutdown -r (or init 6, whatver OS you're dealing with).

Leslie Lopez <llopez < at > isd.lacounty.gov ([email]llopez < at > isd.lacounty.gov[/email])> 5/17/2011 2:44 PM >>>

I'm hoping someone else is doing this and can assist me.&n bsp; I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.
Simpana 8 SP5
A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.
I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the scrip! t on Friday night and remove it on Monday morning.
Anyone have a better solution?
Thanks!
Leslie






************************************************************************
[b]************************************************************************


The information in this electronic mail communication (e-mail) contains confidential information which is the property of the sender and may be protected by the attorney-client privilege and/or attorney work pro! duct doctrine. It is intended solely for the addressee. Acces s to this e-mail by anyone else is unauthorized by the sender. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of the contents of this e-mail transmission or the taking or omission of any action in reliance thereon or pursuant thereto, is prohibited, and may be unlawful. If you received this e-mail in error, please notify us immediately of your receipt of this message by e-mail and destroy this communication, any attachments, and all copies thereof.
Southwest Gas Corporation does not guarantee the privacy or security of information transmitted by facsimile (fax) or other unsecure electronic means (including email). By choosing to send or receive information, including confidential or personal identifying information, via fax or unencrypted e-mail, you consent to accept any associated risk.
Thank you for your cooperation.
**************************************! **********************************
[b]************************************************************************












__._,_.___
Reply to sender ([email]DStauffacher < at > directs.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=RE%3A%20%5Bcommvault%5D%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (Cool
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5115/stime=1305673224/nc1=1/nc2=2/nc3=3[/img]
__,_._,___

View user's profile Send private message
Post Post Scripts 
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 <![endif]--> <![endif]--> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";} <![endif]-->
When the pre/post commands are started the commserver passes some arguments that you can use to control the behavior of the scripts. Backup level is one of those arguments.

http://documentation.commvault.com/commvault/release_9_0_0/books_online_1/english_us/prod_info/features.htm?var1=http://documentation.commvault.com/commvault/release_9_0_0/books_online_1/english_us/features/pre_post/prepost_process.htm#prepost_commands


In addition to the specified Pre/Post commands, the CommServe sends additional arguments and appends them to the Pre/Post commands (if any); this can provide a useful means of control based on the type of job being run. You can use the value of the argument(s) within Pre/Post batch files or scripts to run specific operations based on the level, number of attempts, or status of the job (e.g., for Unix, by issuing an echocommand or including a case statement within the appropriate script). These arguments include the following:
--bkplevel <level>
where "level" can be
'1' =
iDataAgents: Full Backup
DataArchiver Agents: Archive level that creates a new index
'2' =
iDataAgents: Incremental Backup
DataArchiver Agents: Archive level that appends the existing index



--- In commvault < at > yahoogroups.com, Leslie Lopez <llopez < at > ...> wrote:

I'm hoping someone else is doing this and can assist me. I've already opened a ticket with CommVault and they determined it was not an available feature but can possibly be done by writing a custom script.

Simpana 8 SP5

A customer requested to have their server perform a reboot after the weekend Full backup job has completed. The server is not to reboot after the Incremental job. The GUI offers a PostBackup Process option where we add a simple script to reboot the server after the backup job completes. There are two schedules assigned to this subclient. Saturday night at 10:00pm run a Full backup and Monday - Thursday at 10:00pm run an Incremental Job.

I need to be able to run the PostBackup Process script only after the Full backup completes. If I leave the script in place the server will be rebooted nightly which I don't want to happen. Right now it's a manual process to add the script on Friday night and remove it on Monday morning.

Anyone have a better solution?

Thanks!

Leslie


__._,_.___
Reply to sender ([email]amey < at > commvault.com?subject=Re%3A%20Post%20Scripts[/email]) | Reply to group ([email]commvault < at > yahoogroups.com?subject=Re%3A%20Post%20Scripts[/email]) | Reply via web post | Start a New Topic
Messages in this topic (9)
Recent Activity: Visit Your Group

Commvault Documentation here:
http://documentation.commvault.com/
Text-Only ([email]commvault-traditional < at > yahoogroups.com?subject=Change Delivery Format: Traditional[/email]), Daily Digest ([email]commvault-digest < at > yahoogroups.com?subject=Email Delivery: Digest[/email]) &bull; Unsubscribe ([email]commvault-unsubscribe < at > yahoogroups.com?subject=Unsubscribe[/email]) &bull; Terms of Use




.

[img]http://geo.yahoo.com/serv?s=97359714/grpId=7450851/grpspId=1707277520/msgId=5119/stime=1305792362/nc1=1/nc2=2/nc3=3[/img]
__,_._,___

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB