For Linux by pengxiang

VIEWS: 17 PAGES: 54

									                        ®




For Linux




            Administrator Guide
This documentation and related computer software program (hereinafter referred to as the “Documentation”) is for
the end user’s informational purposes only and is subject to change or withdrawal by Computer Associates
International, Inc. (“CA”) at any time.

THIS DOCUMENTATION MAY NOT BE COPIED, TRANSFERRED, REPRODUCED, DISCLOSED OR
DUPLICATED, IN WHOLE OR IN PART, WITHOUT THE PRIOR WRITTEN CONSENT OF CA. THIS
DOCUMENTATION IS PROPRIETARY INFORMATION OF CA AND PROTECTED BY THE COPYRIGHT LAWS
OF THE UNITED STATES AND INTERNATIONAL TREATIES.

TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS”
WITHOUT WARRANTY OF ANY KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. IN NO EVENT
WILL CA BE LIABLE TO THE END USER OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE, DIRECT OR
INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST
PROFITS, BUSINESS INTERRUPTION, GOODWILL OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED OF
SUCH LOSS OR DAMAGE.

THE USE OF ANY PRODUCT REFERENCED IN THIS DOCUMENTATION AND THIS DOCUMENTATION IS
GOVERNED BY THE END USER’S APPLICABLE LICENSE AGREEMENT.

The manufacturer of this documentation is Computer Associates International, Inc.

Provided with “Restricted Rights” as set forth in 48 C.F.R. Section 12.212, 48 C.F.R. Sections 52.227-19(c)(1) and (2) or
DFARS Section 252.227.7013(c)(1)(ii) or applicable successor provisions.

 2000 Computer Associates International, Inc., One Computer Associates Plaza, Islandia, New York 11749. All
rights reserved.

All product names referenced herein belong to their respective companies.
              Contents


Chapter 1: Introducing ARCserve
Features ...................................................................................... 1–1
Components .................................................................................. 1–3
Functionality ................................................................................. 1–4
    The arcroot User Profile .................................................................... 1–6



Chapter 2: Backing up Your Data
The Backup Manager .......................................................................... 2–1
    Source ................................................................................... 2–2
    Destination ............................................................................... 2–2
    Method/Schedule ......................................................................... 2–3
         Customizing Schedules ................................................................ 2–4
Backup Options ............................................................................... 2–7
    Pre/Post ................................................................................. 2–7
    Log ...................................................................................... 2–8
    File Retry/Sharing ........................................................................ 2–9
    Database ................................................................................ 2–10
    Verification .............................................................................. 2–10
    Session Password ........................................................................ 2–10
    Media Exporting ......................................................................... 2–11
    Misc .................................................................................... 2–11
    Virus Scan ............................................................................... 2–11
Using Filters ................................................................................. 2–12
Submitting a Backup Job ...................................................................... 2–12




                                                                                         Contents   iii
Chapter 3: Restoring Data
Restore Manager .............................................................................        3–1
    Source ...................................................................................       3–1
    Destination...............................................................................       3–2
Restore Options ..............................................................................       3–3
    Pre/Post .................................................................................       3–3
    Log ......................................................................................       3–4
    Media Rules ..............................................................................       3–4
    Destination...............................................................................       3–5
Using Filters .................................................................................      3–6
Submitting a Restore Job ......................................................................      3–6



Chapter 4: Job Status Manager
Manage Servers and Groups ...................................................................        4–1
Job Queue ...................................................................................        4–2
    Job Summary .............................................................................        4–5
    Job Log ..................................................................................       4–5



Chapter 5: Filters, Scheduling and Job Scripts
Filters .......................................................................................      5–1
     File Pattern Filter .........................................................................   5–2
     Directory Filter ...........................................................................    5–2
     File Modified Filters.......................................................................    5–2
     File Created Filters ........................................................................   5–2
     File Accessed Filters.......................................................................    5–3
Scheduling ...................................................................................       5–3
Job Scripts ...................................................................................      5–4




iv   ARCserve for Linux Administrator Guide
Chapter 6: Managing Devices and Media
The Device Manager .......................................................................... 6–1
    Device Group Configuration ............................................................... 6–2
        Parallel Streaming ..................................................................... 6–2
        Automated Media Spanning ............................................................ 6–3
    Format ................................................................................... 6–3
    Erase ..................................................................................... 6–4
    Media Copy .............................................................................. 6–4
    Retension ................................................................................. 6–5
    Compression ............................................................................. 6–5
    Eject ..................................................................................... 6–5
    Enable/Disable Device .................................................................... 6–5
    Online/Offline Library .................................................................... 6–6
    Mount/Dismount ......................................................................... 6–6
    Load/Unload ............................................................................. 6–6
    Import/Export ............................................................................ 6–6
    Clean Tape Heads ......................................................................... 6–7
    Merge Media ............................................................................. 6–7
    Scan Media ............................................................................... 6–7
Media Pools .................................................................................. 6–8
    Rotation and Grandfather-Father-Son (GFS) Media Pools ..................................... 6–9
    Creating a Media Pool .................................................................... 6–10
    Assigning Media to a Media Pool .......................................................... 6–11



Chapter 7: Managing the Database and Reporting
The Database Manager ........................................................................ 7–1
    Selecting a Database View.................................................................. 7–1
    Add Client ............................................................................... 7–2
    Configure ................................................................................ 7–2
The Report Manager .......................................................................... 7–3
    Logs ..................................................................................... 7–3
    Database Reports .......................................................................... 7–4




                                                                                        Contents   v
 Chapter

           Introducing ARCserve
  1
              ARCserve is a comprehensive backup and restore management solution.

              ARCserve backs up and restores data from Windows NT/2000 and UNIX
              servers. It also backs up/restores data from Windows NT/2000, Windows 9x,
              UNIX workstations or NetWare servers using optional Client Agents.

              Additionally, it provides a Java Manager to manage UNIX-based ARCserve
              servers through Netscape or Internet Explorer browsers. ARCserve can support
              small- and large-scale networks, it can run on one machine or many, and can
              span thousands of miles, different support organizations and platforms. It also
              provides media utilities for maintainance.

              ARCserve provides a comprehensive set of product documentation, including
              online documentation and online help, Adobe Acrobat PDF files and readme
              files containing up-to-date supplemental information.




Features
              ARCserve offers the following features:

              Web-based access to all ARCserve Manager windows The Manager consists
              of a Java Applet providing access to the various ARCserve servers within each
              ARCserve Domain. Once connected to an ARCserve web server, the Manager for
              that domain is displayed. Each ARCserve Manager window can then be
              accessed to allow backup, restore, and other management tasks to be performed.

              Central Management— Allows you to manage multiple host servers from a
              single ARCserve Manager. You can back up and restore any machine and other
              servers in your network from a central console. You can group preferred
              ARCserve Servers and view job status, monitor active jobs as well as view
              activity logs. From the Database Manager, you can administer the various
              ARCserve host datasbase systems from a single console.




                                                                   Introducing ARCserve    1–1
Features




                        Media Rotation Scheme— Allows you to schedule repeating backup jobs that
                        are custom-made for your environment. ARCserve uses an automatic rotation
                        scheme, which can be a simple rotation or a Grandfather-Father-Son (GFS)
                        rotation. You can also submit large backup jobs that will automatically span
                        multiple media until the job is complete.

                        Media pool management—The Media Pool Manager allows you to create and
                        maintain media pools for a logical grouping of media. This allows you to
                        efficiently schedule the maintenance and recycling of your media.

                        Changer support—An autochanger (or “changer”) is a device that automates the
                        insertion and removal of tapes to and from magazine slots and changer drives.
                        ARCserve provides built-in changer support for one tape drive with 20 slots or
                        less. Using a changer enables you to group a range of slots together, which
                        offers advantages such as tape spanning.

                        Client Agent support—Back up remote machines using the ARCserve Client
                        Agents (such as Client Agent for NetWare, Windows 9x, NT/2000 and UNIX).
                        Client Agents efficiently back up and restore complete system information for all
                        the listed platforms employing the latest PUSH technology. Some of these agents
                        may be sold separately.

                        Device Configuration — Supports various media including 4mm, 8mm, and
                        DLT. You can submit jobs concurrently when using multiple storage devices.

                        Pre/Post Commands Based Upon Job Status— Contains conditional
                        pre-execution, and post-execution based on previous results (exit codes).
                        Pre/post execution not only is supported for before/after job execution, but also
                        before/after execution on machines. You may elect to run or not to run a
                        command if a job fails, is completed, or not. For instance, you may run a detailed
                        report on a job if it fails.

                        Command Line component—Provides direct control over all operations that can
                        be performed by an ARCserve Server via the UNIX prompt. Using command
                        line utilities provides an alternative method of accessing almost all of the
                        operations available from the ARCserve Manager.

                        Security —Provides intelligent, end-to-end remote and local client to server data
                        compression. Compressing data increases the effectiveness of devices and
                        decreases network traffic. Its “intelligence” is used to compress data if the tape
                        drive doesn’t support compression, or the hardware compression is disabled.
                        All backup jobs can be encrypted with a session/encryption password to
                        enhance network security.




1–2   ARCserve for Linux Administrator Guide
                                                                                   Components




Components
              ARCserve consists of two main components that work together to back up, copy,
              and restore your data. The components are:
                  The Manager
                  The Server

