Fromdate

Use the fromdate option with the fromtime option to specify a date and time from which you want to search for backups or archives during a restore, retrieve, or query operation.

Files that were backed up or archived before this date and time are not included, although older directories might be included, if necessary, to restore or retrieve the files.

Use the fromdate option with the following commands:

  • delete backup
  • query archive
  • query backup
  • restore
  • restore group
  • retrieve
AIX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

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 diagram
>>-FROMDate = - --date-----------------------------------------><

Parameters

date
Specifies the date from which you want to search for backup copies or archived files. 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 systemsdsmc query backup -fromdate=12/11/2003 "/Users/van/Documents/*"
AIX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsCommand line:
AIX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsdsmc query backup -fromdate=12/11/2003 /home/dilbert/*
Windows operating systemsCommand line:
Windows operating systemsdsmc query backup -fromdate=12/11/2003 c:\Windows\Program Files\*.exe