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/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> Sent by: "ADSM: Dist Stor Manager" <[email protected]> 2005-04-21 06:31 Please respond to "ADSM: Dist Stor Manager" To [email protected] 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?
