• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Can not upload my backup with linux with Shell

honeybaobao

New Pleskian
Hi,

I have a backup more than 4GB size, because I had to reinstall Plesk, I uploaded the file WinScp, and then follow the instruction from this KB How to upload a Plesk xml.tar/xml.zip backup file to the Backup Manager, but looks like doesn't work well, in the first command I had Exit Status 113 and then 2Nd Instructions I had Exit Status 111. My Linux Distro is Debian 9. But on the first Command line he show the domain name "/domains/cedricstrainsim.com/backup_info_2101181130.xml.

But the files of the backup are on the /var/lib/psa/dumps folder so it mean it's work

I totally followed the instructions but on the plesk this backup don't show up.

Thanks for your help
 
Last edited:
What is the "first command" for you and what is the exact error message?
What is the "2nd instructions" for you and what is the exact error message?
 
Sorry I made mistake I thought it was 2 command in fact it's was only one with different settings, in the beggining I used the 2 instructions and then I only tried the one with password because I setup the backup with password and then get only 111 exit for exit status

PLESK_BACKUP_PASSWORD="yourpassword" plesk sbin pmm-ras --import-file-as-dump --dump-file-specification /path/to/file.tar
 
Please look into /var/log/plesk/PMM/import...... directory of your import attempt whether you find more information on what the cause of a failure is. Normally you should find a detailed error message in the import log.

The import command as given is correct and works almost for sure unless the .tar file is corrupted.
 
This is the log, this time no exit status

Code:
[2021-01-18 18:13:05.072| 6609] INFO: pmm-ras started : /opt/psa/admin/bin/pmm-ras --get-dump-list --dump-storage=/var/lib/psa/dumps/ --type=server --guid=e67d7fca-6587-4502-9fe4-26298f11e5a6 --owner-guid=e67d7fca-6587-4502-9fe4-26298f11e5a6 --session-path=/var/log/plesk/PMM --storage-name any
[2021-01-18 18:13:05.072| 6609] INFO: Repository '/var/lib/psa/dumps/': Initializing...
[2021-01-18 18:13:05.072| 6609] INFO: Repository '/var/lib/psa/dumps/': Initialized
[2021-01-18 18:13:05.072| 6609] INFO: Repository '/var/lib/psa/dumps/': List backups of type server for guid e67d7fca-6587-4502-9fe4-26298f11e5a6 and name
[2021-01-18 18:13:05.072| 6609] INFO: Check .last-dumps
[2021-01-18 18:13:05.072| 6609] INFO: Check .run
[2021-01-18 18:13:05.072| 6609] INFO: Check domains
[2021-01-18 18:13:05.072| 6609] INFO: Check .discovered
[2021-01-18 18:13:05.072| 6609] INFO: pmm-ras finished. Exit code: 0
 
I still don't know what's happen but this attemps was fine, the backup showed up, I restore now, I guess mistake from me, but worked.

Thanks for your help
 
Sorry I made mistake I thought it was 2 command in fact it's was only one with different settings, in the beggining I used the 2 instructions and then I only tried the one with password because I setup the backup with password and then get only 111 exit for exit status

PLESK_BACKUP_PASSWORD="yourpassword" plesk sbin pmm-ras --import-file-as-dump --dump-file-specification /path/to/file.tar
By accident I had the same error now in one process here.
I found out that 111 means that the same backup has already been imported and is already present in the local repository.
 
Back
Top