The Manager   Use the Manager to submit your backup and restore jobs, manage your database,
              search reports, and so forth. It enables you to control all operations of ARCserve
              from a single machine.

              The Manager includes Java classes, icons, images, the httpd daemon and
              Communicator program which functions as an information bridge between the
              browser and back-end services.




              The server runs on a UNIX file server, and consists of back-end core services (or
The Server
              daemons) that process all jobs, and updates information about these jobs in the
              activity logs and database. The Server contains following back-end services:

              I   Discovery Service (asdiscovd)--Collects and maintains information on the
                  availability of the ARCserve servers on the network, and supplies this
                  information to clients that request access to ARCserve resources. In addition,
                  it also maintains the user information obtained from the ARCserve servers
                  on the network.




                                                                     Introducing ARCserve    1–3
Functionality




                        I   ARCserve Loader (arcserved)--Responsible for loading and unloading all
                            ARCserve services.
                        I   Authentication Service (asauthd)--Provides a centralized point of control for
                            security issues concerning the entire network of resources made available by
                            ARCserve for UNIX. It verifies and controls the actions performed on
                            ARCserve resources via a predefined set of privileges (permissions).
                        I   Job Scheduler (asqd)--Manages the jobs that are scheduled through the
                            Manager or command line.
                        I   Media Server (asmediad)--Handles the transfer of data, to and from media.
                        I   Database Server (asdbd)--Keeps track of the jobs run, and all of the files
                            backed up or restored by ARCserve.
                        I   Event Logger (asloggerd)--Handles message logging and message retrieving.
                            Outputs messages to numerous destinations such as a printer or an internet
                            email.




Functionality
                        ARCserve furnishes the components, functions and utilities required by Network
                        Managers to obtain and actively manage network backups. The management
                        functions of ARCserve are as follows:

                        Backs up data to media. This button brings up the Backup Manager so that you
                        can schedule and submit jobs to back up your machines. It allows you to
                        perform a complete system backup of all machines. Information about each
       Backup
                        backup job (such as the path and name of each file, as well as the media used) is
                        logged in the ARCserve database.

                        Restores data that has already been backed up by ARCserve. This button
                        brings up the Restore Manager so that you can schedule and submit jobs to
                        restore the data from your machines. It allows you to perform a complete or
       Restore
                        partial restore of data.

                        Displays information from the database, such as the jobs processed, the media
                        used, and the devices you are using with ARCserve.
       Database

                        Monitor all pending, completed, and active jobs from the Job Status Manager
                        window. You may reschedule pending jobs, submit new jobs, delete jobs, and
                        stop active jobs. Log information is provided for each completed job.
       Job Status




1–4   ARCserve for Linux Administrator Guide
                                                                                   Functionality




             Displays information about your storage devices and media. It also allows you
             to change a drive’s compression mode, and perform media functions such as
Devices      compression, formatting, erasing, ejecting and retensioning. You can assign
             serial numbers to media to help manage your rotations.

             ARCserve supports a wide variety of media including 4mm, 8mm and DLT.

             Reports are generated from data in the database. Various reports include
             information about jobs, media errors, sessions, backup devices and media
             pools. Some reports help you keep track of media usage, and Rotation and GFS
Reports      activity.

             Manages, creates and maintains logical groupings of media for easy
             identification of backups. This allows you to efficiently schedule the
             maintenance and recycling of your media. The administrator can design
Media Pool   specific media rotation schemes to suit the particular archive needs. It employs
             either the Simple Rotation or the Grandfather-Father-Son Rotation scheme to
             make scheduling easier. You may produce reports detailing media information
             for media pools used in your rotation schemes, including media status and
             session information.

             Allows the ARCserve user to customize user access to ARCserve based on the
             privileges assigned to a specified group.

Profiles

             The Merge utility allows you to merge information from ARCserve media into
             the ARCserve database. The database information from the media will be
             appended to your existing database files. You could use the Merge utility if
Merge        you need to restore files to an ARCserve host that you did not use to create the
             backup.

             The Scan Tape utility allows you to scan ARCserve media for information about
             your previous backups. You can scan a single session or the entire media.
             Results of the media scan can be viewed in the Report Manager under the
Scan         Activity Log listing, or under the User Log listing if an additional log file is
             created.




                                                                    Introducing ARCserve    1–5
Functionality




The arcroot User Profile

                        ARCserve is designed with the arcroot super user profile that is automatically
                        assigned root privileges for all ARCserve functions. The password for the arcroot
                        profile can be set during the configuration of the software or afterwards via
                        ARCserve's Profile Manager. Additional user profiles can be created (possessing
                        their own set of rights), via the Profile Manager as well.

                        Note: ARCserve Users only control access to ARCserve related functions, and
                        should not be confused with the operating system required log in name and
                        password.




1–6   ARCserve for Linux Administrator Guide
 Chapter

           Backing up Your Data
  2

The Backup Manager
              ARCserve allows you to backup data from most machines attached to your
              network. The optional Client Agents allow you to communicate with remote
              workstations in various environments. Using ARCserve and the various client
              agents you can perform complete system backups including system information
              on NetWare, Windows or UNIX machines. ARCserve allows great flexibility in
              specifying options, filters, and scheduling information for your backup jobs.

              For more information on ARCserve’s Client Agent Option, refer to the ARCserve
              Getting Started Guide or contact your Computer Associates representative.

              ARCserve's backup capabilities are powerful, versatile and easy to use. You can
              use Backup Manager to:
              I   Backup to various media or create a customized backup scheme.
              I   Use filters to selectively exclude or include directories and files from backup
                  jobs.
              I   Create an automated backup scheme using Rotation/GFS rotation scheme.
              I   Apply backup options to local source objects (such as volumes and nodes) or
                  globally to the entire backup job, or to both at the same time.

              Each backup job requires a source and destination. The Backup Manager screen
              contains three tabs to customize your restore job:
                  Source
                  Destination
                  Method/Schedule

              This chapter describes some of the basic backup options available to you. For
              information on how to perform a basic backup job, refer to the online ARCserve
              Procedures.




                                                                     Backing up Your Data     2–1
The Backup Manager




Source

                        ARCserve makes it easy to find the files you want to backup. The files you select
                        as your source must be on a hard drive. Click on the server and the volumes are
                        displayed in the right panel. If you double-click on the server and the volume,
                        the directories and files are displayed for you to select. For further information
                        on how to select a source, refer to the online ARCserve Procedures.




Destination

                        The destination must be an ARCserve backup media device. ARCserve displays
                        the group and media names that are available. For further information on how
                        to select a destination, refer to the online ARCserve Procedures.




2–2   ARCserve for Linux Administrator Guide
                                                                            The Backup Manager




Method/Schedule

                  This tab determines the schedule type. ARCserve provides three backup
                  schemes to choose from:
                  I   Custom— Enables you to run a backup job either once, or on a repeating
                      basis. Customize the backup job by choosing the Repeating Interval and
                      Media Rules tabs for each backup job submitted.




                  I   Rotation— Enables you to maintain a weekly rotation of media using a
                      combination of three different backup methods: Full, Differential, and
                      Incremental. Customize the backup job by choosing the Cycle Table, Media
                      Rules, Calendar View and Exception View tabs for each backup job
                      submitted.




                                                                      Backing up Your Data     2–3
The Backup Manager




                         I   GFS Rotation--Enables you to maintain a monthly rotation of media using a
                             combination of three different backup methods: Full, Differential, and
                             Incremental. Customize the backup job by choosing the Cycle Table, Media
                             Rules, Calendar View and Exception View tabs for each backup job
                             submitted.




                             The primary purpose of the GFS scheme is to suggest a minimum standard
                             and consistent interval at which to rotate and retire the media. GFS backup
                             schemes are based on a five or seven-day weekly schedule beginning any
                             day. A full backup is performed at least once a week. On all other days, full,
                             partial, or no backups are performed. The daily backups are the Son. The
                             last full backup in the week (the weekly backup) is the Father. The last full
                             backup of the month (the monthly backup) is the Grandfather. GFS rotation
                             schemes allow you to back up your servers for an entire year using a
                             minimum of media.
                             Note: A five-day GFS rotation scheme requires 21 media-per-year, while a
                             seven-day scheme requires 23 media-per-year.
                             Using GFS rotation, you can restore data reliably for any day of the week by
                             using the weekly full backup in conjunction with the daily incremental or
                             differential backup jobs.


Customizing Schedules

                         Although GFS rotation schemes are predefined, you can modify these schemes to
                         suit your individual needs as an administrator. You can use the following tabs
                         on the bottom of the Method/Schedule tab of the Backup Manager to customize
                         your GFS rotation jobs:

Repeating Interval for   If you choose the Custom backup scheme, you can also choose the Repeat
Custom Backups           Method as either Once or Custom. If Custom is selected, you can choose the
                         Repeat Interval in months, days, hours, and minutes and/or the days of the week
                         to exclude.




2–4   ARCserve for Linux Administrator Guide
                                                                                         The Backup Manager




