• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 959
  • Last Modified:

IBM TSM : Question about flashcopy manager

Hello experts,

I use the application ibm tsm for backup/restore.

I want to know if it is possible to backup two databases from the same server and associated  each database one different domain policy.

For example I want to associate databases AdventureWorks and  AdventureWorksDW to their own domain policy.


ibm tsm
0
Williams225
Asked:
Williams225
  • 2
2 Solutions
 
max_the_kingCommented:
Hi,
yes i believe you can do it.
You need to create 2 different nodes on TSM server, i.e. "SQL_AdventureWorks" and "SQL_AdventureWorksDW" and associate those nodes to 2 different domains. You will have to create 2 independent set of files (dsm.opt, tdpsql.opt, dsmcad.opt) and consider those 2 nodes as if they were two different machines (TSM server will consider them two different nodes). On TSM server you will choose the policy and retention you like for each domain.
Then, on client side, you need to use different scripts to do the backups (for example, tdpsqlc backup db1 ... for one node, and tdpsqlc backup db2 ... for the other one).
The only thing you can't have, is the TDP GUI for both nodes, because it will show you only one client.

hope this helps
max
0
 
Williams225System AdministatorAuthor Commented:
thanx a lot bro.

I have two questions .

First do you have an example of script? second, how to make sure the connection is establish from the client node, which command can i type to verify that?
0
 
max_the_kingCommented:
you should have a sample script into the default directory, anyway it should be something like:

%sql_dir%\tdpsqlc backup AdventureWorksDW full /tsmoptfile=%sql_dir%\dsm_DW.opt /SQLAUTH=SQL /SQLUSer=sa /SQLP=your_sa_password logfile=%sql_dir%\sqlfull_DW.log >> %sql_dir%\sqlcmd.log

where by indicating "dsm_DW.opt" you're telling TSM that it is the "added" node.
Of course you'll have already configured the dsm_DW.opt file.

You need to do proper testing of the script, which may vary with version, release, season, weather forecast, etc.

max
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now