Взято от сюда http://www.novell.com/coolsolutions/appnote/17000.html
Let's assume that the production server has a DATA pool and a DATA volume. We want to create a snapshot of the DATA pool hosted on the DATA pool. To do this, key the following commands on the production server.
---------------------------------------------
MM SNAP LIST
Let's assume that the production server has a DATA pool and a DATA volume. We want to create a snapshot of the DATA pool hosted on the DATA pool. To do this, key the following commands on the production server.
- To create snapshot: mm snap create DATA DATA DATA_S1 The syntax to create a snapshot is: mm snap create snappool datapool snapname The snappool is the pool that I want to take a snapshot of. In this case, it is DATA The datapool is the pool that the snapshot should reside. In this case, it is also DATA. The snapname is the name of my snapshot. In this case, it is DATA_S1
- To activate snapshot: mm snap activate DATA_S1
- To mount the data volume on the snapshot pool: mount DATA_SV
- To deactivate snapshot: mm snap deactivate DATA_S1
- To delete snapshot: mm snap delete DATA_S1
- 0 18 * * * TRUSTBAR DATA: -B -V 0 19 * * * SYS:\SYSTEM\CREATESNAPSHOT.NCF 0 20 * * * SYS:\SYSTEM\DATABACKUP.NCF 0 6 * * * SYS:\SYSTEM\DELSNAPSHOT.NCF
- mm snap create DATA DATA DATA_S1 delay 60 mm snap activate DATA_S1 delay 60 mount DATA_SV
- rsync -rRutvP --delete --volume=DATA_SV: / [IP address of Backup server]::DATA Note: The volume is now DATA_SV not DATA
- dismount DATA_SV delay 60 mm snap deactivate DATA_S1 delay 60 mm snap delete DATA_S1
---------------------------------------------
MM SNAP LIST
Комментариев нет:
Отправить комментарий