Table of ContentsView in Frames

Extending the retention date of a WORM file

A WORM file can remain in WORM state longer than the current retention date if you extend the retention date of the WORM file beyond that of the current retention date.

About this task

For extending the retention date, you can use the command or program available to the file access protocol (CIFS, NFS, and so on) and client operating system you are using. You can extend the retention date interactively or programmatically.

Note: The SnapLock volume maximum or minimum retention period restrictions are not applied when the retention date of a WORM file is being extended.

Steps

  1. To extend the retention date, use the command or program available to you.

    Example

    In a UNIX shell, you can use the following command to extend the document.txt file to a WORM state with a retention date of 15 December 2020:

    touch -a -t 202012150600 document.txt
    Note: The retention date of a WORM file can never be changed to earlier than its current setting.

  2. To check the retention date on a file, enter the following command and note the value of the access time:
    stat document.txt