- Plesk Onyx for Linux
How to check status for the backup restoration task?
Connect to the server via SSH;
Check whether the process is running:
# ps auxww | grep PMM
root 6066 0.2 0.4 153104 9528 ? S 22:18 0:00 /usr/local/psa/admin/bin/deployer --deploy-dump --session-path /usr/local/psa/PMM/rsessions/20170731221845483 --dump-index-file /usr/local/psa/PMM/rsessions/20170731221845483/dump/dump_index.xml
- Check whether some records are being written to the
# tail -fn0 /usr/local/psa/PMM/logs/pmmcli.log
Note: In case nothing is getting written to the log above, use the strace command line utility to determine whether or not the process (PID) is generating output. Its usage is
strace -p <PID>taken from step 1. For example:
strace -p 6066
- Get the current status of the task with the following command:
# plesk sbin pmmcli --get-task `cat /usr/local/psa/PMM/rsessions/20170731221845483/task_id`
--session-pathvalue used from step 1.
- If backup is restored from a remote storage, it will be downloaded locally at first. Check the size of already downloaded backup with:
# du -sh /tmp/pmm-repo*