Plesk

How to download a large backup file from Plesk?

Question

How to download a large(about 100 GB) backup file from Plesk?

Answer

Solution For Linux

  1. Log into the server via SSH.

  2. Execute the command below to list .xml files of all existing backups:

    # plesk sbin pmm-ras --get-dump-list | grep message | sed -E 's/<message>//g' | sed -E 's/: </message>//'

    backup_info_2006222137.xml
    backup_info_2006222138.xml

  3. Using the required .xml backup file from the step №2, run the command below to download the backup:

    # plesk sbin pmm-ras --export-dump-as-file --dump-specification=backup_info_1908071521.xml --dump-file-specification=/root/backup.tar

    Note/root/backup.tar is the path where the downloaded backup will be located.

Solution for Plesk Onyx on Windows

  1. Log into the server via RDP.

  2. Start a command prompt as an Administrator.

  3. Execute the command below to list .xml files of all existing backups:

    C:> "%plesk_bin%"pmm-ras.exe --get-dump-list | findstr "message"
    <message>backup_info_1908071521.xml: </message>
    <message>backup_info_1909120136.xml: </message>

  4. Using the required .xml backup file from the step №3, run the command below to download the backup:

    C:> "%plesk_bin%pmm-ras.exe" --export-dump-as-file --dump-specification=backup_info_1908071521.xml --dump-file-specification=C:backup.zip

    NoteC:backup.zip is the path where the downloaded backup will be located.

Solution for Plesk Obsidian on Windows

  1. Log into the server via RDP.

  2. Start a command prompt as an Administrator.

  3. Execute the command below to list .xml files of all existing backups:

    C:> "%plesk_bin64%"pmm-ras.exe --get-dump-list | findstr "message"
    <message>backup_info_1908071521.xml: </message>
    <message>backup_info_1909120136.xml: </message>

  4. Using the required .xml backup file from the step №3, run the command below to download the backup:

    C:> "%plesk_bin64%pmm-ras.exe" --export-dump-as-file --dump-specification=backup_info_1908071521.xml --dump-file-specification=C:backup.zip

    NoteC:backup.zip is the path where the downloaded backup will be located.