Todate

Use the todate option with the totime option to specify an ending date and time to which you want to search for backups or archives during a restore, retrieve, or query operation

Use the todate and totime options with the fromtime and fromdate options to request a list of backed up or archived files within a period of time. For example, you might request a list of files that were backed up between 6:00 AM on July 1, 2002 and 11:59 PM on July 30, 2002.

Use the todate option with the following commands:

  • delete backup
  • query archive
  • query backup
  • restore
  • restore group
  • retrieve

Supported Clients

This option is valid for all clients. The IBM Spectrum® Protect API does not support this option.

Syntax

Read syntax diagramSkip visual syntax diagramTODate =  date

Parameters

date
Specifies an ending date. Enter the date in the format you selected with the dateformat option.

When you include dateformat with a command, it must precede the fromdate, pitdate, and todate options.

Examples

Mac OS X operating systemsCommand line:
Mac OS X operating systems dsmc restore "/Users/agordon/Documents/*" -todate=12/11/2003
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsCommand line:
Mac OS X operating systemsOracle Solaris operating systemsLinux operating systemsAIX operating systemsdsmc restore "/home/user1/*" -todate=12/11/2003
Windows operating systemsCommand line:
Windows operating systemsdsmc restore -todate=12/11/2003 c:\myfiles\