Use the following information as a guide for how to use the direct copy method to migrate data.
There are times when you must use the direct copy method to migrate data. While this method uses the logical volume manager, the primary focus is on the use of the UNIX find command and the cpio command. The find command generates the list of files to be migrated. The cpio command migrates the files on the list.
# mount /dev/lv00 /mnt # cd /data # find . -print | cpio -pdmuv /mnt . . . # umount /mnt # umount /data # mount /dev/lv00 /data
You will probably be unable to use the volume management methods if the database uses volume serial numbers in its licensing code or validity checking. If the database uses licensing methods or validity checking, you might be able to only export the database from its old locations or import the database to its new location.
The database software provides the mechanism to move the data. This can take the form of a standard database backup and restore if it does not have any specific tools for moving data.