PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 3 Global File Services Shared File System> Chapter 24 File System Backing-up and Restoring> 24.7 High speed backup and restoration of a GFS Shared File System

24.7.10 Restoring the backup source

24.7.10.1 Restoring the backup source from secondary media, such as tape

The procedure for restoring from a secondary backup, such as tape, depends on the method used to create the backup.

[When restoring per partition]

When a partition including the partition information is backed up from the backup destination by a command such as dd(1M), the partition information of the backup destination is included in the backup. Restore the backup to the backup destination location then use the appropriate high speed copy to restore to the backup source location. For details, see the procedure in "24.7.10.2. Restoring the backup source from the backup destination."

[When restoring per file]

The partition information is not included in backups created using tar(1), sfccpio(1), sfcrestore(1M), etc., therefore, the backup can be restored directly to the backup source after the backup source has been re-created and mounted.

24.7.10.2 Restoring the backup source from the backup destination

A file system can be restored by instant copy from the backup destination to the backup source. The following explanation assumes that the backup destination contains valid data from a previous backup.

The sfcproxyrestore(1M) command is used to restore the backup source from the backup destination.

For details on sfcproxyrestore(1M), see Appendix F.2.20, "sfcproxyrestore(1M)."

The following example shows the specification for restoring the backup destination of a file system whose relationship name is backup1_for_volume0001 to the backup source. Execute the command in the nodes that share the backup source file system.

# sfcproxyrestore -s backup1_for_volume0001

After the sfcproxyrestore command is executed, the backup destination and source are joined in reverse. Therefore, cancel the relationship and then set up the relationship again.

The following example shows the specification for canceling the relationship named backup1_for_volume0001 and setting up the relationship again. Execute the command in the nodes that share the backup source file system.

# sfcproxyinfo -f backup1_for_volume0001 > /var/tmp/relation_backup
# sfcproxybreak backup1_for_volume0001
# sfcproxyjoin equivalent -r backup1_for_volume0001 -f /var/tmp/relation_backup

The following example shows the specification for canceling the relationship named backup1_for_volume0003 of EC employment of each group and setting up the relationship again. Execute the command in the nodes that share the backup source file system.

# 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


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004