Using iOffice2000 (Maintenance)

How to backup and restore the data - Windows NT Operating System   How to backup and restore the data - UNIX Operating System

This page describes the use of "iOffice2000" (data backup). We hope it will be of some use in the event of data corruption due to machine problems or errors in operation etc.

We advise you to make backups without fail at fixed intervals, if possible daily or weekly etc.

We advise that you make backups by whatever method is easiest.
For example, you could adopt a method in which a data backup directory is created, and under this there are created directories of the respective dates (year/month/ day), the "data" directory then being copied into these, or you could adopt a method in which all files and directories under the "data" directory are compressed, and these compressed files are backed up.

For Windows NT Operating System

1) Data Backup
   
  If iOffice2000 is installed in the directory "C:/InetPub/scripts/ioffice", the data backup directory will be "C:/InetPub/scripts/ioffice/data".
When doing backups, backup all the files and directories that are under this directory.
(Note: If you only backup some of the files or directories, there is a risk that, on restoration, normal operation will not be achieved.)
   
  If you are using iOffice2000 under WindowsNT, it may be satisfactory to perform backup daily or at a fixed time every week by using the "at" command.
( If you use the "at" command, the "schedule" service must be running on the WindowsNT machine that you are using).
* For details of the "at" command, please refer to "WindowsNT help" which is supplied with "Microsoft Windows NT".
   
2) Data Restoration
   
  If the iOffice2000 data becomes corrupted due to a machine problem etc., please perform a restoration operation to restore the backed-up data.
Although this will depend on the method of backup, if iOffice2000 was installed into the "C:/InetPub/scripts/ioffice" directory, delete the directory "C:/InetPub/scripts/ioffice/data" and copy the "data" directory which you backed up into the directory "C:/InetPub/scripts/ioffice". If the "data" directory in the "C:/InetPub/scripts/ioffice" directory was compressed when it was backed up, uncompress the compressed files in the "C:/InetPub/scripts/ioffice" directory.
   

For UNIX Operating System

1) Data Backup
   
 

If iOffice2000 was installed in "/usr/local/www/cgi-bin/ioffice", the data backup directory will be "/usr/local/www/cgi-bin/ioffice/data".
When carrying out backup, backup all the files and directories under this directory.
(Note: If you only back up some of the files or directories, there is a risk that on restoration normal operation may not be achieved.)

   
 

If you are using iOffice2000 under UNIX, it may be satisfactory to perform backups daily or at a fixed time every week using the "tar" command.

* Example
>cd /usr/local/www/cgi-bin/ioffice
>tar cvf data990128.bak data

   
2) Data Restoration
   
  If the data of iOffice2000 are corrupted due to a machine problem etc., please perform a restoration operation using the backed-up data.
Although this will depend on the method of backup, if iOffice2000 was installed in the directory "/usr/local/www/cgi-bin/ioffice", delete the directory "/user/local/www/cgi-bin/ioffice/data" and copy the "data" directory which you had backed up into the directory "/usr/local/www/cgi-bin/ioffice".
   
 

*Example
>rm -r/usr/local/www/cgi-bin/ioffice/data
>cp data990128.bak /usr/local/www/cgi-bin/ioffice
>cd /usr/local/www/cgi-bin/ioffice
>tar xvf data990128.bak

If the "data" directory was compressed in the directory "/usr/local/www/cgi-bin/ioffice" when backing up, uncompress the compressed files in the directory "/usr/local/www/cgi-bin/ioffice".