Hi there,
I'm trying to run a simple '/usr/local/psa/bin/pleskbackup server' (tried many variations, including attempting to back-up just 1 domain, 1 reseller, etc.) and it doesn't work.
It gives the very useful error:
root@plesk:/usr/local/psa/PMM/sessions# /usr/local/psa/bin/pleskbackup server
Runtime error: Unknown error from pmmcli
It does create a folder under /usr/local/psa/PMM/sessions. It contains 2 files migration.result and psadump.log.
The psadump.log shows it calculating sizes for the domains, it lists the existence of some keys in /etc/sw and ends with:
[5212]: 09:12:53 DEBUG Get backup size for server settings
[5212]: 09:12:53 DEBUG Retrieve size of '/var/www/vhosts/.skel/0': 252111 bytes
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsKeysSize started.
[5212]: 09:12:53 DEBUG getServerSettingsBackupSize: Found sw key repository: /etc/sw/keys
[5212]: 09:12:53 DEBUG getServerSettingsBackupSize: Load keys from '/etc/sw/keys/keys'
[5212]: 09:12:53 DEBUG Retrieve size of '/etc/sw/keys/keys/keyXXtOYV0h': 9524 bytes
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsKeysSize finished. Size is 9524 bytes.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsAppPackagesSize started.
[5212]: 09:12:53 DEBUG Aps index file /opt/psa/var/apspkgarc/archive-index.xml is not exists. Skipping.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsAppPackagesSize finished. Size is 0 bytes.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerCustomButtonsSize started.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerCustomButtonsSize finished. Size is 0 bytes.
[5212]: 09:12:53 DEBUG Get backup size of server settings finished. Size is 261635 bytes.
[5212]: 09:12:53 DEBUG Get backup size finished. Backup size of selected objects is 32765328899 bytes
Which seems fine to me.
The migration.result contains very little:
root@plesk:/usr/local/psa/PMM/sessions/2013-08-05-111252.858# cat migration.result
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="success" log-location="/opt/psa/PMM/sessions/2013-08-05-111252.858/migration.result"/>
Any ideas what might be going on?
I'm trying to run a simple '/usr/local/psa/bin/pleskbackup server' (tried many variations, including attempting to back-up just 1 domain, 1 reseller, etc.) and it doesn't work.
It gives the very useful error:
root@plesk:/usr/local/psa/PMM/sessions# /usr/local/psa/bin/pleskbackup server
Runtime error: Unknown error from pmmcli
It does create a folder under /usr/local/psa/PMM/sessions. It contains 2 files migration.result and psadump.log.
The psadump.log shows it calculating sizes for the domains, it lists the existence of some keys in /etc/sw and ends with:
[5212]: 09:12:53 DEBUG Get backup size for server settings
[5212]: 09:12:53 DEBUG Retrieve size of '/var/www/vhosts/.skel/0': 252111 bytes
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsKeysSize started.
[5212]: 09:12:53 DEBUG getServerSettingsBackupSize: Found sw key repository: /etc/sw/keys
[5212]: 09:12:53 DEBUG getServerSettingsBackupSize: Load keys from '/etc/sw/keys/keys'
[5212]: 09:12:53 DEBUG Retrieve size of '/etc/sw/keys/keys/keyXXtOYV0h': 9524 bytes
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsKeysSize finished. Size is 9524 bytes.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsAppPackagesSize started.
[5212]: 09:12:53 DEBUG Aps index file /opt/psa/var/apspkgarc/archive-index.xml is not exists. Skipping.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerSettingsAppPackagesSize finished. Size is 0 bytes.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerCustomButtonsSize started.
[5212]: 09:12:53 DEBUG Server: BackupSizeCalculator::getServerCustomButtonsSize finished. Size is 0 bytes.
[5212]: 09:12:53 DEBUG Get backup size of server settings finished. Size is 261635 bytes.
[5212]: 09:12:53 DEBUG Get backup size finished. Backup size of selected objects is 32765328899 bytes
Which seems fine to me.
The migration.result contains very little:
root@plesk:/usr/local/psa/PMM/sessions/2013-08-05-111252.858# cat migration.result
<?xml version="1.0" encoding="UTF-8"?>
<execution-result status="success" log-location="/opt/psa/PMM/sessions/2013-08-05-111252.858/migration.result"/>
Any ideas what might be going on?