ADSM-L

Re: dsmc command question?

2004-10-06 13:43:10
Subject: Re: dsmc command question?
From: Mike <mikee AT MIKEE.ATH DOT CX>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 6 Oct 2004 12:45:21 -0500
On Wed, 06 Oct 2004, Andrew Raibeck wrote:

> I suspect you are mixing administrative commands with backup-archive
> commands. The syntax is not necessarily compatible. The client and admin
> books will provide information on the syntax for the respective commands.
> Alternatively, you can quickly look up syntax like this:
>
> - For the backup-archive client, run "dsmc help" and use the menu options
> to navigate the help.
> - From the admin client, run "help <command-name>" (for example, "help
> query filespace")
>
> With that said...
>
> The admin and backup-archive components both support the QUERY FILESPACE
> command (can be abbreviated to Q FI), but neither lets you specify the
> file space ID.
>
> The admin and backup-archive components also support DELETE FILESPACE
> commands, but the client version does not let you specify by file space
> ID.
>
> The backup-archive QUERY BACKUP command does not let you specify file
> space ID. However, provided that your current local drives map to the UNC
> names shown by the QUERY FILESPACE output, you can use the drive letter
> format to query the backups. For example, the following are equivalent:
>
>    dsmc query backup \\storman\c$\mydir\ -subdir=yes
>    dsmc query backup c:\mydir\ -subdir=yes
>
> (povided that my current C: drive maps to \\stoman\c$).
>
> Regards,
>
> Andy
>
> > Within dsmc the command 'q files' gives you the list of
> > filesets stored for the current node. The command 'q
> > backup FILESET' shows all files stored for that fileset.
> > The problem I'm having is the fileset names are the
> > microsoft unc format of '\\node\c$'. The command 'delete
> > files FSID -namet=fsid' allows you to specify the fileset
> > to delete by the fsid. Is there a variant of the q backup
> > where you can also specify the fileset by fsid?
> >
> > Mike

True that 'delete files' runs from dsmadmc and 'query files' and
'query backup' run from dsmc. I wanted to show an example of
the fsid I was trying to get to work. Within a program I'm writing
I can get the 'q files' to work just file showing me the set
of filespaces stored for the current node. I'm not able to get
'q backup FILESPACE' to work. I have just read of the alternate
form (c:\) in the manual and am trying that form now.

Another suggestion?

Mike