Media Rules for       You can specify the overwrite/append options for the media used in your
Custom Backups        backup job while you are configuring the job. This section describes the rules so
                      that you can determine which method is best for your purposes. The following
                      types of options are available:
                             Select Media Pool: allows you to select a media pool previously created to
                             use with a current backup job.
                             Eject Media: allows you to eject the media from the drive after the job
                             finishes. This helps prevent any other job from overwriting information on
                             this media.
                             First Media Options: determine the overwrite rules for the first media that is
                             used for the backup job.
                             Span Media Options: determine the overwrite rules for the additional media.

                      For information on how to specify the overwrite/append options for the media
                      used in your backup job, refer to ARCserve Procedures.

       First Media Options

                      By default, ARCserve appends any data to the media selected for the backup job.
                      However, you can also overwrite media in the drive, by selecting another Media
                      Option. The First Backup Media is the media you use when the backup job
                      begins. The available options for the first media are:
                             Overwrite Same Media Name, or Blank Media— Overwrite the media in the
                             drive only if it is the one you specified for the job or if the media is blank. If
                             neither of these conditions is met, you are prompted to supply the specific
                             media name. If media with a different name is in the drive when the job
                             takes off, the job will fail.
                             Overwrite Same Media Name or Blank Media First, then Any Media—
                             Overwrite the media in the drive only if it is the one you specified for the job
                             or if the media is blank. If neither of these conditions exist, ARCserve
                             reformats whatever media it finds in the device and starts backing up files at
                             the beginning of the media.

                             Note: Only Rotation/GFS Rotation media will not be overwritten. If
                             ARCserve finds that the media in the drive is a Rotation/GFS Rotation
                             media, the job will fail.
                             Overwrite Same Media Name, or Any Media First, then Blank Media—
                             Overwrite any media that is in the drive, with the same name, or any media.
                             If media with a different name is in the drive or if the media in the drive is a
                             Rotation/GFS Rotation media, the job will fail.
                             Timeout for First Media— Number of minutes ARCserve will wait for a
                             media to be inserted into a drive before it cancels the job.




                                                                                  Backing up Your Data      2–5
The Backup Manager




                        Warning: Unlike appending to a media, overwriting a media formats the media
                        and then starts writing to it at the beginning. Any data on the media is lost.

        Span Media Options

                        This option applies to jobs that require more than one media. You need to
                        specify which media ARCserve can use when the job spans media. The
                        additional backup media options are:
                             Overwrite Same Media Name, or Blank Media— Write to the media in the
                             device only if it has the same media name (but a different media ID) or if it is
                             blank. As long as the ID is different, ARCserve reformats the media, giving
                             it the same name and ID as the first media. The sequence number varies.
                             Overwrite Same Media Name or Blank Media First, then Any Media—
                             Overwrite any media found in the device (as long as it has a different ID
                             from the first media’s ID). All subsequent media are reformatted with the
                             same name and ID as the first media. Only the sequence number varies.
                             Be careful when using this option when you have grouped drives. Leaving
                             media in a drive can cause it to be reformatted if you have told ARCserve to
                             span to any media.
                             Overwrite Same Media Name, or Any Media First, then Blank Media—
                             Using this option overwrites any media that is in the drive, with the same
                             name as in the Media Name field, or any media. If media with a different
                             name is in the drive or if the media in the drive is a Rotation/GFS Rotation
                             media, the job will fail.
                             Timeout for Additional Media— Number of minutes ARCserve will wait for
                             a media to be inserted into a drive before it cancels the job.

Cycle Table for         ARCserve allows you to select from pre-defined rotation schemes. You can
Rotation and GFS        modify these schemes by specifying your own rotation parameters. However,
Rotation                there are four default schemes, which cannot be modified:
                             5-day weekly incremental backup, full backup on Friday
                             5 day weekly incremental backup, full backup on Friday, with GFS enabled
                             7-day weekly incremental backup, full backup on Sunday
                             7-day weekly incremental backup, full backup on Sunday, with GFS enabled

                        Note: You can modify one of these default schemes by using the Save as feature.

                        The backup method determines which files in a selected drive or directories are
                        backed up. The following types of backup methods are available within the pre-
                        defined schemes:
                             Full— Includes all the source files. You can repeat this job daily, weekly or
                             monthly. You might use this option if you wish to perform an unscheduled
                             full backup that will not affect your incremental or differential backups.




2–6   ARCserve for Linux Administrator Guide
                                                                                        Backup Options




                         Incremental— Includes only those files that have changed since the last
                         backup was done (determined by date/time of last saved changes).

                         Note: After each backup, the date and time are recorded so that they are not
                         backed up during the next incremental backup job.
                         Differential— Includes files that have been changed since the last Full
                         backup.

                         Note: A full backup will be made of the job and all dates and times are
                         recorded, then the differential Backup will back up files that have their dates
                         and/or times changed. (The dates and times will not be recorded after the
                         backup.)

                     Note: Files are flagged for backup based on the modified date and time.

                     In general, if you have large amounts of data to be backed up every day, running
                     regular differential or incremental backup jobs after a full backup may be your
                     best solution.

Media Rules for      This view allows you to define the prefix used for the media pool of this rotation
Rotation and GFS     scheme and the media pool information (pool name, owner name, serial number
Rotation             information, minimum number of media in Save set, and retention period. This
                     view in the GFS Rotation also allows you to define preserve media.

Calender View for    You can use the Calendar View to customize your rotation scheme according to
Rotation and GFS     the types of backups you want for particular days of the week or month. This
Rotation             feature enables you to specify exceptions to the standard rotation scheme you’re
                     using (for instance, if a holiday falls on Wednesday, your usual backup day).

Exception View for   In this view, you can click Add to define particular days on which the back up
Rotation and GFS     type and the execution time or date differs from the pre-existing schemes. You
Rotation             can also select specific days off or define different backup criteria for days in
                     your rotation on which you want to deviate from the standard scheme.




Backup Options
                     Backup Options allow you to further customize your backup job. The available
                     backup option tabs are:



Pre/Post

                     ARCserve allows you to specify pre/post commands that perform various
                     actions immediately before and/or after your data is backed up to media. You
                     can specify pre/post commands:




                                                                            Backing up Your Data     2–7
Backup Options




                            For the entire backup job: These commands are executed at the beginning or
                            end of the job.
                            You can run commands, executable programs, and shell scripts.

                        Note: If you specify pre/post commands for the entire job, as well as for
                        machines in the job, the global pre/post commands are executed before/after the
                        job starts/ends and local commands are executed when the selected machine is
                        backed up.


Log

                        The Log options determine the level of detail that is included in the log report for
                        the operation. The log options can be set in the following windows: Backup,
                        Restore, Scan and Merge. The log options are:
                            Log All Activities— Record all of the activity that occurs while the job is
                            running in the Job Log.
                            Log Summary Only— Record summary information of the job (including
                            source, destination, session number, and totals) and errors.

                        You can also select the output devices for the activity log. You may select the
                        following choices:

SNMP Option             You can send messages to your SNMP messaging console using the SNMP Alert
                        option. This option is designed into the Backup, Restore, Scan and Merge
                        Managers.

Printer Option          You can use the Printer option to print messages to a designated local UNIX
                        printer. This option is designed into the Backup, Restore, Scan and Merge
                        Managers.

E-mail Option           The E-mail option is used to send E-mail messages to specific users. This option
                        is designed into the Backup, Restore, Scan and Merge Managers.

Unicenter TNG Option    The Unicenter TNG (The Next Generation) Option makes it possible to send a
                        message to the Unicenter TNG console and/or World View repository when an
                        alert is generated.

                        Note: The Alert application must be running on both the Event Management
                        machine as well as the World View machine.

                        Refer to the online Procedures for explicit directions on how to send a message to
                        the Unicenter TNG Console and/or the World View repository.




2–8   ARCserve for Linux Administrator Guide
                                                                                            Backup Options




File Retry/Sharing

                     When ARCserve encounters an open file, there are two types of Retry options:
                         Open File Retry— determines how frequently (if at all) ARCserve will
                         attempt to back up or copy open files.
                         Retry Immediately— Back up or copy the file again immediately after the
                         first attempt failed. If the file is still unavailable, this information is written
                         to the Activity Log, and the job is labeled “Incomplete”.
                         Retry After Session— Back up or copy the file again after all the other
                         source files have been backed up. If the file is still unavailable after these
                         attempts, this information is written to the Activity Log, and the job is
                         labeled “Incomplete”.
                         Number of Retries— Number of times you want ARCserve to try to back up
                         or copy the file.
                         Retry Interval (sec)— Period of time you want ARCserve to wait between
                         attempts.
                         File Sharing— determines how ARCserve shares the files with other
                         applications when backing up or copying a file.
                         Use Deny None if Deny Write Fails [default]— Attempt to place the file in
                         “Deny Write” mode. If this is not possible (because the file is already open),
                         then place the file into “Deny None” mode.
                         Use Lock Mode if Deny Write Fails— Attempt to place the file in “Deny
                         Write” mode. If this is not possible (because the file is already open), then
                         lock the file completely (prohibiting any user from opening or writing to the
                         file). This option ensures the most recent version of the file is backed up or
                         copied.
                         Deny Write— Prevent another process from writing to the file while
                         ARCserve has it open. If another process has the file open before ARCserve
                         can open it, ARCserve will not back up the file (unless you specified an Open
                         File Retry option).
                         Deny None— Allow another process to read or write to the file, regardless of
                         whether ARCserve opens it first or opens it after another process already has
                         it open. This option ensures that your files are up-to-date, although the file
                         that was backed up or copied may not be the most recent version.

                     Note: If you use applications (such as e-mail) that are in operation 24 hours a
                     day, you may want to choose one of the Deny None methods. As long as no
                     other process is writing to these files during the job, the backup or copy will be
                     consistent. If you want to ensure that only the most current version of every file
                     is backed up or copied, you should select a Deny Write or Lock Mode option.




                                                                                Backing up Your Data      2–9
Backup Options




Database

                        The Database options determine the level of detail that is included in the
                        database for the backup job. The options are:
                            Record Detail Information
                            Record Job and Session Information Only


Verification

                        ARCserve allows you to verify that your data was correctly backed up to media.
                        You can verify data for the entire backup job or for a selected drive in your
                        backup job. The global verification options (applied to the entire job) will be
                        overridden by the options selected for a drive.
                            None— The backup will not be verified.
                            Scan Media Contents— Check the header of each file on the backup media.
                            If it is readable, ARCserve assumes the data is reliable. If it is not readable,
                            the Activity Log is updated with this information. Of the verification
                            methods listed here, this one is fastest.
                            Compare Media to Disk— Data from the backup media is read and
                            compared byte for byte against the source files. This option takes time, but
                            ensures that all data on the backup media are exactly as on the disk. If
                            ARCserve finds a mismatch, the errors are recorded in the Activity Log.


Session Password

                        To ensure security throughout your network, you can choose from the following
                        methods:
                            Session/Encryption Password— To enhance network security, specify a
                            session/encryption password that will be required in order to restore this
                            data from media.
                            Note: Make sure that you remember your password so that it is available
                            when you want to restore your data. If you do not know your password,
                            you will not be able to access the data!
                            Compress Files Before Backup— Specify whether or not files will be
                            compressed before backup. You can increase the effectiveness of your media
                            and increase data speed by setting this option on. If the tape drive does not
                            support compression, or if the hardware compression is disabled, ARCserve
                            will not compress the data.
                            Encrypt Files Before Backup— Specify whether or not files will be encrypted
                            before backup. Encryption encodes your data so that it is not intelligible.




2–10   ARCserve for Linux Administrator Guide
                                                                                      Backup Options




Media Exporting

                  The following options are available only with the devices which support the
                  Import/Export function.
                      None— No Media Exporting will take place.
                      Export Duplicate Media after Job— A duplicate copy of the media will be
                      exported after the job is complete.
                      Export All Media after Job— All media will be exported after the job is
                      complete.


Misc

                  This tab determines actions that occur during or after the backup, and the level of
                  information that is recorded in the database. The options are:

                      Delete Files After Backup— Delete source files from the source machine after
                      they have been backed up to media. Use this option to perform disk
                      grooming. Set a filter to back up files that haven’t been accessed for a certain
                      period of time (say, three months or so), and then select this option to delete
                      these files from the source disk.
                      Disable File Estimate— By default, before any file is backed up to media,
                      ARCserve, performs an estimate of how long the job will take. Select this
                      option if you want to skip this function.
                      Clear User Connection (NetWare Only)— For backup of a NetWare client,
                      the connection will be cleared when the backup is complete.
                      Clear Archive Bit (DOS and Windows Only)— For backup of a DOS or
                      Windows NT or 9x client, the Archive Bit will be reset after the backup job is
                      complete.


Virus Scan

                  You can automatically scan for viruses during a backup operation using the virus
                  scanning options. The available virus scanning options are:
                      Enable Virus Scanning— Select this option to enable virus scanning.
                      Skip— Do not take any actions to this file.
                      Rename— Rename the infected file with an AVB extension. (If a file with the
                      same name and the extension AVB exists, then extension AV1 is used, and so
                      on.)
                      Delete— Delete the infected file.
                      Cure— Attempt to cure the infected file.




                                                                         Backing up Your Data    2–11
Using Filters




Using Filters
                        Filters allow you to include or exclude files and directories from your backup
                        jobs. Filtering can be performed on a per node basis. This means you can
                        include a directory from one node and exclude the same directory from another
                        node.

                        A backup job can have node-level and job-level filters for the same job. Node-
                        level filters apply to one specific node, not the entire job. If you want to add a
                        filter that applies to the entire job, use a Job-level filter.

                        For further information on filters, refer to the chapter “Filters, Scheduling and
                        Job Scripts” in this guide.




Submitting a Backup Job
                        All jobs can be scheduled in essentially the same way, using the Submit button
                        available on the toolbar in each Manager. You can submit a Run Job Now or you
                        can schedule your job.

                        For further information on scheduling and submitting jobs, refer to the chapter
                        “Filters, Scheduling and Job Scripts” in this guide.




2–12   ARCserve for Linux Administrator Guide
 Chapter

           Restoring Data
  3

Restore Manager
              The aim of running a successful restore job is to quickly identify the data you
              need, and to retrieve it from the appropriate backup media.

              ARCserve allows you to restore data to most machines attached to your network.
              Each restore job requires a source and destination. The files selected as your
              source must originate from an ARCserve backup media, and the destination
              must be a hard drive. The Restore Manager screen contains two tabs to
              customize your restore job:
                  Source
                  Destination

              The optional Client Agents allow you to communicate with remote workstations
              in various environments. The client agents allow you to restore data to NetWare,
              Windows or UNIX machines.

              For more information on ARCserve’s Client Agent options, refer to the ARCserve
              Getting Started Guide or contact your Computer Associates representative.

              This chapter describes some of the basic restore options available to you. For
              information on how to perform a basic restore job, refer to the online ARCserve
              Procedures.


Source

              ARCserve provides the most convenient and thorough methods for finding files
              you want to restore. ARCserve provides you with three methods for selecting
              the data (the source) you want to restore:

              I   Restore by File System— Restores a specific directory or drive from a display
                  of files and directories that were backed up with ARCserve. Use this method
                  when you don’t know which tape contains the data you need, but you know
                  which machine it came from.




                                                                            Restoring Data      3–1
Restore Manager




                        I   Restore by Session— Allows you to select the session, and the files and
                            directories you want to restore. Use this method when you know the tape
                            name, but are not certain about the session you want to restore.

                        I   Restore by Backup Media— Restores a complete backup session from a
                            specified media in a storage device. All files in the session are restored to the
                            destination, unless filters are added to the restore job. Use this method when
                            a tape was created by a different version of ARCserve or if the database does
                            not recognize it.




                        For detailed information on using these restore methods, see the online ARCserve
                        Procedures.


Destination

                        ARCserve allows you to select the user-defined directories and drives as the
                        destination you want to restore the data to:




                        For information on how to select a destination, refer to the online ARCserve
                        Procedures.




3–2   ARCserve for Linux Administrator Guide
                                                                                       Restore Options




Restore Options
                    When you are creating a restore job, there are options to choose from to
                    customize your job. The available option tabs are:

                        Pre/Post
                        Log
                        Media Rules
                        Destination


Pre/Post

                    The Pre/Post option allows you to run a command on your machine before
                    and/or after the job is executed. The available Pre/Post options are:

Run Command         Enter the path to and name of the file to be executed on the machine before the
Before Job          job takes off.
                        On Exit Code— ARCserve detects exit codes of other programs. You can
                        specify the following options for a particular exit code:
                        — Run Job Immediately: The job runs immediately if the appropriate code is
                        selected.
                        — Skip Job: The job does not run if the appropriate exit code is detected.
                        — Skip Post Application: Skip any commands specified to run after the job if
                        the appropriate code is detected.
                        Delay in Minutes— Specify the delay in which ARCserve waits before
                        running a job when the appropriate exit code is detected.

Run Command After   Enter the path to and name of the file to be executed on the machine after the job
Job                 is completed.

Run Before/After    The User Name and Password corresponds to the UNIX system of the host
Command As          server selected, and is required in order to check the system privileges on that
                    server. The user name and password entered into these fields should not be
                    confused with ARCserve's User Name and Password.




                                                                                   Restoring Data      3–3
Restore Options




Log

                        The Log options determine the level of detail that is included in the log report for
                        the restore job. You can view the log report in the Job Status or Report Manager
                        window.

                        The log options are:
                        I   Log All Activities— Record all of the activity that occurs while the job is
                            running in the Job Log.
                        I   Log Summary Only— Record summary information of the job (including
                            source, destination, session number, and totals) and errors.

                        Output Devices for Activity Log— There are four different output destinations
                        available in which to send log file information. They are:
                            TNG Alert— sends all messages to the TNG console.
                            Note: Both the ARCserve server and the machine running TNG are required
                            to be configured in order for this option to work. See the ARCserve
                            README file for information on the required configuration tasks.
                            SNMP Alert— sends all messages to your SNMP messaging console.
                            Printer Name— sends all messages to the specified UNIX printer local to
                            ARCserve server.
                            Note: The ARCserve server selected to print, must be configured to do so, in
                            order for this option to work.
                            Internet Email - sends all messages to the specified Email address. (Note: The
                            ARCserve server selected to send messages via Email, must be configured to
                            do so, in order for this option to work.)


Media Rules

                        You can specify a timeout period ARCserve should wait for you to provide the
                        media you need to restore your data. Available Media options are:
                            Timeout for First Media— Period of time waited for the first media required
                            for your restore job. If the time expires and the first media has not been
                            provided, the job will fail. By default, ARCserve will wait five minutes.
                            Timeout for Additional Media— Period of time waited for any additional
                            media to become available. By default, there is no timeout.




3–4   ARCserve for Linux Administrator Guide
                                                                                             Restore Options




Destination

                      The Destination options determine how the directory structure is created on the
                      destination when files restored. They also determine which files (if any) can be
                      overwritten.

Directory Structure   Select the method used to create directories on your destination. The Directory
Options               Structure options are:
                          Do Not Create the Base Directories— (default) Do not create the base
                          directory on the destination path, but create all subdirectories below the
                          source base directory. A “base directory” is considered the last directory
                          selected in the source path.
                          Create Directories from the Base— Create the destination path beginning
                          from the base directory.
                          Create Entire Path from the Root— Create the entire source path (except the
                          root drive or volume name) on the destination. No files from any parent
                          directories are restored. Only the directory path to the base directory is
                          created on the destination.

File Conflict         Select the method used when there are files on the destination disk that have the
Resolution Options    same name as files being copied from the source. The File Conflict Resolution
                      options are:
                          Overwrite All Files— Restore all source files to the destination regardless of
                          conflicting file names. The files from the source will overwrite existing files
                          on the destination.
                          Rename Files— Copy the source file to the destination with the same
                          filename but a different extension. The extension will maintain the first two
                          characters of the original, but the last character will be 1, 2, 3..., depending on
                          how many files were encountered with the same name. Filenames without
                          extensions will be renamed with extensions “.AS1”, “.AS2”, etc.
                          Skip Existing Files— Do not restore a source file if a file with the same name
                          already exists on the destination.
                          Overwrite with Newer Files Only— Only restore source files whose
                          modification date is later than the modification date of the file with the same
                          name on the destination. Source files whose modification date is earlier will
                          not be copied to the destination.
                          Create Empty Directories — Check this box if you wish to re-create the
                          original directory structure, even if all the files in those directories are not
                          being restored.




                                                                                        Restoring Data       3–5
Using Filters




Using Filters
                        Filters allow you to include or exclude files and directories from your restore
                        jobs. For further information on filters, refer to the chapter “Filters, Scheduling
                        and Job Scripts” in this guide.




Submitting a Restore Job
                        All jobs can be scheduled in essentially the same way, using the Submit button
                        available on the toolbar in each Manager. You can submit a Run Job Now or you
                        can schedule your job.

                        For further information on scheduling and submitting jobs, refer to the chapter
                        “Filters, Scheduling and Job Scripts” in this guide.




3–6   ARCserve for Linux Administrator Guide
 Chapter

           Job Status Manager
  4
              The Job Status Manager is a graphical tool that helps you to centrally manage
              ARCserve Servers. It has the Explorer-like paradigm that is consistent with all
              the other managers. You can use the Job Status Manager to:
                  View all available ARCserve servers, job queues and logs.
                  Manage jobs— You can add, delete, modify and reschedule jobs or stop an
                  active job.
                  Monitor progress of active jobs in the queue.
                  View job detail about all the jobs that have been executed.

              The left-panel browser navigates through ARCserve servers and their objects.
              All servers are arranged into groups, which you can configure. The right panel
              displays information on the job queue, job summary, and job log.




Manage Servers and Groups
              You can manage your servers within groups. When you select a group, the
              following options are activated:
                  Add Group— Appends a new server group at the end of the list and then
                  allows you to edit the name of the group.
                  Add Group Member: Adds a server to the selected group.
                  Rename Group: Allows you to edit the group name.
                  Delete: Deletes a group or a group member.

              For details on using the above options, refer to online ARCserve Procedures.




                                                                       Job Status Manager    4–1
Job Queue




Job Queue
                        Every time you run a job with the Manager, you submit it to the job queue.
                        ARCserve continuously scans the job queue for jobs that are ready to be
                        executed.




                        The Job Queue is displayed on the right side, top pane. You can perform various
                        functions on a job. The following functions are available from the toolbar or
                        when you highlight a job:

                        Add Job You can quickly submit a job to the queue by using a previously
                        saved script. A script contains the original source, destination and option
                        information for the job.

                        Modify Job Modifies a job. Allows you to add options or additional sources to
                        an existing job, without having to create a new job.


                        Reschedule Job Change a job’s execution date, time, or status.



                        Stop Job Cancels an active job from the queue and reschedules it for its next
                        regular interval, if necessary. If you stop a job, the Last Result field will display
                        “Cancelled”.




4–2   ARCserve for Linux Administrator Guide
                                                                        Job Queue




Delete Job— Cancels the active job and deletes it from the queue completely.



Job Monitor — Displays detail information about an active job that is being
executed, including the progress status in percent.




Job History — The Job History displays information about a job that has been
executed such as repeating jobs, Rotation/GFS Rotation jobs, etc.



Filters — By default, jobs in the queue are listed in order of execution time. This
option changes the way jobs are displayed in the queue. You can choose the
status and type of jobs displayed as well as sort the order of the columns
displayed. You can sort by the following columns: Server, Job Status, Execution
Time, Job Type.Last Result, Comments, and Owner. You can also define the
maximum number of records to keep for the job history. Sorting the job queue is
for informational purposes only. It does not affect the order in which jobs are
processed.




                                                         Job Status Manager     4–3
Job Queue




                        All view options are on a per group basis and can be set in accordance with the
                        following job queue characteristics:
                            Job Status— Displays current jobs in the queue with the following statuses:
                            Active, Ready, Hold, Owned by other users.
                            Done Jobs— Display done jobs based on Completed, Incompleted,
                            Cancelled and Failed job statuses within the time frame specified.
                            Job Type— Enables you to selectively display job's based on their type or
                            characteristic (i.e. backup, restore, merge, scan, clean media, database
                            pruning or log pruning).

Job Statuses            When a job is in the queue, it is listed with one of the following statuses:
                            Ready— A new one-time or repeating job waiting to be executed.
                            Hold— Signifies that the job is not scheduled to be executed.
                            Active— A job that is currently being executed.
                            Done— The job has been successfully executed (no repeat interval).

                        Completed jobs remain listed in the Job Queue for a specified number of days,
                        according to the filter.

Last Result Field       The Last Result field tells you whether or not your executed job was successful.
                        If it wasn’t successful, Last Result helps you determine why the job may have
                        failed. This field may contain the following:

                        I   Completed— All of the nodes and source specified in the job were
                            processed.
                            Incomplete— The job was partially successful. Some or all of the nodes and
                            source specified in the job were not processed. Review the Activity Log to
                            check the exact nature of what occurred to prevent job completion.
                            Canceled— The job was intentionally canceled.
                            Failed— The job failed to perform its designated task. If the job was started,
                            but the Manager could not complete the job, you will receive this status.
                            Review the Activity Log to check the exact nature of what occurred to
                            prevent job completion.




4–4   ARCserve for Linux Administrator Guide
                                                                                  Job Queue




Job Summary

              By selecting a job from the queue, Job Summary provides information such as job
              type, source, destination, execution date & time, etc.




Job Log

              Allows you to view the Activity Log information about any specific Done jobs
              from the queue.




                                                                    Job Status Manager       4–5
  Chapter

            Filters, Scheduling and Job Scripts
   5

Filters
               Filters allow you to include or exclude files and directories from your backup
               and restore jobs.

               For backup and count jobs, filtering can be performed on a per node basis. This
               means you can include a directory from one node and exclude the same
               directory from another node.

               A backup job can have node-level and job-level filters for the same job. Node-
               level filters apply to one specific node, not the entire job. If you want to add a
               filter that applies to the entire job, use a Job-level filter.

               You may choose to include or exclude files based on the following criteria:
               I   Specific file names or patterns
               I   Specific directory names or patterns
               I   Files modified before, after or between a specific date range

Include        Restore results contain only those files that satisfy the filter specifications. For
               example, suppose in the source area you selected to back up your entire local
               host, and you then set up a Directory filter to include files in the /opt directory.
               The result would be that ARCserve would only back up files from your /opt
               directory. No other files would be backed up.

Exclude        Exclusions always take precedence over inclusions. For example, if you add a
               File Pattern filter to include only files that have a test* prefix, and you add a
               Directory filter to exclude your /opt directory, all test* files in the /opt directory
               will be excluded.

               For examples of how to include or exclude specific filters, refer to the online
               ARCserve Procedures.




                                                            Filters, Scheduling and Job Scripts     5–1
Filters




File Pattern Filter

                            Use a File Pattern filter to include or exclude certain files from a job. You can
                            specify a particular file name or you can use wildcards to specify a file pattern.


Directory Filter

                            Use a Directory filter to include or exclude specific directories from a job. You
                            can enter an entire directory name or provide a pattern that the directory name
                            follows.


File Modified Filters

                            Use the file modified (changed) filter to include or exclude files based on a
                            specific date and time or a date range. There are four options from which to
                            choose:
                                Before—Files whose modification date is earlier than this date will be
                                included or excluded.
                                After—Files whose modification date is later than this date will be included
                                or excluded.
                                Between—You must specify two dates for this selection. Files whose modify
                                date falls between the two dates will be included or excluded from the job.
                                Within— Files whose modification date falls within the number of
                                days/months/years specified will be included or excluded from the job.


File Created Filters

                            Use the file created filter to include or exclude files based on a specific date and
                            time or a date range. There are four options from which to choose:
                                Before—Files whose creation date is earlier than this date will be included or
                                excluded.
                                After—Files whose creation date is later than this date will be included or
                                excluded.
                                Between—You must specify two dates for this selection. Files whose
                                creation date falls between the two dates will be included or excluded from
                                the job.
                                Within— Files whose creation date falls within the number of
                                days/months/years specified will be included or excluded from the job.




5–2       ARCserve for Linux Administrator Guide
                                                                                             Scheduling




File Accessed Filters

                   Use the file access filter to include or exclude files based on a specific date and
                   time or a date range. There are four options from which to choose:
                        Before—Files whose access date is earlier than this date will be included or
                        excluded.
                        After—Files whose access date is later than this date will be included or
                        excluded.
                        Between—You must specify two dates for this selection. Files whose access
                        date falls between the two dates will be included or excluded from the job.
                        Within— You must specify two dates for this selection. Files whose access
                        date falls within the number of days/months/years specified will be
                        included or excluded from the job.




Scheduling
                   All jobs can be scheduled in essentially the same way, using the Submit button
                   available on the toolbar in each Manager.




                   You should not submit a Run Job Now if your storage device is currently busy.
                   ARCserve will report that the storage device is busy and the backup job will not
                   be submitted to the job queue. You will be asked to wait until the device is
                   available before you can resubmit the job.

                   Instead, you should schedule your backup job, keeping the current date and
                   time. This way, when ARCserve discovers that the storage device is busy, it will
                   automatically retry the backup job until the drive becomes free.




                                                                Filters, Scheduling and Job Scripts      5–3
Job Scripts




                        You should submit a Run Job Now when:
                            The job you are submitting is a “one-time” job that you want executed
                            immediately.
                            You want to monitor the job as it runs.

                        You should schedule your job when:
                            You are submitting a “one-time” job, but you don’t want it to run now. You
                            want it to run at a specific time.
                            You are submitting a job that should run regularly. This is especially useful
                            for setting up a media rotation scheme for your network.
                            Your storage device is currently busy and you want to run a backup job as
                            soon as the drive is free. To do this, schedule your backup job with the
                            current date and time.

                        For details on how to specify a scheduling option, refer to ARCserve Procedures.




Job Scripts
                        A script is a job that you saved to a file. It contains the original source,
                        destination, options, and schedule information for the job. It will also contain
                        any filters you created to include and exclude files and directories. You can save
                        any type of job as a script.

                        Creating a script has the following advantages:
                            You can re-use the same settings at a later time.
                            You can copy your settings to a different node running ARCserve.
                            You can quickly re-submit regularly executed jobs after a job has been
                            accidentally deleted.

                        To use a script, go to the Job Status Manager and click Add Job. For details on
                        how to create a script, refer to the online ARCserve Procedures.




5–4   ARCserve for Linux Administrator Guide
 Chapter

           Managing Devices and Media
  6

The Device Manager
             The Device Manager provides you with information about storage devices that
             are connected to your system, the media in these devices, or the status of these
             devices. It is the starting point for all media and device monitoring and
             maintenance operations. When you highlight a storage device, or the adapter
             card it is configured to, ARCserve displays summary information about the
             adapter card or the storage device, such as the vendor and model name, board
             configuration, etc. You can perform the following maintenance tasks on your
             media:
             I   Device Group Configuration
             I   Formatting
             I   Erasing data
             I   Media Copy
             I   Retensioning
             I   Compressing data
             I   Ejecting from the storage device
             I   Enable/Disable Device
             I   Online/Offline Library
             I   Mount/Dismount
             I   Load/Unload
             I   Import/Export
             I   Clean tape heads

             Important! Before you use these options, especially the destructive ones (formatting and
             erasing), make sure you have the right media selected.

             Each device option is discussed in more detail in this chapter. For information
             on how to use the Device Manager, refer to the online ARCserve Procedures.




                                                              Managing Devices and Media         6–1
The Device Manager




Device Group Configuration

                        ARCserve provides the concept of device groups, which allows you to separate
                        your storage devices. Grouping devices enables you to take advantage of
                        parallel streaming. And, if you have several devices in a group, you can also
                        perform “automated” media spanning. If you want to have several devices in a
                        group, each device in the group must be the same make and model.

                        If you have more than one storage device connected to your machine, you can
                        separate them into two or more “groups”. Establishing device groups is a key
                        component to provide flexibility and efficiency. Device groups allow for:
                        I   Parallel streaming - you can have several operations occurring
                            simultaneously, one at each device group configured for your system.
                        I   Automated media spanning - if, during a backup session, the end of a media
                            is reached, it automatically spans to another media in another device within
                            the same device group. Note that this requires two or more devices in the
                            device group.

                        Note: By default, ARCserve is installed with each storage device assigned to its
                        own group. If identical storage devices (same make, model, and firmware) are
                        found, they are automatically placed in the same group. Later, you can use the
                        Device Manager to regroup your devices.

Device Groups           ARCserve uses the names of the planets in our solar system, (excluding Earth), to
                        label device groups. (The planets are Mercury, Venus, Mars, Jupiter, Saturn,
                        Uranus, Neptune, and Pluto.)

                        Since ARCserve automatically groups your storage devices, you can keep these
                        device group names or you can regroup and rename them. Use the Device
                        Manager to:
                        I   Create a new device group
                        I   Assign a device to a device group
                        I   Remove a storage device from a device group
                        I   Rename or delete a device group

                        In addition, ARCserve assigns SCSI ID's to the devices within each device group.


Parallel Streaming

                        If you have more than one device group configured on your machine, you can
                        take advantage of “parallel streaming”, which means that you can have more
                        than one job running at a time. For example, suppose you have two device
                        groups, “MERCURY” and “VENUS”, respectively. You could then have a
                        backup job running with MERCURY, while a restore job runs with VENUS.




6–2   ARCserve for Linux Administrator Guide
                                                                                   The Device Manager




Automated Media Spanning

                  Media spanning means that when one media becomes full, the session will
                  automatically span to another media. If you have a device group that consists of
                  two or more devices, media spanning will occur across devices. That means,
                  when one media in a group drive becomes full, the job spans to another media in
                  another device within the same device group.

                  For example, suppose you have two device groups, “MERCURY” and “VENUS”.
                  MERCURY is made up of one storage device and VENUS is made up of two
                  storage devices. If you submitted a backup job that will take up two media, you
                  can insert blank media in each VENUS drive and let ARCserve automate the
                  media spanning for you.

                  If you used MERCURY for the same backup job, you will need to manually eject
                  the first media and then insert a second media. As you can see, automated
                  media spanning allows ARCserve to do most of the work for you.


                    Tip: The devices in the group must be of the same make and model.



Format

                  Although ARCserve automatically formats blank media, you can use this option
                  to manually format your media. Formatting writes a new label at the beginning
                  of the media, effectively destroying all existing data on the media. You can also
                  use the Format option to assign media to media pools. For more information on
                  this topic, see the section on Media Pools in this chapter.

                  Important! Use this feature with care! Once you format media, the data it contained (if
                  any), and any job sessions associated with this media, are gone permanently.

                  A media’s life is generally based on “passes”. A pass is defined as the storage
                  device head “passing” over a given point on the media. For example, a backup
                  without verification constitutes one pass, whereas a backup with verification
                  constitutes two passes. Media manufacturers rate their media’s useful lives from
                  about 500 to 1500 passes. This doesn’t mean that the media is unusable after it
                  reaches the maximum number, just that it is more susceptible to errors at this
                  point.

                  You should choose an expiration date based on how you will use the media. If
                  you plan to use the media often, say, a few times a week, you should set the
                  expiration date to a year from now, maybe even sooner than that. On the other
                  hand, if you plan to use the media only once or twice a month, you can set the
                  expiration date to two or three years from the current date.




                                                                  Managing Devices and Media         6–3
The Device Manager




                        When a media reaches its expiration date, you will still be able to use it, but
                        when you make a backup, for example, a note is made in the Activity Log that
                        this media is expired. The expiration date is a way of tracking how long media
                        has been in service so you can stop using it before it reaches the end of its useful
                        life.

                        If you are formatting new, blank media, the default expiration date will be one
                        year from the current date. If you are reformatting media, the expiration date
                        that appears will be the date you specified the first time the media was
                        formatted.


Erase

                        Use this option to erase all data from media. ARCserve also erases all references
                        to the contents of this media (if any) from the database. If you re-format this
                        media, its physical history (read and write passes, etc.) will be carried over. You
                        can choose from the following erase options:

                        Important! Use this feature with care! Once you erase data on media, the data is gone.

Quick Erase             A Quick Erase takes less time than a Long Erase because it only overwrites the
                        current media label. Although, technically, there is still data on the media, the
                        data is effectively gone without the media label. Quick Erase is useful if you
                        want to re-use ARCserve’s media, but you don’t have time to wait for a Long
                        Erase.

Quick Erase Plus        Like Quick Erase, Quick Erase Plus erases the current media label. In addition,
                        Quick Erase Plus also erases the serial number, so that you can assign a new
                        serial number to the media.

Long Erase              A Long Erase completely removes all data from the media. It takes much longer
                        than a Quick Erase, but the media is considered blank, as if it were just
                        formatted. For security reasons, if you want to make sure that the data on the
                        media is gone completely, use Long Erase.


Media Copy

                        This function allows the user to copy the contents of one media to another blank
                        media. It applies only to media of the same device type, model and firmware.




6–4   ARCserve for Linux Administrator Guide
                                                                                   The Device Manager




Retension

                 Note: This feature applies mostly to Quarter Inch Cartridge tapes.

                 Use ARCserve’s Retension feature to make sure a media is evenly wound and
                 properly tensioned. Retension a media especially if you are having trouble
                 writing to it or reading from it. When a media becomes unevenly wound, it is
                 prone to errors, may jam, or worse yet, break.


Compression

                 Note: This task can only be used if the storage device supports tape
                 compression.

                 If your tape drive supports compression, you can tell ARCserve to turn it on.

                 Normally, you will want to leave compression on. The only time you should
                 turn it off is if you plan to use a media in another drive that doesn’t support
                 compression. In this case, the drive that doesn’t support compression will not be
                 able to read the compressed data on the media.

                 Important! You can only change compression when a blank tape is in the drive. This
                 prevents “mixing” of uncompressed and compressed data between sessions on a tape.


Eject

                 Use this function to eject media from a storage device. If you are using a library
                 drive, and the library is highlighted, it will eject the media in all of the drives. If
                 you select a particular storage device, it will only eject from that drive.

                 Important! This task can only be used if the storage device supports this feature.


Enable/Disable Device

                 Note: This option applies only to the Tape Library Option.

                 This function allows the user to enable or disable a device for security purposes.
                 If you disable a device, nobody can use that device. This protects the media used
                 for backup. In order to use the device again, you will need to enable it.




                                                                   Managing Devices and Media         6–5
The Device Manager




Online/Offline Library

                        Note: This option applies only to the Tape Library Option.

                        By taking a Tape Library offline, you secure your backup media from others to
                        overwrite. Once you use the offline option, all the tape library slots will be
                        unavailable. In order to use the library again, you will need to bring it Online.


Mount/Dismount

                        Note: This option applies only to the Tape Library Option.

                        This function allows you to load or remove a magazine from the library.
                        Mounting a magazine initiates an inventory of the slots in the magazine.
                        Dismounting a magazine returns all media to their home slots and prepares the
                        magazine for removal. The time this process takes will vary according to the
                        number of media in the magazine you are mounting or dismounting.

                        Note: Magazines must be mounted for library operations to commence.
                        Magazines should be dismounted before you physically remove them.


Load/Unload

                        Note: This option applies only to the Tape Library Option.

                        This function allows you to load or unload any specific media from the slots of a
                        library. Once the media is unloaded, it will be unavailable. In order to use the
                        media again, you will need to load to the tape library slot again.


Import/Export

                        This function allows you to add a new media to a library by specifying an empty
                        slot to which the media can be imported (import), or remove a media from a
                        library (export). When you import media, the library reads the media and adds
                        it to its inventory. Exporting removes media for off-site storage or if you suspect
                        it is bad. This screen contains the following fields and buttons:
                        I   Slot— Select an empty slot to import a media, or a slot, which contains the
                            media you want to export.
                        I   Import— Click this button to import media.
                        I   Export— Click this button to export the media.
                        I   OK— Click this button when you are done.

                        Note: This icon is deactivated if your device does not support this feature.




6–6   ARCserve for Linux Administrator Guide
                                                                                 The Device Manager




Clean Tape Heads

                   Note: This option applies only to the Tape Library Option.

                   Clean the heads of any drive in your library. You must have a cleaning tape
                   installed in the tape cleaning slot you specified during setup to utilize this
                   option.


Merge Media

                   The Merge Media utility appends database information to your existing database
                   files. Use the Merge Media option when you want to restore data from a
                   different server than the one where your ARCserve database resides. For
                   example, if a backup was created using ARCserve on a different machine, you
                   can use Merge Media to get the media information into the database in
                   ARCserve’s home directory.

                   Merge Media allows you to take a media that contains one or more backup
                   sessions and merge the information from that media into your ARCserve
                   database.

                   Note: The media selected to merge must be in the native ARCserve format


Scan Media

                   This utility provides you with information about your media sessions. You can
                   scan a single session or the entire media. Results of the media scan can be
                   viewed in the Report Manager under the Activity Log listing, or under the User
                   Log listing if an additional log file is created.

                   Note: The media selected to scan must be in the native ARCserve format.




                                                                 Managing Devices and Media         6–7
Media Pools




Media Pools
                        A media pool is a collection of media managed as a unit. Each media pool is
                        assigned a name and the media are organized according to serial numbers. The
                        serial numbers assigned are permanent and if you are using a device with a bar
                        code reader, the bar code labels will be used for the serial number of the media.
                        The media pools are organized by the range of serial numbers of the media they
                        contain and are divided into two sets, the Save Set and the Scratch Set.

Save Set                The set of media containing important data that can not be overwritten is called
                        the Save Set. You can modify Save Set information for all Custom backup jobs.

Scratch Set             The media pool Scratch Set is a set of media that has been recycled from the Save
                        Set after its retention period has passed. All media in the Scratch Set will be
                        overwritten the next time they are used. Those media that have not been
                        formatted for the longest period of time will be used first.

Retention Period        The retention period is the number of days in which a media has not been used
                        (expires) before it is moved into the Scratch Set. For example, if you specify a
                        retention period of 14 days, a media will remain in the Save Set as long as it has
                        been used within that specified time. If the media has not been used for 14 days,
                        it will be moved to the Scratch Set.

Minimum Save Set        You can specify the minimum number of media to be retained in the media pool
Copies                  Save Set before the old media is recycled to the Scratch Set. This is a safeguard
                        for preventing data loss in case backups are not done for extended periods of
                        time.

                        You can move media from the Save Set (that can be re-used and overwritten) to
                        the Scratch Set and you can move media from one media pool Save Set to
                        another media pool Save Set. Each time a media in the Scratch Set is written to, it
                        moves from the Scratch Set to the Save Set. That media will move back to the
                        Scratch Set once the specified criteria have been met.

Serial number           The serial number of a media is one of the factors used in categorizing media
information             pools. One of the following two ways may be used to create a serial number for
                        media:
                            Bar Code: A number is read from a bar code label, assigning the serial
                            number. A changer with a bar code reader is required for this method. This
                            will override any previously-defined media pool settings.
                            Automatic: Automatically assigns a serial number for the media based on the
                            Base and Range of serial numbers set when the pool was created.

                        Note: You can not change the serial number of media. However, you can add
                        and modify the following serial number information on the Pool Configuration
                        screen:




6–8   ARCserve for Linux Administrator Guide
                                                                                       Media Pools




                     Base— This is the base number that ARCserve will use when automatically
                     assigning serial numbers. The first media formatted will have the same
                     serial number as the Base number. Each media’s serial number thereafter
                     will be incremented by one.
                     Range— You can specify the range (up to 31 digits) from which the media
                     pool serial numbers will be categorized. For example, if you specify 200000
                     as the range for all media in the MKTG media pool, all numbers that fall into
                     the 200000 range will be categorized in the MKTG media pool.

                 ARCserve performs Media Pool maintenance at the beginning of a job, and will
                 not allow media in the Save Set to be moved to the Scratch Set until:
                     The oldest tape in the Save Set exceeds the retention time.
                     The Save Set has the minimum number of media required.

                 Note: In the Media Pool Manager you can view the media available in a Save
                 Set or a Scratch Set by clicking on the appropriate icon.


Rotation and Grandfather-Father-Son (GFS) Media Pools

                 All Rotation backup jobs will create their own media pool based on the name
                 entered in the Media Pool Prefix field field in the Method/Schedule tab in the
                 Backup Manager. Each media pool has a default retention period and number
                 of media to save.

                 GFS rotation schemes are assigned to a particular group of media, which are
                 recycled and reused throughout the cycle of the rotation scheme. The GFS
                 backup uses three media pools: Daily, Weekly, and Monthly.

                 These pools are named according to the Media Pool Prefix you enter in the
                 Schedule dialog box. Each media pool has its own Scratch Set and Save Set with
                 a default retention period and minimum number of media to save. For the
                 media pool “BK” the following media pools are created in your GFS rotation
                 schemes:


                 Pool name      Description
                 “BK_DLY”       Daily incremental, differential, or full backup media for the
                                BK media pool.
                 “BK_WLY”       Weekly full backup media for the BK media pool.
                 “BK_MLY”       Monthly full backup media for the BK media pool.

                 Important! You must provide a Media Pool Name Prefix for your GFS rotation
                 schemes.




                                                               Managing Devices and Media       6–9
Media Pools




Save and Scratch        Media is assigned to Save Sets after a GFS backup job has been run and stays
Sets                    there until it is eligible to be assigned to a Scratch Set after the duration of the
                        media’s retention time expires. Media in the scratch set is recycled reusing the
                        oldest media in a scratch set first. Thus, in a GFS rotation scheme, a set number
                        of media in a media pool is used for your backup jobs. If there is no media in a
                        scratch set, you will be prompted for blank media.

                        The retention time for media depends on the type of GFS rotation scheme you
                        are using, i.e. a five-day GFS rotation scheme or a seven-day rotation scheme,
                        and the media pool to which the media is assigned, daily (_DLY), weekly
                        (_WLY), or monthly (_MLY).

                        By default, you can re-use daily media after six days (daily media in seven-day
                        rotation schemes has a retention time of eight days). Weekly media can be
                        overwritten after five weeks have passed since it was last written to. Monthly
                        media is saved throughout the year. They can and should be taken off-site for
                        storage. You can change any of these media rotation defaults to suit your
                        particular environment.

                        The following are the formulas used for calculating the number of media in the
                        save sets and the retention times for the GFS media pools:
                            Daily pool: This pool holds the media for daily backup jobs. The default
                            retention period is six days and the number of Save Set media is based on the
                            number of daily media in the GFS rotation minus one [# of daily media -1].
                            Weekly pool: This pool holds the weekly media. The retention period
                            equals the number of weekly media times seven, minus one [(# of weeklies *
                            7) - 1]. The number of save media is based on the number of weekly media
                            in the GFS setup minus one [# of weekly media - 1].
                            Monthly pool: This pool holds the monthly media. The retention period
                            equals the number of monthly media times 29 minus five [(# of monthlies *
                            29) - 5]. The number of save media is based on the number of monthly
                            media in the GFS setup minus one [# of monthly media - 1].

                        Note: If you preserve one media each month (12 monthly media), the retention
                        period is 343 days, using the (12 *29)-5 formula, which takes into account months
                        with differing number of days. You can change retention times in the Media
                        Pool Manager.


Creating a Media Pool

                        To assign media to a media pool, you first need to create the media pool using
                        the Media Pool Manager. A media pool name can consist of up to 16 uppercase
                        characters. ARCserve also creates a media pool or pools when you submit a
                        backup job either with Rotation or GFS Rotation.




6–10   ARCserve for Linux Administrator Guide
                                                                                       Media Pools




Assigning Media to a Media Pool

                 The Media Pool Manager has the following options available:
                     New Pool— create new media pools to use with custom backup jobs.
                     Modify— modify the number of minimum save set copies and retention
                     period of an existing media pool.
                     Delete— delete an existing media pool from the ARCserve databse.
                     Move— move media from a scratch set to a save set (vice versa) within an
                     existing media pool.
                     Assign— assign media to an existing media pool.

                 When you format media using the Device Manager, you define certain media
                 pooling information that will be associated with the media. You can define the
                 following media pool information:
                     New Media Name— If the media inserted in the storage device is named,
                     that name will be displayed. If the media is blank, you can assign a media
                     name. If the media is blank, but has an assigned serial number, it can be
                     assigned to any existing media pool.
                     Expiration Date— You can set an expiration date for the media to be
                     formatted. When this date arrives, you will be reminded that the media has
                     reached its expiration.
                     Media Pool— You can select any existing media pool previously created
                     using the Media Pool Manager.
                     Serial Number— The serial number is the current serial number, bar code
                     label, or the next available serial number (based on pre-defined rules). You
                     can manually enter a different serial number only if it is not already in use.
                     ARCserve scans the database, and if the serial number already exists (in any
                     of the media pools), an error message appears prompting you to enter a new,
                     unique serial number.




                                                             Managing Devices and Media       6–11
           Managing the Database and
 Chapter



  7        Reporting

                 The ARCserve Database records job information for each job that is run,
                 including media and media device information. This information allows you to
                 perform intelligent restores by keeping track of each file and directory that was
                 backed up to media. When you want to restore a specific file, the database
                 determines which media a file is stored on.




The Database Manager
                 The Database Manager allows you to:
                     Keep track of the location of your media.
                     Determine the session number of your backup.
                     Determine if media should be retired.
                     View logged information about jobs you have run.
                     Delete old records from the database.
                     Graphically compare the size of your database to the total available disk
                     space.


Selecting a Database View

                 When you open the Database Manager, the Summary View is shown. This
                 displays how much space the database uses on your hard disk. You can change
                 the view by selecting from the following available tabs:
                     Summary— displays all of the information about the database.
                     Job— displays information about jobs processed.
                     Media— displays information about the media used. This includes
                     information about formatting, how much the media has been used since it
                     was put into service, and number of errors (if any) that have occurred.
                     Clients— displays information about the clients (machines) added to the
                     database.




                                                      Managing the Database and Reporting        7–1
The Database Manager




Add Client

                        Click this button to add a client to the database. Each client is defined by
                        machine name, IP address, OS type, machine type, networking type, hardware
                        type, OS description, and OS version.




Configure

                        Click this button to configure database options. You can automatically prune
                        and/or purge jobs in the database and set maximum size limits.




7–2   ARCserve for Linux Administrator Guide
                                                                                The Report Manager




The Report Manager
            The information stored in the database is used to generate many types of reports.
            ARCserve provides access to these logs and reports via the Report Manager. The
            Report Manager provides a few functions to help manage both reports and logs.
            These functions include:
            I       Cancel— which cancels the report currently being generated.
            I       Delete— deletes the entire user, Rotation or GFS Rotation log.
            I       Filter— allows the filtering of the contents of a log based on its date or job id.
            I       Clear— deletes all of the information from a log file.

            The following sections describe the logs and reports available in the Report
            Manager.


Logs

            The following logs are provided:
            I       Activity Log (archsvr.log) —logs all activity.
            I       Media Server Log (asmediad.log) —This log provides an audit trail of all
                    ARCserve Media Server activity, including when the server is loaded and
                    unloaded.
            I       Database Log (asdbd.log) —This log contains information pertaining to all
                    possible database activities including, Backups, Media Pool operations,
                    Media formatting, and GFS operations. (For debugging purposes only).
            I       Queue Scheduler Log (asqd.log) —This log provides basic information
                    about all of the jobs in the job queue including, sources, destinations,
                    execution dates and times, and pre/post execution commands. You can
                    view this log to get an inventory of the jobs in the job queue or to see what
                    jobs other users have submitted.
                I   Discovery Log (asdiscovd.log) —This log provides all basic domain related
                    information, including all available servers within a domain.
                I   Arcserved Log (arcserved.log) —This log contains comprehensive
                    information about all ARCserve daemon activity, indicating what tasks that
                    daemon is performing.
                I   Authentication Log (asauthd.log) —This log contains comprehensive
                    information about the security operations performed by ARCserve. It
                    provides an audit trail of all ARCserve security activity, including the
                    identity and validity of all authorized ARCserve users logged on and
                    unsuccessful attempts to log into the program.




                                                      Managing the Database and Reporting         7–3
The Report Manager




                        I   GFS Rotation/Rotation Daily Log —This log helps you manage your
                            GFS/Rotation backups. It contains all of the Daily Logs for a GFS set, giving
                            you information about your previous backup to help you prepare for your
                            next backup. All GFS Daily Log files have a .dly extension. The file name is
                            the media pool set name. The log resides in the
                            $ARC_HOME/logs/arc_user_logs directory.
                            If you are running GFS rotation jobs, you should look at this log each day so
                            that you can physically label your media and retrieve the appropriate media.
                            Path: <arc_user_logs><ARCserve_user><Media_Pool_Name>
                            Example: arc_user_logs/arcroot/rotation_job.dly
                        I   GFS Rotation/Rotation Full Log —This log provides the history of a GFS
                            rotation set, including the dates of each GFS rotation backup and the media
                            used. Each GFS rotation set has its own Full Log. The Full Log does not
                            contain the current Daily Log. All GFS Full Log files have a .ful extension.
                            The file name is the media pool set name. The log resides in the
                            $ARC_HOME/logs/arc_user_logs directory.
                            You can view this log to get a general idea of what has been backed up. You
                            may need to do this if you need to restore files from a GFS backup.
                            Path: <arc_user_logs><ARCserve_user><Media_Pool_Name>
                            Example: arc_user_logs/arcroot/rotation_job.ful
                        I   User Log —This log contains a listing of any messages which may arise
                            during any jobs (backup, restore, etc.) submitted by a particular user. This
                            log is user-specified and will reside in the $ARC_HOME/logs/arc_user_logs
                            directory. The user can specify any name.
                            Path: <arc_user_logs><ARCserve_user><Media_Name>
                            Example: arc_user_logs/arcroot/scanning_tapeA


Database Reports

                        The Report Manager allows you to view and print a variety of reports based on
                        information in the database. The types of reports that are available are:
                            Job Records Report— This report provides a brief listing of all jobs that have
                            been run by ARCserve. It contains the information that is found in the
                            Database Manager on the Job View window. For each job, this report
                            includes the following: job number, job submitter, start date, status, job type,
                            and media pool prefix.




7–4   ARCserve for Linux Administrator Guide
                                                           The Report Manager




Media Records Report— This report provides information about your
ARCserve media. It contains the information found in the Database
Manager on the Media View window. It allows you to generate the report
about all media or any individual media. This report includes the following:
media name, ID, and sequence number; usage time, creation, format, and
expiration date; amount of data written to the media, and number of errors.
Media Sessions Report— This report provides information about all of the
backup sessions that are on media. (Each source you select to back up is
saved on media as an individual session.) The report contains the session
information found in the Database Manager in the Job View or Media View.
It allows you to generate the report about all media or any individual media.
For each media session, this report includes the following: session number,
status, host source selected, start time, end time, session method, flags, total
files/KB in the session.
Media Session Detail Report— This report includes all of the information
found in the Media Session Report and lists every file that was backed up in
each session. It contains the session information that is found in the
Database Manager in the Job View or Media View. You need to select each
session separately to view the report.
GFS Rotation Job Report— This report provides a brief historical record of
all GFS backups performed on a target. It lists the set the target belongs to
and each of the backups that were performed. For each backup performed,
the report includes the following: target name, target path, the media name,
sequence, session number, status, number of files backed up, and the
amount of data backed up is listed.
Rotation Job Report— This report provides a brief historical record of all
rotation backups performed on a target. It lists the set the target belongs to
and each of the backups that were performed. For each backup performed,
the report includes the following: target name, target path, the media name,
sequence, session number, status, number of files backed up, and the
amount of data backed up is listed.




                                 Managing the Database and Reporting         7–5

								
To top