This is an archive version of the document. To get the most up-to-date information, see the current version.

Specifying Backup Scope

In this article

    To specify a backup scope for a full backup, you must specify directories that you want to back up in the backup script. You can edit the default backup script (/etc/veeam/scripts/veeam.scp) or specify backup scope settings in a custom backup script.

    Specifying Backup Scope Note:

    If you use the Veeam Agent for IBM AIX command-line interface to perform backup, you must specify the backup scope in the backup script for full backup only. For incremental backup, you specify directories that you want to back up directly in the command that starts the incremental backup process. To learn more, see Performing Incremental Backup.

    To specify the backup scope in the backup script, for each dataset that you want to include in the backup, specify a record in the following format:

    SNumber=<number>
    SLabel="<header>"
    SComments="<comment>"
    <path> [/SubDirs]
    <path> [/Xclude]

    The record must contain the following elements:

    Parameter

    Description

    SNumber

    Number of the dataset.

    SLabel

    Name of the dataset header.

    SComments

    Comment with additional information about the dataset.

    Path

    Path to a directory whose data you want include in or exclude from the backup. You can use shell wildcards to specify paths. To specify inclusion and exclusion settings, you can use the following flags:

    • /SubDirs — with this flag specified, all subdirectories of the directory are also included in the backup. For example: /* /Subdirs.
    • /Xclude — with this flag specified, the directory and all its subdirectories are excluded from the backup. For example: /tmp/* /Xclude.

     

     

    Specifying Backup Scope Tip:

    By default, Veeam Agent for IBM AIX is set up to overwrite the VTD file during backup. Every time you perform full backup to a specific backup location using the default backup script, all data that was stored to the VTD file during the previous backup session is replaced with the data backed-up during the current backup session.

    Alternatively, you can change the backup mode to allow Veeam Agent for IBM AIX to add the newly backed-up data to the existing VTD file. To do this, enter the Mode=Append record instead of the Mode=Overwrite record in the backup script. With the Append mode enabled, you will be able to create full backups related to different points in time in the same full backup file.

     

    For details about the backup script format, refer to the ubax manual page. To view the manual page, use the man ubax command.

    Example

    The following example displays the default backup script /etc/veeam/scripts/veeam.scp.

    Mode=Overwrite
    LogFile=/var/log/veeam/backup.log
    SNumber=0
    SLabel="Configuration"
    SComments="Veeam Agent for IBM AIX"
    /VEEAMCFG/* /SubDirs
    :
    SNumber=1
    SLabel="Full backup"
    SComments="Veeam Agent for IBM AIX"
    /* /SubDirs
    /cdrom/* /Xclude
    /tmp/* /Xclude
    /VEEAMCFG/* /Xclude
    /var/log/veeam/backup.log /Xclude
    /var/log/veeam/backup.err /Xclude
    Redirections =
    SRC=/
    DST=/a/
    END
    :
    SNumber=2
    SLabel="Logs files"
    SComments="Veeam Agent for IBM AIX"
    /var/log/veeam/backup.err
    /var/log/veeam/backup.log
    :