This section discusses how to back up the volume data by stopping the services in a system where GDS Snapshot has not been installed.
This procedure enables you to back up the data of the following volumes.
Shared class volume
Local class volume
Volumes (e.g. /opt, /home) other than system volumes (/, /usr, /var, swap area) among volumes in the root class
The following is an example of backing up and restoring volume Volume1 in class Class1.
1) Stopping the services
1a) With a shared volume used in a cluster application
1a-1) Exit RMS.
1a-2) Activate the volume on a node on which backup is conducted.
# sdxvolume -N -c Class1 -v Volume1 |
1b) With a volume not used by a cluster application
1b-1) Stop the services using the volume.
1b-2) When the volume is used as a file system, unmount the file system. In the following example, the mount point is /mnt1.
# cd / |
2) Backing Up
Back up volume data. In the following example, data is backed up to a tape medium of tape device /dev/st0.
When backing up data with the dd(1) command
# dd if=/dev/sfdsk/Class1/dsk/Volume1 of=/dev/st0 bs=32768 |
See
For details on the backup methods, see the manuals of file systems to be backed up and used commands.
3) Resuming the services
3a) With a shared volume used in a cluster application
3a-1) Inactivate the volume on the node where backup was conducted.
# sdxvolume -F -c Class1 -v Volume1 |
3a-2) Launch RMS.
3b) With a volume not used by a cluster application
3b-1) When the volume is used as a file system, mount the file system. The following shows examples when the mount point is /mnt1.
For the ext4 file system
# mount -t ext4 /dev/sfdsk/Class1/dsk/Volume1 /mnt1 |
3b-2) Resume the services.