Plesk

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

Question

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:

 

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:

    allowRestoreModifiedDumps = on

  6. Click Save.

 

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":

    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: