Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

schedule for specific AIX folders

Posted on 2009-02-12
3
Medium Priority
?
760 Views
Last Modified: 2013-11-14
Hi,

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..
0
Comment
Question by:abata69
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 23626757
Hi,

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

Cheers

wmp


0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 23632543
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.
 
Cheers
 
wmp
 
 
 
0
 

Author Comment

by:abata69
ID: 23645627
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..
thanx
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

864 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