Re: [Veritas-bu] Policy Export / Import?
Ok thanks Dave :-) Appreciate the response Regards Simon Weaver 3rd Line Technical Support Windows Domain Administrator EADS Astrium Limited, B23AA IM (DCS) Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] -Original Message- From: David Rock [mailto:[EMAIL PROTECTED] Sent: 08 September 2006 14:24 To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Policy Export / Import? * WEAVER, Simon <[EMAIL PROTECTED]> [2006-09-08 06:42]: > > David > That sound like A LOT of work for what seems to be a simple process?? > Does a copy and paste work Jonathan ? I suggest it because it would probably be the only "supported" way of doing it. There are several things that _should_ work, _might_ work, etc. that will definitely NOT be supported by Symantec. It's not quite as bad as it sounds, but it does work and does involve some time. The only time it would really be worth it is in an environment where you may need to do it more than once, or for the altruistic sake of "because it's there". If it will need to be repeated, it should probably be scripted. :-) To be fair, I _have_ done a lot of scripting work in the past for this kind of stuff, so the perception of what constitutes a LOT may be slightly different for me ;-) -- David Rock [EMAIL PROTECTED] ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu This email is for the intended addressee only. If you have received it in error then you must not use, retain, disseminate or otherwise deal with it. Please notify the sender by return email. The views of the author may not necessarily constitute the views of Astrium Limited. Nothing in this email shall bind Astrium Limited in any contract or obligation. Astrium Limited, Registered in England and Wales No. 2449259 Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Policy Export / Import?
* WEAVER, Simon <[EMAIL PROTECTED]> [2006-09-08 06:42]: > > David > That sound like A LOT of work for what seems to be a simple process?? > Does a copy and paste work Jonathan ? I suggest it because it would probably be the only "supported" way of doing it. There are several things that _should_ work, _might_ work, etc. that will definitely NOT be supported by Symantec. It's not quite as bad as it sounds, but it does work and does involve some time. The only time it would really be worth it is in an environment where you may need to do it more than once, or for the altruistic sake of "because it's there". If it will need to be repeated, it should probably be scripted. :-) To be fair, I _have_ done a lot of scripting work in the past for this kind of stuff, so the perception of what constitutes a LOT may be slightly different for me ;-) -- David Rock [EMAIL PROTECTED] ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Policy Export / Import?
David That sound like A LOT of work for what seems to be a simple process?? Does a copy and paste work Jonathan ? Regards Simon Weaver 3rd Line Technical Support Windows Domain Administrator EADS Astrium Limited, B23AA IM (DCS) Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] -Original Message- From: David Rock [mailto:[EMAIL PROTECTED] Sent: 07 September 2006 19:01 To: veritas-bu@mailman.eng.auburn.edu Subject: Re: [Veritas-bu] Policy Export / Import? * WEAVER, Simon <[EMAIL PROTECTED]> [2006-09-07 12:36]: > > Jonathan > One would guess you can copy / paste the policies over yes. But cannot > comment 100% as I dont have 6.0, nor intend to at this stage. > > But in principle, you can copy the files over. I would make a backup > of your CLASS folder on your Server JUST in case :-) You could script something to parse the bppllist output to rebuild new policies using the CLI. Unfortunately, I never got the opportunity to finalize this myself, but here are a few commands to look at. It will depend on your willingness to spend the time doing it, and whether the work to write the script is more than the work to just create the new policies. :-( USAGE: bpplinfo policy_name -L|-l|-U [-v] [-M master_server,...] bpplinfo policy_name -set|-modify [-v] [-M master_server,...] [-active | -inactive] [-pt policy_type] [-ut] [-ef effective_time] [-residence label] [-pool label] [-priority priority] [-rfile flag] [-blkincr flag] [-multiple_streams flag] [-keyword "keyword phrase"] [-encrypt flag] [-collect_tir_info value] [-compress flag] [-crossmp flag] [-disaster flag] [-follownfs flag] [-policyjobs max_jobs(0=unlimited)] [-chkpt flag] [-chkpt_intrvl minutes] Valid values for policy_type: Standard Apollo-wbak Oracle Informix-On-BAR NetWare MS-Windows-NT OS/2 MS-Exchange-Server DB2 AFS Lotus-Notes FlashBackup-Windows Vault USAGE: bpplsched policy_name [-v] [-M master_server...] [-L|-l|-U] [-label sched_label] bpplsched policy_name [-v] [-M master_server...] -delete sched_label ... bpplsched policy_name [-v] [-M master_server...] -deleteall bpplsched policy_name [-v] [-M master_server...] -add sched_label [-st sched_type] [-freq frequency] [-mpxmax mpx_factor] [-number_copies number] [-synthetic (0 | 1)] [-rl retention_level[,rl-copy2, ..., rl-copyn]] [-residence storage_unit_label[,stunit-copy2,... stunit-copyn]] [-pool volume_pool_label[,pool-copy2,... pool-copyn]] [-fail_on_error (0 | 1)[,(0 | 1),...,(0 | 1)]] [-window start duration] [-cal 0/1/2] [-ut] [-incl mm/dd/] [-excl mm/dd/] [-weekday day_name week] [-dayomonth 1-31 or l] Valid values for mpx_factor: 1..32 USAGE: bpplschedrep policy_name sched_label [-M master_server...] [-v] [-st sched_type] [-freq frequency] [-mpxmax mpx_factor] [-cal 0/1/2] [-incl mm/dd/] [-excl mm/dd/] [-delincl mm/dd/] [-delexcl mm/dd/] [-weekday day_name week] [-dayomonth 1-31 l] [-delweekday day_name week] [-deldayomonth 1-31 l] [-ci] [-ce] [-cw] [-cd] [-number_copies number] [-synthetic (0 | 1)] [-pfi_fast_recovery (0 | 1)] [-rl retention_level[,rl-copy2 ,..., rl-copyn]] [-fail_on_error (0 | 1)[,(0 | 1),...,(0 | 1)]] [-residence storage_unit_label[,stunit-copy2,... stunit-copyn]] [-pool volume_pool_label[,pool-copy2,... pool-copyn]] [-(0..6) start duration] Valid values for mpx_factor: 1..32 bpplschedwin: [-verbose] [-M ] [-(0..6) ] [-close ] used to modify an existing schedule window USAGE: bpplinclude policy_name [-v] [-M master_server,...] -L|-l bpplinclude policy_name [-v] [-M master_server,...] -add path_name ... bpplinclude policy_name [-v] [-M master_server,...] -add -f filename bpplinclude policy_name [-v] [-M master_server,...] -delete path_name ... bpplinclude policy_name [-v] [-M master_server,...] -delete -f filename bpplinclude policy_name [-v] [-M master_server,...] -modify {old_path_name new_path_name} ... Note: paths with wildcards must be quoted. USAGE: bpplclients policy_name | {-allunique [-pt policy_type]} [-L|-l|-U|-noheader]
Re: [Veritas-bu] Policy Export / Import?
> > Jonathan > > One would guess you can copy / paste the policies over yes. But cannot > > comment 100% as I dont have 6.0, nor intend to at this stage. > > > > But in principle, you can copy the files over. I would make a backup of your > > CLASS folder on your Server JUST in case :-) > > You could script something to parse the bppllist output to rebuild new > policies using the CLI. Unfortunately, I never got the opportunity to > finalize this myself, but here are a few commands to look at. It will > depend on your willingness to spend the time doing it, and whether the > work to write the script is more than the work to just create the new > policies. :-( Yeah, that's a bear due to all the different pieces that you have to touch to gather and then create the info. As an aside, I recently had the opportunity to copy some class folders from 5.1 to a new 6.0 machine. Appears to have worked just fine so far. -- Darren Dunham [EMAIL PROTECTED] Senior Technical Consultant TAOShttp://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Policy Export / Import?
* WEAVER, Simon <[EMAIL PROTECTED]> [2006-09-07 12:36]: > > Jonathan > One would guess you can copy / paste the policies over yes. But cannot > comment 100% as I dont have 6.0, nor intend to at this stage. > > But in principle, you can copy the files over. I would make a backup of your > CLASS folder on your Server JUST in case :-) You could script something to parse the bppllist output to rebuild new policies using the CLI. Unfortunately, I never got the opportunity to finalize this myself, but here are a few commands to look at. It will depend on your willingness to spend the time doing it, and whether the work to write the script is more than the work to just create the new policies. :-( USAGE: bpplinfo policy_name -L|-l|-U [-v] [-M master_server,...] bpplinfo policy_name -set|-modify [-v] [-M master_server,...] [-active | -inactive] [-pt policy_type] [-ut] [-ef effective_time] [-residence label] [-pool label] [-priority priority] [-rfile flag] [-blkincr flag] [-multiple_streams flag] [-keyword "keyword phrase"] [-encrypt flag] [-collect_tir_info value] [-compress flag] [-crossmp flag] [-disaster flag] [-follownfs flag] [-policyjobs max_jobs(0=unlimited)] [-chkpt flag] [-chkpt_intrvl minutes] Valid values for policy_type: Standard Apollo-wbak Oracle Informix-On-BAR NetWare MS-Windows-NT OS/2 MS-Exchange-Server DB2 AFS Lotus-Notes FlashBackup-Windows Vault USAGE: bpplsched policy_name [-v] [-M master_server...] [-L|-l|-U] [-label sched_label] bpplsched policy_name [-v] [-M master_server...] -delete sched_label ... bpplsched policy_name [-v] [-M master_server...] -deleteall bpplsched policy_name [-v] [-M master_server...] -add sched_label [-st sched_type] [-freq frequency] [-mpxmax mpx_factor] [-number_copies number] [-synthetic (0 | 1)] [-rl retention_level[,rl-copy2, ..., rl-copyn]] [-residence storage_unit_label[,stunit-copy2,... stunit-copyn]] [-pool volume_pool_label[,pool-copy2,... pool-copyn]] [-fail_on_error (0 | 1)[,(0 | 1),...,(0 | 1)]] [-window start duration] [-cal 0/1/2] [-ut] [-incl mm/dd/] [-excl mm/dd/] [-weekday day_name week] [-dayomonth 1-31 or l] Valid values for mpx_factor: 1..32 USAGE: bpplschedrep policy_name sched_label [-M master_server...] [-v] [-st sched_type] [-freq frequency] [-mpxmax mpx_factor] [-cal 0/1/2] [-incl mm/dd/] [-excl mm/dd/] [-delincl mm/dd/] [-delexcl mm/dd/] [-weekday day_name week] [-dayomonth 1-31 l] [-delweekday day_name week] [-deldayomonth 1-31 l] [-ci] [-ce] [-cw] [-cd] [-number_copies number] [-synthetic (0 | 1)] [-pfi_fast_recovery (0 | 1)] [-rl retention_level[,rl-copy2 ,..., rl-copyn]] [-fail_on_error (0 | 1)[,(0 | 1),...,(0 | 1)]] [-residence storage_unit_label[,stunit-copy2,... stunit-copyn]] [-pool volume_pool_label[,pool-copy2,... pool-copyn]] [-(0..6) start duration] Valid values for mpx_factor: 1..32 bpplschedwin: [-verbose] [-M ] [-(0..6) ] [-close ] used to modify an existing schedule window USAGE: bpplinclude policy_name [-v] [-M master_server,...] -L|-l bpplinclude policy_name [-v] [-M master_server,...] -add path_name ... bpplinclude policy_name [-v] [-M master_server,...] -add -f filename bpplinclude policy_name [-v] [-M master_server,...] -delete path_name ... bpplinclude policy_name [-v] [-M master_server,...] -delete -f filename bpplinclude policy_name [-v] [-M master_server,...] -modify {old_path_name new_path_name} ... Note: paths with wildcards must be quoted. USAGE: bpplclients policy_name | {-allunique [-pt policy_type]} [-L|-l|-U|-noheader] [-M master_server...] [-v] bpplclients policy_name [-M master_server...] [-v] {-add host_name hardware os [priority]} | {-delete host_name...} | {-modify host_name [-hardware hardware] [-os os] [-priority priority]} | {-rename old_host_name new_host_name [-hardware hardware] [-os os] [-priority priority]} Valid values for policy_type: Standard Apollo-wbak Oracle Informix-On-BAR NetWare MS-Windows-NT OS/2 MS-Exc
Re: [Veritas-bu] Policy Export / Import?
Title: Message Jonathan One would guess you can copy / paste the policies over yes. But cannot comment 100% as I dont have 6.0, nor intend to at this stage. But in principle, you can copy the files over. I would make a backup of your CLASS folder on your Server JUST in case :-) Regards Simon Weaver3rd Line Technical SupportWindows Domain Administrator EADS Astrium Limited, B23AA IM (DCS)Anchorage Road, Portsmouth, PO3 5PU Email: [EMAIL PROTECTED] -Original Message-From: Martin, Jonathan (Contractor) [mailto:[EMAIL PROTECTED] Sent: 06 September 2006 14:17To: veritas-bu@mailman.eng.auburn.eduSubject: [Veritas-bu] Policy Export / Import? All, I'm building our new Netbackup 6.0 infrastructure from the ground up, as opposed to upgrading from 5.1. Is there a way I can export my policies and them import them into 6.0 as opposed to me manually reproducing them in the GUI? Current: NBU 5.1 on Windows 2000 Future: NBU 6.0 on Windows 2003 R2 TIA -Jonathan This email is for the intended addressee only. If you have received it in error then you must not use, retain, disseminate or otherwise deal with it. Please notify the sender by return email. The views of the author may not necessarily constitute the views of Astrium Limited. Nothing in this email shall bind Astrium Limited in any contract or obligation. Astrium Limited, Registered in England and Wales No. 2449259 Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
Re: [Veritas-bu] Policy Export / Import?
I haven't try it with ver 6, but you can copy the ../netbackup/db/class directory. > ---Original Message--- > From: Martin, Jonathan (Contractor) <[EMAIL PROTECTED]> > Subject: [Veritas-bu] Policy Export / Import? > Sent: 06 Sep '06 15:17 > > All, > > > I'm building our new Netbackup 6.0 infrastructure from the ground up, as > opposed to upgrading from 5.1. Is there a way I can export my policies > and them import them into 6.0 as opposed to me manually reproducing them > in the GUI? > > > Current: NBU 5.1 on Windows 2000 > > Future: NBU 6.0 on Windows 2003 R2 > > > TIA > > > -Jonathan > > ___ > Veritas-bu maillist - [LINK: > [EMAIL PROTECTED] > Veritas-bu@mailman.eng.auburn.edu > [LINK: http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu] > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu ___ Veritas-bu maillist - Veritas-bu@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu