21. Restore Data |
Please refer to the following to restore data for either Windows or UNIX.
-
Windows
Retrieve the backed up data from your external storage device.
Overwrite the data in your files and data directories. (Please refer to Cybozu Share360 File Directory) for file descriptions.
Note: Be sure to turn off access to users before restoring.
Access Cybozu Share360 to confirm that the backup data has been properly restored and can be registered/edited.
Note: When you retrieve the backup data from a CD-R, the file may become Read Only. In this case, right-click the name of the file and go to Properties. Remove the Read Only check mark.
UNIX
Before overwriting a copy of the data, confirm the owner/permissions of the directory/file.
By overwriting, the owner and permissions of the directory/file might be changed; therfore you will not be able to access the data after restoration (Error Message 'Cannot open data file' will be displayed).
To check the owner and permissions of the directory/file, execute command 'ls -l' at the directory, you'd like to check.
For example: If the owner of 'bulletin.odb' is 'nobody', the permission is -rw-r--r--.
- % pwd
- % /usr/local/apache/cgi-bin/cb4
- % ls -l
- -rw------- 1 nobody root 1048576 Apr 28 16:03 address.odb
- -rw------- 1 nobody root 1048576 Apr 28 16:03 bulletin.odb
- permission/owner
Retrieve the backup data saved in an external storage device.
Overwrite the data in your Cybozu Office directories. (Please refer to Cybozu Share360 File Directory) for file descriptions.
Note: Do this task as a Super User.
If using cp -pR command, the owner/permissions will not be changed. -p stands for 'Do not change Permission/Owner' and R stands for 'each directory'
For UNIX Command details, please refer to UNIX-related manuals.
Set the same owner/permissions that existed before overwriting the data copy.
For example: If the owner of bulletin.odb was 'nobody' before overwriting a copy:
- % pwd
- % /usr/local/apache/cgi-bin/cb4
- % ls -l
- -rw------- 1 nobody root 1048576 Apr 28 16:03 address.odb
- -r--r--r-- 1 bozuman root 1048576 Apr 28 16:03 bulletin.odb
If the owner of bulletin.odb was changed to [bozuman], change it to the owner (as confirmed above) with chown command.
- For example: % chown nobody bulletin.odb
If the permissions before overwriting was -rw-------(600), similarly change the permission with the chmod command.
- For example: % chmod 633 bulletin.odb
For details on UNIX commands, please refer to UNIX-related manuals and other reference books.