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:

  • You might experience performance problems when retrieving large amounts of data archived with this option.
  • You might want to use this option only if you are concerned about expiration performance on a server that already contains extremely large amounts of archived data.
  • If there are multiple files with the same name for the v2archive option, the files are archived multiple times, with their directory structure. The v2archive option archives only the files.
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.