Netra j 2.0 Administrator's Guide

File System Backup and Restore


Note -

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.

Backup Options

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.


Note -

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:


Note -

Only a single-tape backup is supported, and the tape is rewound after the backup process is completed.


Restore Options

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:

To Set Backup Options for a Scheduled Backup
  1. From the Main Administration page, under "System Administration," click File System Backup and Restore.

    The File System Backup and Restore Administration page is displayed.

  2. Under "Backup," click Set Backup Options.

    The File System Backup Options page is displayed.

  3. 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. 

To Back Up the File System Immediately
  1. From the Main Administration page, under "System Administration," click File System Backup and Restore.

    The File System Backup and Restore Administration page is displayed.

  2. Under "Back up," click Immediate backup.

    The Immediate File System Backup page is displayed.

  3. 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.

To Change the Restore Device
  1. From the Main Administration page, under "System Administration," click File System Backup and Restore.

    The File System Backup and Restore Administration page is displayed.

  2. Under, "Restore" click Change Restore Device.

    The Change Restore Device page is displayed.

  3. 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. 

To Restore Groups of Directories

Note -

Before you begin, make sure the tape is in the drive.


  1. From the Main Administration page, under "System Administration," click File System Backup and Restore.

    The File System Backup and Restore Administration page is displayed.

  2. Under "Restore," click Easy Restore.

    The Easy File System Restore page is displayed.

  3. 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.  

To Restore Selected Directories

Note -

Before you begin, make sure the tape is in the drive.


  1. From the Main Administration page, under "System Administration," click File System Backup and Restore.

    The File System Backup and Restore Administration page is displayed.

  2. 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.)

  3. 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.