• 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
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

The rotations does not work.

A

andreyb

Guest
I am using passive ftp for backup data to ftp. The backup copy to ftp correctly, but the rotation is trying to use active mode. Why? See the attachment log. The logs have strings:
CurlError: Curl error: FTP command PORT failed [./ftp.cpp:565]
and
Unable to rotate dump: The dump rotation is failed with code '126' at /usr/local/psa/admin/bin/plesk_agent_manager line 1107.
 

Attachments

  • backup_log_100429.txt
    3.1 KB · Views: 14
I have forwarded it to developers for the further investigation. I will update this thread with results.
 
I made it:
--- plesk_agent_manager_org 2010-04-10 09:18:42.000000000 +0400
+++ plesk_agent_manager 2010-04-29 13:54:34.000000000 +0400
@@ -1095,7 +1095,7 @@
sub rotateDump{
my( $dumpDir, $dumpFileName, $dumpRotation, $ownerguid, $structured, $sessionPath ) = @_;
Logging::info( "Dump rotation started File: '$dumpFileName' in the repository '$dumpDir'. Set backup's count to '$dumpRotation'" );
- my $cmd = "$productRootD/admin/bin/pmm-ras --rotate-dump --dump-rotation=$dumpRotation --guid=$ownerguid --dump-specification=$dumpFileName";
+ my $cmd = "$productRootD/admin/bin/pmm-ras --use-ftp-passive-mode --rotate-dump --dump-rotation=$dumpRotation --guid=$ownerguid --dump-specification=$dumpFileName";
$cmd .= " --dump-storage=$dumpDir";
$cmd .= " --storage-structured" if $structured;
$cmd .= " --session-path=$sessionPath --verbose" if $sessionPath;
Tomorrow I will check the rotation.
 
Thank you for solution. I have forwarded your solution to developers too.
 
Hello

I stumpled over this thread when I googled for an error message that I got during a pleskbackup process and I hope someone can help me.

I started the backup at 1:59 pm and it is still running now (4:09 pm). Every 30 mins, I get three mails from my Plesk server, with the following content, respectively:

--------------------------------------------
Mail 1
--------------------------------------------

Backup task finished.

Task was created by with guid (fe06f9f3-56b8-4b39-9064-73aa623d84cc)


Creation date is: 2010-Jun-11 03:11:03
Task status is: warnings

Dump full name is: backup_h1655451_1006110311.tar

migration.result

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="warnings">
<object name="backup" type="backupowner">
<message severity="error" code="msgtext">Unable to rotate dump: The dump rotation is failed with code '121' at /usr/local/psa/admin/bin/plesk_agent_manager line 1087.
</message>
</object>
</execution-result>

--------------------------------------------
Mail 2
--------------------------------------------

Backup task finished.

Task was created by with guid (fe06f9f3-56b8-4b39-9064-73aa623d84cc)


Creation date is: 2010-Jun-18 03:11:02
Task status is: warnings

Dump full name is: backup_h1655451_1006180311.tar


migration.result

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="warnings">
<object name="backup" type="backupowner">
<message severity="error" code="msgtext">Unable to rotate dump: The dump rotation is failed with code '121' at /usr/local/psa/admin/bin/plesk_agent_manager line 1087.
</message>
</object>
</execution-result>

--------------------------------------------
Mail 3
--------------------------------------------

Backup task finished.

Task was created by with guid (fe06f9f3-56b8-4b39-9064-73aa623d84cc)


Creation date is: 2010-Jun-25 03:11:04
Task status is: warnings

Dump full name is: backup_h1655451_1006250311.tar


migration.result

<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="warnings">
<object name="backup" type="backupowner">
<message severity="error" code="msgtext">Unable to rotate dump: The dump rotation is failed with code '121' at /usr/local/psa/admin/bin/plesk_agent_manager line 1087.
</message>
</object>
</execution-result>

--------------------------------------------

I used the following command to start the process:
/usr/local/psa/bin/pleskbackup -vv -s --output-file=/root/work/backups/201006251400.tar

My questions are:

1) Why do I get those messages, what's wrong with the backup process?
2) Why do they say the "Backup task finished" even though it is still running?
3) Where is the dump file? I can't find it!
4) Why three messages, with two of them stating creation dates from one and two weeks ago?
5) The HDD of the server shows a usage of about 142 GB, Plesk has 8 accounts with 18 domains. Is it normal that the pleskbackup takes sooooooooooo long?


Thanks
-Norman
 
Back
Top