Use the preservelastaccessdate option
to specify whether a backup or archive operation changes the last
access time.
A backup or archive operation can change the last access
time of a file. After an operation, the Tivoli® Storage Manager client
can reset the last access time to the value before the operation.
The last access time can be preserved, rather than modified, by the
backup-archive client. Resetting the last access time requires extra
processing for each file that is backed up or archived.
If
you enable open file support, the last access date for files is always
preserved regardless of the setting for preservelastaccessdate.
When open file support is enabled, do not use the preservelastaccessdate option.
Use
this option with the incremental, selective,
or archive commands.
Note: - This option applies only to files; it does not apply to directories.
- Resetting the last access
date affects backup and archive performance.
- Resetting
the last access date can affect applications that rely on accurate
last-access dates such as a Storage Resource Management (SRM) application.
- On
file systems that are not managed by the Tivoli Storage Manager Space
Management client or when nonroot users back up or archive, the ctime attribute
is reset. The last changed time and date (ctime)
attribute is reset to the date and time of the backup or archive operation.
- The updatectime option
takes precedence over the preservelastaccessdate option.
If both options are set to yes, the preservelastaccessdate option
is ignored
- On
file systems that are not managed by the Tivoli Storage Manager Space
Management client, do not use preservelastaccessdate yes and
the GPFS™ mmbackup command.
The mmbackup command and preservelastaccessdate
yes selects all files for each backup operation.
- The last access date cannot be preserved on
files that are write-protected either by the read-only attribute or
by a restrictive NTFS security permission.
- You cannot reset the last access date of read-only files. The preservelastaccessdate option
ignores read-only files and does not change their date.
Syntax
.-No--.
>>-PRESERVELAstaccessdate--+-----+-----------------------------><
'-Yes-'
Parameters
- No
- A backup or archive operation can change the last access date.
This value is the default.
- Yes
- A backup or archive operation does not change the last access
date.
Examples
- Options file:
- preservelastaccessdate yes
- Command line:
- Incremental /proj/test/test_file -preservelastaccessdate=yes
- Command line:
- dsmc incr c: e: f: -preservelastaccessdate=yes