PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix F Reference Manual | > F.2 Management Commands Specific to the GFS Shared File System |
sfcproxyrestore [ -s ] rel_name
sfcproxyrestore executes high-speed restoration of the file system by create instant snapshot from the backup destination to the backup source specified by the relationship rel_name. Therefore the backup source can be used immediately after the command is issued. Before sfcproxyrestore is executed, the relationship between the backup source and destination must have been set up with sfcproxyjoin(1M).
When sfcproxyrestore is executed, the following conditions must have been satisfied.
After sfcproxyrestore is executed, the backup destination is put in the join status with the backup source. Issue sfcproxybreak(1M) to break the relationship after copy processing is completed so that backup can be executed again. Then later, if necessary, set up the relationship again.
The following option can be specified:
-s
Synchronization specification. This option waits for the real copy processing to be completed.
The following operand can be specified:
rel_name
Specify the relationship of a restoration target by using relationship name rel_name.
(Example 1)
To restore from the backup destination to the backup source specified with the relationship with the relation ship name backup1_for_volume0001 in the EC operation, and to EC employment is restarted. Execute the following command.
# sfcproxyrestore -s backup1_for_volume0001 # sfcproxyinfo -f backup1_for_volume0001 > /var/tmp/relation_backup # sfcproxybreak backup1_for_volume0001 # sfcproxyjoin equivalent -r backup1_for_volume0001 -f /var/tmp/relation_backup
(Example 2)
To restore from the backup destination to the backup source specified with the relationship with the relation ship name backup1_for_volume0002 in the OPC operation, and to OPC employment is restarted. Execute the following command.
# sfcproxyrestore -s backup1_for_volume0002 # sfcproxyinfo -f backup1_for_volume0002 > /var/tmp/relation_backup # sfcproxybreak backup1_for_volume0002 # sfcproxyjoin separate -r backup1_for_volume0002 -f /var/tmp/relation_backup
(Example 3)
To restore from the backup destination to the backup source specified with the relationship with the relation ship name backup1_for_volume0003 in the EC operation with group, and to EC employment is restarted. Execute the following command.
# sfcproxyrestore -s backup1_for_group0003 # sfcproxyinfo -f backup1_for_group0003 > /var/tmp/relation_backup # sfcproxybreak backup1_for_group0003 Delete all file system of backup destination by sfcadm(1M). Delete all volume that under backup destination group of GDS by sdxvolume(1M). # sfcproxyjoin equivalent -r backup1_for_group0003 \ -g /dev/sfdsk/class0003/rdsk/volume0003 -f /var/tmp/relation_backup
The following exit values are returned:
0Successful completion.
>0An error occurred.
sfcproxybreak(1M), sfcproxyinfo(1M), sfcproxyjoin(1M), sfcproxyop(1M)
sdxinfo(1M), sdxproxy(1M), sdxvolume(1M) in the "PRIMECLUSTER Global Disk Services Configuration and Administration Guide."
Contents Index |