Articles in this section

How to allow resellers and customers to upload backup files without a valid signature

kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux

Question

  • Why does the option Upload backup files without a valid signature not available for resellers and customers?
  • How to allow resellers and customers to upload backup files without a valid signature?

Answer

By default, the option Upload backup files without a valid signature is available only for Plesk administrators.

Resellers and customer do not have this option for security reasons: Uploading a backup file without a valid signature may compromise security or disrupt the operation of a server.

If required, this option can be enabled for resellers and customers in the Plesk configuration file panel.ini:

 

Note: Enabling allowRestoreModifiedDumps option means that backups can be uploaded without valid signature by any type of clients, including administrators. That makes checkbox Upload backup files without a valid signature unnecessary, and hence it is hidden in GUI.

 

 

Via Plesk

 

  1. Log in to Plesk.

  2. Install the "Panel.ini Editor" extension: Go to the Extensions menu > find "Panel.ini Editor" using the search-box > click Install.

  3. Once it is installed, click Open to launch the extension.

  4. In Panel.ini Editor, switch to the "Editor" tab.

    Note: If the file does not load, it means that panel.ini was not yet created. For the fist time, please use the command-line instructions.

  5. Navigate to the [pmm] section > change the value of allowRestoreModifiedDumps to "on" and uncomment the line:

    CONFIG_TEXT: allowRestoreModifiedDumps = on

  6. Click Save.


    Screenshot_2018-09-30_Panel_ini_editor_-_Plesk_Onyx_17_8_11.png

 

Via a command-line interface

 

  1. Connect to a Plesk server via SSH.

  2. Check if the file exists on the server:

    # ls /usr/local/psa/admin/conf/panel.ini

    If there is no such file, create it from a sample file:

    # cp /usr/local/psa/admin/conf/panel.ini.sample /usr/local/psa/admin/conf/panel.ini

  3. Open the file /usr/local/psa/admin/conf/panel.ini in a text editor (for example, vi editor) and navigate to the setting allowRestoreModifiedDumps (by default, it is located at the end of the file):

  4. Uncomment the line and change the value to "on":

    CONFIG_TEXT: allowRestoreModifiedDumps = on

  5. Save the changes and close the file.

 

If the option Upload backup files without a valid signature is no longer needed by resellers/customers, disable this option by commenting the line allowRestoreModifiedDumps = on with ';' in the file /usr/local/psa/admin/conf/panel.ini.

 

Additional Information

If this option is unchecked, Plesk checks a backup file for a valid structure and signature and does not restore it if any of the following problems are found:

  • The file is corrupted.
  • The file was modified manually after downloading from a server.
  • The file was created on another server.
  • The file was created in Plesk lower than 11.5.
Was this article helpful?

Comments

1 comment
Date Votes
  • Doesn't even work... Enabled this in panel.ini, but still the option "Upload backup files without a valid signature" doesn't show up. Even rebooted the server. Also used the panel.ini editor, didn't do anything either.

    Probably the Plesk pricing needs to be increased again, before this works.

    1

Please sign in to leave a comment.