DSMC archive trouble with multiple file archives.

livglarge

ADSM.ORG Member
Joined
Feb 10, 2003
Messages
7
Reaction score
0
Points
0
Website
Visit site
I cant seem to get the command line syntax right for this.



Im using VB.Net to execute this.



Im trying to do a DSMC Archive and archive several files at once. The files are all of the files in a multi-filegroup SQL server database that has been detached.



I've tried several different combinations but this is basically what Im doing.



archive -filelist='C:\Somefile1.mdf, C:\Somefile2.ndf,C:\Somefile3.ndf' -descr="Archive|TestArchive" -su=yes



I'm getting a return code of 128, I cant even find a return code 128 in any of the documentation. Can anyone shed some light on this for me.



Thanks,

Malcolm Phillips
 
Malcolm,



"Use the filelist option to process a list of files. The Storage Manager client opens the file you specify with this option and processes the list of files within according to the specific command. With the exception of the restore and retrieve commands, when you use the filelist option, Storage Manager ignores all other file specifications on the command line."



The FILELIST option is looking for a text file with a list of files within it. Not a list on the command line.



archive -filelist='C:\myfile.lst' descr='Archive Testing' -subdir=yes



TSM would then process the files listed one per line in the file.



C:\Somefile1.mdf

C:\Somefile2.ndf

C:\Somefile3.ndf







Chad Small

IBM Global Services

[email protected]

:)
 
Got it , Thanks



Now that you explain it the Tivoli documentation makes perfect sense.
 
Back
Top