How to download a large backup file from Plesk?

Follow

Comments

14 comments

  • Avatar
    Steven Procopio

    For the "%plesk_bin%\pmm-ras.exe" --get-dump-list | findst "message" there might be a misspelling or a different program on Windows 2016 findst should be findstr

    0
    Comment actions Permalink
  • Avatar
    Anzhelika Khapaknysh

    @Steven Procopio,

    The command has been updated.
    Thanks for noticing!

    0
    Comment actions Permalink
  • Avatar
    Aleksandar Perisic (Edited )

    Any issues when restoring this backup ?
    1. Can we use ```plesk bin pleskrestore --restore  backup.tar ``` ?
    2. Backup-password ?

    0
    Comment actions Permalink
  • Avatar
    Lev Iurev

    @Aleksandar Perisic check this article, it should be helpful https://support.plesk.com/hc/en-us/articles/115001547985-How-to-restore-a-Plesk-backup-from-CLI-

    1
    Comment actions Permalink
  • Avatar
    Usta

    So, how to remove /root/backup.tar via SSH?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello @Usta,

    This instruction described how to remove a file on Linux:
    http://man7.org/linux/man-pages/man1/rm.1.html

    0
    Comment actions Permalink
  • Avatar
    cristina

    good day guys..so If I want to import the backup.tar ..how can i import it to the plesk backup manager? I need your help for this..thank you so much...

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello cristina

    See the "Restoring a backup via a command-line interface" section in this article: https://support.plesk.com/hc/en-us/articles/213947385

    0
    Comment actions Permalink
  • Avatar
    cristina

    Hello Ivan, 

    I need to restore only the mail accounts and its contents so I need to import it first to the backup manager. 

    When I exported it as a dump (.tar) here is my command:

    plesk sbin pmm-ras --export-dump-as-file --dump-specification=backup_info_2003012102.xml --dump-file-specification=/home/backup032020.tar

    To save space to the server, after I downloaded that backup032020.tar, I removed the backup in the plesk manager. 

    Now I need to restore the emails because the current server had a hardware failure. SO i need badly to retrieve the email. I do not have problem in the website, since I had a manual backup for the webfiles and database. 

    So how can i use the backup032020.tar now? 

    I tried to move the said .tar file in /var/lib/psa/dumps/ of my new server then tried this command:

    plesk sbin pmm-ras --import-file-as-dump --dump-file-specification=/var/lib/psa/dumps/backup032020.tar

     

    But in the end it will say this:

    Import error: The dump does not nave XML configuration file
    exit status 1

    Please help me Ivan.

     

    Thanks,

    Cristina

     

     

    0
    Comment actions Permalink
  • Avatar
    cristina

    I also tried this:

     

    plesk bin pleskrestore --restore /var/lib/psa/dumps/backup032020.tar -only-mailnames -ignore-sign

    but the result:

    Unable to import file as dump: pmm-ras failed (Error code = 1):
    STDOUT: Import error: The dump does not nave XML configuration file

    STDERR:

    exit status 1

    0
    Comment actions Permalink
  • Avatar
    Francisco Garcia

    Hi cristina,

    Please open this backup032020.tar with an archiving program to see its content, to verify that it's correct. Seems that there's no XML file inside.

    Note that the plesk bin pleskrestore won't work with the .tar file, only an XML, anyway it's better to restore it on the user interface.

    0
    Comment actions Permalink
  • Avatar
    Valentijn Langendorff

    With all the lates updates i cant't download a small file but not a big backup file from plesk.

    Only small xml files . No error also whatsoever : backup_info_2007150010.xml (1).tar

    2Kbs and empty...: inside : 

    .discovered/backup_info_2007150010/0000755000000000000000000000000013703426751015370 5ustar rootrootCannot read public key

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Valentijn Langendorff

    I would suggest creating a support request to check the reason.

    0
    Comment actions Permalink
  • Avatar
    Joe Candela (Edited )

    Hello,

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

    I receive:

    Missing option dump-file-specification

    exit status 1

    What am I doing wrong?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request