Loading...

Configuring Subclient Data Retention

You can use XML to set the retention criteria using the command line interface.

You can include the XML parameters in the xml file, or you can specify them on the command line when they frequently change. For more information on command line parameters and XML elements, see Command Line - Syntax.

Procedure

  1. Open the command prompt and go to software_installation_directory/Base directory.
  2. Enter the QLogin.exe and type your user name and password.
  3. Execute one of the following commands based on your requirement:
    • To set the subclient retention to Immediately, execute the following command:

      qoperation execscript -sn SetRetentionForUserDeletedItems.sql -si '<ClientGroupName>' -si 'Immediately'

    • To set the subclient retention to After n days, execute the following command:

      qoperation execscript -sn SetRetentionForUserDeletedItems.sql -si '<ClientGroupName>' -si 'Days' -si '<number_of_days>'

      For example, to set the subclient retention to After 14 days, execute the following:

      qoperation execscript -sn SetRetentionForUserDeletedItems.sql -si '<ClientGroupName>' -si 'Days' -si '14'

    • To set the subclient retention to Never, execute the following command:

      qoperation execscript -sn SetRetentionForUserDeletedItems.sql -si '<ClientGroupName>' -si 'Never'

Last modified: 1/11/2018 6:04:49 PM