For OPC, QuickOPC, EC or REC, follow the procedure below to restore transaction volume data from tape. This method is called "Restoring using backup volume".
Refer to "3.4.3.1 Restoring Using Backup Volume" for details.
Figure 3.14 Restoring from Tape (Restore Using Backup Volume)
For SnapOPC+, follow the procedure below to restore transaction volume data from tape. This method is called "Restoring using a new volume".
In addition, if you do not use a backup volume that was used for backup regardless of copy type, follow the procedure below.
Refer to "3.4.3.2 Restoring Using New Volume" for details.
Figure 3.15 Restoring from Tape (Restore Using New Volume)
Follow the procedure below to restore using a backup volume.
Note
The backup volume contents are overwritten by the tape contents.
If you want to keep the backup volume data, perform restore the data using "3.4.3.2 Restoring Using New Volume".
Stopping synchronous high-speed copy (EC or REC only)
Execute the acec cancel command with the -p and -force options to stop synchronous high-speed copy.
[Execution example]
> acec cancel -g group01 -p ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] -force ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] # DATE : 2008/06/24 16:28:00 - << EC Disconnected >> Succeeded : 1 Failed : 0 |
Restoring from tape
Restore to the backup volume partition the data that was backed up to tape.
Refer to the manuals of the backup software and tape device that you are using for details on how to back up to tape.
Executing Advanced Copy
Restore the contents of the backup volume partition to the transaction volume.
Refer to the copy types in "3.2 Executing Advanced Copy" for the execution procedure.
Follow the procedure below to restore data using a new volume.
Creating a copy group
To perform Advanced Copy for a transaction volume and a new volume partition, create a new copy group. Specify OPC as the copy type by executing the acgroup create command.
[Execution example]
> acgroup create -g group02 -type OPC -a ET001 Successful completion. |
Adding copy pairs
Specify the transaction volume as the copy source and the new volume partition as the copy destination and add the pair.
Refer to "Adding Copy Pair" for the execution procedure.
[Execution example]
> acpair add -g group02 -p ET001/0x25[addr=0x0,size=0x5000]:ET001/0x34[addr=0x10000] Successful completion. |
Stopping Advanced Copy
To reinstate data to the transaction volume, stop Advanced Copy from the transaction volume to the backup volume.
For OPC or QuickOPC
Execute the acopc query command to check the copy status.
If the session and the Tracking (only for QuickOPC) have not been stopped, execute the acopc cancel command with the -p option to stop physical copying and to stop Tracking (only for QuickOPC).
[Execution example]
> acopc query -g group01 Copy Group Name : group01 Copy Group Type : OPC Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID OPC Status Copy Phase Copied Block ------------------------------- --- ----------------------- ---- --------------- ---------- ------------ ET001/0x1[addr=0x0,size=0x5000] ==> ET001/0x3[addr=0x10000] 0x21 "OPC Executing" "Copying" 0 > acopc cancel -g group01 -p ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] ET001/0x1:ET001/0x6 # DATE : 2008/06/24 16:28:00 - << OPC Disconnected >> Succeeded : 1 Failed : 0 |
Note
If an operation is performing reverse copy, also check the reverse Advanced Copy status.
For SnapOPC+
Execute the acsnap query command to check the copy status.
If the session has not been stopped, execute the acsnap cancel command with the -force option to stop synchronous high-speed copying.
[Execution example]
> acsnap query -g group01 Copy Group Name : group01 Copy Group Type : SnapOPCP Disk Array Name : ET001 (00ETERNUSDXM##ET44S20A####HK000104######) Source <=> Target SID Snap Status Gen Date Copied Block ----------------------------- --- --------------------------------- ---- ------------------------- --- -------- ------------ ET001/0x31[addr=0x0,size=0x0] ==> ET001/0x34[addr=0x0,size=0x01000] 0x23 "Copy On Write(Active)" 3 10minute 1048576 ET001/0x31[addr=0x0,size=0x0] ==> ET001/0x33[addr=0x0,size=0x01000] 0x22 "Copy On Write(Inactive)" 2 3hour 1048576 ET001/0x31[addr=0x0,size=0x0] ==> ET001/0x32[addr=0x0,size=0x01000] 0x21 "Copy On Write(Inactive)" 1 1day 1048576 > acsnap cancel -g group01 -force ET001/0x31[addr=0x0,size=0x0]:ET001/0x32[addr=0x0,size=0x01000] # DATE : 2008/06/24 16:28:00 - << SnapOPCP Disconnected >> ET001/0x31[addr=0x0,size=0x0]:ET001/0x33[addr=0x0,size=0x01000] # DATE : 2008/06/24 16:28:00 - << SnapOPCP Disconnected >> ET001/0x31[addr=0x0,size=0x0]:ET001/0x34[addr=0x0,size=0x01000] # DATE : 2008/06/24 16:28:00 - << SnapOPCP Disconnected >> Succeeded : 3 Failed : 0 |
Note
If an operation is performing reverse copy, also check the reverse Advanced Copy status.
For EC or REC
Execute the acec cancel command with the -p and -force options to stop synchronous high-speed copy.
[Execution example]
> acec cancel -g group01 -p ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] -force ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] # DATE : 2008/06/24 16:28:00 - << EC Disconnected >> Succeeded : 1 Failed : 0 |
Restoring from tape
Restore to the new volume partition the data that was backed up to tape.
Refer to the manuals of the backup software and tape device that you are using for details on how to back up to tape.
Executing Advanced Copy
Restore the contents of the new volume partition to the transaction volume.
Refer to "3.2.1.2 Restore on OPC Backup Environment" for the execution procedure.
[Execution example]
> acopc start -g group02 -p ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] -r ET001/0x1[addr=0x0,size=0x5000]:ET001/0x3[addr=0x10000] # DATE : 2008/06/25 12:00:00 - << OPC Started >> # From:BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=3/Adr_high=0/Adr_low=0/size_high=0/size_low=0 # To :BoxID=303045343030304d3323232323234534353053323041232323234b44343033303633393030342323/Olu=1/Adr_high=0/Adr_low=0 Succeeded : 1 Failed : 0 |
Note
Copy from the transaction volume to the backup volume is not guaranteed until physical copying of the transaction volume from the new volume is completed (until the OPC session disconnects). Do not begin copying from the transaction volume to the backup volume until physical copy is completed.