- 论坛徽章:
- 0
|
[b]回复 [url=http://bbs.chinaunix.net/redirect.php?goto=findpost&pid=11819417&ptid=1662425]13#[/url] [i]blackold[/i] [/b]
# awk '/^Include/,/^$/{if(/^$/) print;else printf $0;next}1' bb
Policy Name: test1
Policy Type: Standard
Active: yes
Effective date: 01/09/2010 11:44:10
Client Compress: no
Follow NFS Mounts: no
Cross Mount Points: yes
Collect TIR info: no
Block Incremental: no
Mult. Data Streams: no
Client Encrypt: no
Checkpoint: no
Policy Priority: 0
Max Jobs/Policy: Unlimited
Disaster Recovery: 0
Collect BMR info: no
Residence: test1-LTO2
Volume Pool: VTL-DB
Server Group: *ANY*
Keyword: (none specified)
Data Classification: -
Residence is Storage Lifecycle Policy: no
Granular Restore Info: no
HW/OS/Client: RS6000 AIX5 test1
Include: /home/ap
/home/db
/home/test
Schedule: test1-1d
Type: Full Backup
Maximum MPX: 1
Synthetic: 0
PFI Recovery: 0
Policy Name: test2
Policy Type: Standard
Active: yes
Effective date: 01/09/2010 11:44:10
Client Compress: no
Follow NFS Mounts: no
Cross Mount Points: yes
Collect TIR info: no
Block Incremental: no
Mult. Data Streams: no
Client Encrypt: no
Checkpoint: no
Policy Priority: 0
Max Jobs/Policy: Unlimited
Disaster Recovery: 0
Collect BMR info: no
Residence: test2-LTO2
Volume Pool: test2-AP
Server Group: *ANY*
Keyword: (none specified)
Data Classification: -
Residence is Storage Lifecycle Policy: no
Granular Restore Info: no
HW/OS/Client: RS6000 AIX5 test2
Include: /home/out
Schedule: test2-1w
还是没变 |
|