The Netra software does not display the File System Backup and Restore module if a tape drive is not attached to the Netra server. If you add a new tape drive to a pre-configured Netra server, restart the server with the "Check for new devices during restart" option so that it recognizes the new drive.
Use the File System Backup and Restore module to make a copy of the user data file system and save it to tape. You can also use it to restore directories from the tape backup copy if a disk fails or if a file is accidentally deleted.
You can back up any or all of the following directories in the user data file system: Mail, HTML documents, Anonymous FTP, and Users' homes, and Netra configuration files. When the backup is complete, the module reports all the directories and files that have been saved via an E-mailed report to the system administrator (root) user.
The users' home directory option does not back up the system administrator's home directory. For user-specified directories and files, there is an upper limit on the number of characters in the file descriptor: for the path name, the maximum length is 155 characters; for the file name, 100 characters.
The following backup options are available:
Set backup options. Enables you to schedule days of the week and times for regular backups.
Immediate backup. Enables you to back up the file system at any time. This does not affect the scheduled backup.
Only a single-tape backup is supported, and the tape is rewound after the backup process is completed.
When a directory is restored, all files and directories in that directory are copied from the backup tape to the Netra file system. For example, if you restore the Users' homes directory, all files in all users' directories are copied to the file system.
The following restore options are available:
Change restore device. A default tape drive is displayed as the device that contains the backup tape from which a file system is restored. This option enables you to specify a different tape drive, if necessary.
Easy restore. Enables you to restore selected directories from the backup tape that is in the current restore device. You can restore any of the following directories: Mail, HTML documents, Anonymous FTP, and Users' homes.
Selective restore. Enables you to restore only the directories you need from a backup tape.
From the Main Administration page, under "System Administration," click File System Backup and Restore.
The File System Backup and Restore Administration page is displayed.
Under "Backup," click Set Backup Options.
The File System Backup Options page is displayed.
Complete the form using the information in Table 6-5.
Table 6-5 Backup Options
Option |
Description |
---|---|
Backup Device |
The tape drive that will be used for the backup procedure. If an attached tape drive is not displayed in the list, restart the server with the "Check for new devices during restart option" in the Restart and Shutdown module. |
Eject Tape |
Ejects the tape from the drive after the backup is completed. Choices: Yes or No. |
Directories |
The directories that will be backed up. You must choose at least one of the following directories: Mail (/export/mail), HTML documents (/export/htdocs), Anonymous FTP (/export/ftp), or Users' homes (/export/home). If the Web server's document root is not /export/htdocs, specify the full path name of the document root in the empty text box. oMaximum length for a path name prefix is 155 characters. oMaximum length for a file name is 100 characters. oMaximum length for a full path name is 255 characters. Any file names exceeding these limits are not backed up. |
From the Main Administration page, under "System Administration," click File System Backup and Restore.
The File System Backup and Restore Administration page is displayed.
Under "Back up," click Immediate backup.
The Immediate File System Backup page is displayed.
Enter the information in the form using the information described in the Backup Device, Eject Tape, and Directories fields in Table 6-5.
The directories you specified are backed up immediately.
From the Main Administration page, under "System Administration," click File System Backup and Restore.
The File System Backup and Restore Administration page is displayed.
Under, "Restore" click Change Restore Device.
The Change Restore Device page is displayed.
Choose the tape drive you want to use to restore the file system (see Table 6-6).
Table 6-6 Restore Device Administration
Option |
Description |
---|---|
Restore Device |
The tape drive that contains the backup tape that will be used to restore the file system. If an attached tape drive is not displayed in the list, restart the server with the Check for new devices during restart option in the Restart and Shutdown module. |
Before you begin, make sure the tape is in the drive.
From the Main Administration page, under "System Administration," click File System Backup and Restore.
The File System Backup and Restore Administration page is displayed.
Under "Restore," click Easy Restore.
The Easy File System Restore page is displayed.
Complete the form using the information in Table 6-7.
Table 6-7 Easy Restore Administration
Option |
Description |
---|---|
Directories |
The directories that will be restored from the backup tape to the Netra server. You must select at least one directory. Choices: Mail (/export/mail), HTML documents (/export/htdocs), Anonymous FTP (/export/ftp), Users' homes (/export/home). If the Web server's document root is not /export/htdocs, then replace the string "Other Directories" in the text box with the full path name of the document root. |
Restore location |
The directory that receives the restored directories. If not chosen, the directories restored into their default directories. |
Eject Tape |
Ejects the tape from the drive after the restore operation is completed. Choices: Yes, No. |
Before you begin, make sure the tape is in the drive.
From the Main Administration page, under "System Administration," click File System Backup and Restore.
The File System Backup and Restore Administration page is displayed.
Under "Restore," click Selective Restore.
The Selective File System Restore page is displayed. (Note that it may take several minutes for the form to be displayed because the table of contents on the tape must be read first.)
Complete the form using the information in Table 6-8.
Table 6-8 Selective Restore Administration
Option |
Description |
---|---|
Directories |
The directories that will be restored from the backup tape to the Netra server. You must select at least one directory. Directories are restored recursively. (For example, if you select /export/ftp, all the files in all the directories in /export/ftp will be restored.) |
Restore location |
The directory that receives the restored directories. If not chosen, the directories restored into their default directories. |
Eject Tape |
Ejects the tape from the drive after the restore operation is completed. Choices: Yes, No. |