TSM Windows Client - Delete root level folders from Client GUI

mark.swanston

ADSM.ORG Member
Joined
Sep 19, 2007
Messages
22
Reaction score
0
Points
0
Chaps,

Hopefully a quick one....

I am trying to to remove a folder with its contents from a windows BA client running 5.5.

I've updated and set the node to have backdel=y, I have successfully deleted the files within the folder however I seem unable to delete the folder beneath the C: drive.

I have highlighted the folder which remains however i get the following message:

"No Objects on server match query"

However the folder remains.

Ideas????
 
Is the directory a filesystem mount point? If so, you might maybe need to use "del filespace <node> </dir>" on the tsm server.

Or when trying to delete the dir from the client make sure you specify /dir like that, with no trailing slash or *'s etc.

Just guessing...
 
Is the directory a filesystem mount point? If so, you might maybe need to use "del filespace <node> </dir>" on the tsm server.

Or when trying to delete the dir from the client make sure you specify /dir like that, with no trailing slash or *'s etc.

Just guessing...

It is not a mount point. It is simply a folder within a windows volume.... for example:

C:\Swanny

Attempted to perform delete from command line also:

tsm> q backup C:\swanny
Size Backup Date Mgmt Class A/I File
---- ----------- ---------- --- ----
0 B 05/21/2008 15:33:09 STANDARD A \\uklap0098\c$\Swanny
tsm> del backup C:\swanny
ANS1302E No objects on server match query
 
When you delete files you can delete Active objects, Inactive objects or both.
The default is Active objects.
if you run q backup -ina C:\swanny you can see all objects.

Efim
 
When you delete files you can delete Active objects, Inactive objects or both.
The default is Active objects.
if you run q backup -ina C:\swanny you can see all objects.

Efim


Ok, below is the output from an inactive query:

tsm> q backup -ina C:\swanny
Size Backup Date Mgmt Class A/I File
---- ----------- ---------- --- ----
0 B 05/21/2008 15:33:09 STANDARD A \\uklap0098\c$\Swanny
0 B 05/21/2008 15:32:03 STANDARD I \\uklap0098\c$\Swanny

As you can see there are objects - however:

tsm> del backup c:\swanny -deltype=all
ANS1302E No objects on server match query

tsm> del backup \\uklap0098\c$\Swanny -deltype=all
ANS1302E No objects on server match query

Thoughts?
 
Try del backup \\uklap0098\c$\Swanny\* -deltype=all -subdir=yes
I remember that in old version of TSM we can't delete the folder in root without it inactivation.....
You may try do it with folder 456, for example c:\123\456\file.txt

Efim
 
Last edited:
same again :(

tsm> q backup -ina C:\swanny
Size Backup Date Mgmt Class A/I File
---- ----------- ---------- --- ----
0 B 05/21/2008 15:33:09 STANDARD A \\uklap0098\c$\Swanny
0 B 05/21/2008 15:32:03 STANDARD I \\uklap0098\c$\Swanny
tsm> del backup \\uklap0098\c$\Swanny -deltype=all -subdir=yes
ANS1302E No objects on server match query
tsm> del backup \\uklap0098\c$\Swanny -deltype=all -subdir=yes
ANS1302E No objects on server match query

Any other ideas?
 
You can't delete the parent directory of the deleted files and subdirectories using command delete baclup.

From Backup-Archive Clients Installation and User's Guide:
deltype
Specifies the deletion type. Specify one of the following values:
......
skip
......
ALL
Delete all active and inactive objects below a given directory, including all subdirectories and their files.
Note: The parent directory of the deleted files and subdirectories is not deleted

BUT i think. you can inactivate object and it will be deleted according you policy.
Efim
 
Last edited:
Back
Top