M
Martin Maciaszek
Guest
I'm using Plesk 9.5.2 on my OpenSUSE 11 server and some time ago my backups suddenly stopped working.
The problem boils down to this:
When I check the log files I find this in migration.log:
And this in psadump.log:
I don't know how to fix it but I'm willing to provide additional debugging output to help track the problem down.
The problem boils down to this:
Code:
/[B]usr/local/psa/bin/pleskbackup domains-name maciaszek.net --output-file=/srv/backup_tmp/test.tgz -v --skip-logs[/B]
[lots of lines]
...
Domains [0/1]
-------------- Start print backup log hire --------------
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="error">
<object name="backup" type="backupowner">
<message severity="error" code="msgtext">The dump have been invalidated by check-dump operation</message>
</object>
<object name="backup" type="backupowner">
<message severity="error" code="msgtext">Runtime error: The check dump failed with code '1'. The dump can contain invalid data! at /usr/local/psa/admin/bin/plesk_agent_manager line 658.
</message>
</object>
</execution-result>
-------------- End print backup log hire --------------
You can view additional information in the log file located in /usr/local/psa/PMM/sessions/2010-08-09-200305.782 directory. This directory will be removed automatically after 30 days
Runtime error: The backup failed with errors!
When I check the log files I find this in migration.log:
Code:
[20:04:38|INFO:27254:p.log] pmm-ras started : /usr/local/psa/admin/bin/pmm-ras --get-dump-info --dump-file-specification=clients/fastjack/domains/maciaszek.net/backup_maciaszek.net_info_1008092003.xml --session-path=/usr/local/psa/PMM/sessions/2010-08-09-200305.782 --verbose
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps' initialising...
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Initialized
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Get backup info from clients/fastjack/domains/maciaszek.net/backup_maciaszek.net_info_1008092003.xml
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Get initial backup info from dir clients/fastjack/domains/maciaszek.net/.discovered/backup_maciaszek.net_info_1008092003
[20:04:38|INFO:27254:p.log] Get backup params from listing of clients/fastjack/domains/maciaszek.net/.discovered/backup_maciaszek.net_info_1008092003
[20:04:38|INFO:27254:p.log] Read properties from xml clients/fastjack/domains/maciaszek.net/backup_maciaszek.net_info_1008092003.xml
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Validate backup clients/fastjack/domains/maciaszek.net/backup_maciaszek.net_info_1008092003.xml
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Validate backup (common phase) clients/fastjack/domains/maciaszek.net/backup_maciaszek.net_info_1008092003.xml
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Get items 'status' for discovered 'backup_maciaszek.net_info_1008092003' at path clients/fastjack/domains/maciaszek.net
[20:04:38|INFO:27254:p.log] Executing utility: /usr/local/psa/admin/sbin/backup_sign verify /var/lib/psa/dumps/clients/fastjack/domains/maciaszek.net/backup_maciaszek.net_info_1008092003.xml
[20:04:38|INFO:27254:p.log] The utility executed with the return code 0
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Create item 'status_WRONG-FORMAT' for discovered 'backup_maciaszek.net_info_1008092003' at path clients/fastjack/domains/maciaszek.net
[20:04:38|INFO:27254:p.log] Repository '/var/lib/psa/dumps': Put info to clients/fastjack/domains/maciaszek.net/.discovered/backup_maciaszek.net_info_1008092003/status_WRONG-FORMAT
[20:04:38|INFO:27254:p.log] Validate content files backup_fastjack_maciaszek_word_4_1008092003.tgz at dir clients/fastjack/domains/maciaszek.net/databases/fastjack_maciaszek_word_4
[20:04:38|INFO:27254:p.log] Validate content files backup_fastjack_maciaszek_open_5_1008092003.tgz at dir clients/fastjack/domains/maciaszek.net/databases/fastjack_maciaszek_open_5
[20:04:38|INFO:27254:p.log] Validate content files backup_fastjack_maciaszek_git_1_1008092003.tgz at dir clients/fastjack/domains/maciaszek.net/databases/fastjack_maciaszek_git_1
[20:04:38|INFO:27254:p.log] Validate content files backup_fastjack_maciaszek_mint_1_1008092003.tgz at dir clients/fastjack/domains/maciaszek.net/databases/fastjack_maciaszek_mint_1
[20:04:38|INFO:27254:p.log] pmm-ras finished. Exit code: 0
And this in psadump.log:
Code:
18:03:06 INFO ------------------------------------------------------------
18:03:06 INFO Migration status reporting initialized.
18:03:06 INFO Status file: /usr/local/psa/PMM/sessions/2010-08-09-200305.782/dump-status.xml
18:03:06 INFO ------------------------------------------------------------
18:04:38 ERROR The dump have been invalidated by check-dump operation
18:04:38 ERROR Runtime error: The check dump failed with code '1'. The dump can contain invalid data! at /usr/local/psa/admin/bin/plesk_agent_manager line 658.
== STDERR ====================
Odd number of elements in hash assignment at /usr/local/psa/PMM/agents/PleskX/Packer.pm line 4017.
Runtime error: The check dump failed with code '1'. The dump can contain invalid data! at /usr/local/psa/admin/bin/plesk_agent_manager line 658.
==============================
I don't know how to fix it but I'm willing to provide additional debugging output to help track the problem down.