schedule for specific AIX folders

Posted on 2009-02-12
Last Modified: 2013-11-14

i have TSM server 5.5 running on windows and oracle DB on AIX server..BA for AIX installed and configured on AIX server and i can backup the server. usually i make full backup for the server..but now the DBA want me to backup particular folder which have his RMAN backup only. i tried to let my TSM backup only this folder but i couldnt do that... how can i make sperated backup job for this folder which have RMAN backup.

please help..
Question by:abata69
    LVL 68

    Accepted Solution


    I assume you're doing RMAN backups to disk and want to save these data with TSM.

    One way to do this is using  'selective'.
    The 'selective' command backs up files/directories that you specify.
    During a selective backup, copies of the files are sent to the server even if they did not change
    since the last backup.

    An example:

    dsmc selective -subdir=yes "/my/rman/diskbackups/*"

    Note that files saved this way are subject to the same rotating scheme as incremental backups
    (versions, active retention, deleted retention).

    To run a selective backup via TSM scheduler, define a schedule (via dsmadmc or GUI) in the following way:

    define schedule [domain] [schedname] action=selective objects="/my/rman/diskbackups/*" options="-subdir=yes" [your options for time, day, frequency ...]

    and issue

    define association [domain] [schedname] [nodename]

    Remember to have the client scheduler process (dsmc sched) configured and running on your node.

    Perhaps you should exclude the directories in question from regular incremental backups:

    If it's a filesystem of its own, simply add to /usr/tivoli/tsm/client/ba/bin/dsm.sys

    DOMAIN -/my/rman/diskbackups
    in addition to your normal DOMAIN options (note the dash ( - ) in front of the directory string)

    If it's a directory only, add to /usr/tivoli/tsm/client/ba/bin/dsm.sys

    exclude.dir /my/rman/diskbackups

    Don't forget to recycle the client scheduler after making changes to dsm.sys.

    A second way is using archive.

    I'll come back later and explain (no more time now ...)



    LVL 68

    Expert Comment

    OK, I'm back.
    Now for 'archive'.
    With 'archive', you create a copy of files/directories in their current state in long-term TSM storage.
    There is no rotating scheme, only a single parameter, the RETAIN time, which is by default 365 days.
    This parameter is set in the archive copy group of the default management class of your node's domain.
    You can, however, create an additional management class and an associated archive copygroup for your domain, change the RETAIN setting in this copygroup, and then use this management class during archive (see below).
    There is no automatic versioning, you can create as many archives of the the same data, changed or not, as you like.
    You can delete specific archives (by the delete archive command), given your node has the 'archdel=yes' setting.
    An archive is accompanied by a descriptive string, which you define and which can be used for reporting and retrieval.
    Data is retrieved from archives using  'retrieve' (NOT restore!)
    An example
    dsmc archive -subdir=yes -desc="2009-02-13 Regular archive of RMAN disk backups" "/my/rman/diskbackups/*"
    If you configured a non-default domain/set/mgmtclass/copygroup scheme containing a customized RETAIN setting, use
    dsmc archive -subdir=yes -archmc=rmanmc  -desc="2009-02-13 Regular archive of RMAN disk backups" "/my/rman/diskbackups/*"
    (I named your new management class 'rmanmc', obviously).
    Creation of a schedule is done exactliy as with selective, with an action=archive and options as appropriate, e.g.
    options="-archmc=rmanmc -subdir=yes"
    selection of archives to retrieve is possible in several ways - by fromdate/todate, by pick, by description or without selection (for the newest)
    retrieve -replace=yes "/my/rman/diskbackups/my_desired_backupset"
    Finally, apart from selective or archive, you can alway use
    incremental -subdir=yes "/my/rman/diskbackups/*"
    Note that only changed files will be saved and that your defined retention policies apply.

    Author Comment

    HI WMP..

    its good to see your comments again :) i will do what u said to me after i come back from my business trip..

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Replication has always been one of those technologies that people run scared from. The main reason is usually cost. When you think of replication, your mind drifts to solutions that replicate from one disk frame to another using block level technolo…
    Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
    To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now