V2archive

Use the v2archive option with the archive command to archive only files to the server.

Tivoli® Storage Manager will not process directories that exist in the path of the source file specification.

This option differs from the filesonly option in that the filesonly option archives the directories that exist in the path of the source file specification.

The v2archive and dirsonly options are mutually exclusive and an error message is displayed if you use both options in the same archive command.

If you use this option, you might want to consider the following:

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This option is valid for all clients. The Tivoli Storage Manager client API does not support this option.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-V2archive---------------------------------------------------><

Parameters

There are no parameters for this option.

Examples

Mac OS X operating systemsThis command:
Mac OS X operating systemsdsmc archive "/Users/user2/Documents/*" -v2archive -su=y.
Archives these files:
/Users/user2/Documents/file1
/Users/user2/Documents/file2
/Users/user2/Documents/file3
/Users/user2/Documents/dir2/file4
/Users/user2/Documents/dir2/file5
Note: Tivoli Storage Manager does not archive /Users/user2/Documents and /Users/user2/Documents/dir2.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsThis command:
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsdsmc archive "/home/relx/dir1/*" -v2archive -su=y.
Archives these files:
/home/relx/dir1/file1
/home/relx/dir1/file2
/home/relx/dir1/file3
/home/relx/dir1/dir2/file4
/home/relx/dir1/dir2/file5
Note: Tivoli Storage Manager does not archive /home/relx/dir1 and /home/relx/dir1/dir2.
Windows operating systemsThis command:
Windows operating systemsdsmc archive c:\relx\dir1\ -v2archive -su=y
Archives these files:
c:\relx\dir1\file1
c:\relx\dir1\file2
c:\relx\dir1\file3
c:\relx\dir1\dir2\file4
c:\relx\dir1\dir2\file5
Note: Tivoli Storage Manager does not archive c:\relx\dir1 and c:\relx\dir1\dir2.