ADSM-L

Re: JR- Delete file after TSM has backed them up

2005-04-21 11:06:54
Subject: Re: JR- Delete file after TSM has backed them up
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Thu, 21 Apr 2005 09:06:16 -0600
There is no specific built-in functionality to do this. You would have to
do some of your own scripting to do this. For example, create a script
that backs up the file, then upon successful backup, deletes the file from
the client file system. You can automate this by defining a schedule on
the TSM server with ACTION=COMMAND and OBJECTS=yourscriptname. Your script
will have to handle redirection of TSM client output to a file for logging
purposes, and exit with return code 0 if all is well or nonzero if a
problem occurred.

With that said:

a) You might have already thought of this, but if not, consider that the
next time an incremental backup runs on the file system, the file you
backed up will be expired on the TSM server when the client detects that
it no longer exists.

b) Why would you want to do this? This is not a part of the normal backup
model. This sounds more like an application for archive rather than
backup. With archive, you can use the -DELETEFILES option to delete the
file after it has been archived.

Regards,

Andy

Andy Raibeck
IBM Software Group
Tivoli Storage Manager Client Development
Internal Notes e-mail: Andrew Raibeck/Tucson/IBM@IBMUS
Internet e-mail: storman AT us.ibm DOT com

The only dumb question is the one that goes unasked.
The command line is your friend.
"Good enough" is the enemy of excellence.



JR Trimark <j.r.trimark AT AURORA DOT ORG>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
2005-04-21 06:31
Please respond to
"ADSM: Dist Stor Manager"


To
ADSM-L AT VM.MARIST DOT EDU
cc

Subject
JR- Delete file after TSM has backed them up






Can TSM be configured to delete a file from a client after it has been
backed up?

<Prev in Thread] Current Thread [Next in Thread>