1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk backup and Restoration Error message

Discussion in 'Plesk for Linux - 8.x and Older' started by choonkiat, Nov 12, 2007.

  1. choonkiat

    choonkiat Guest

    Backup and Restore Problem.

    I try command line restoration methods a few times now, and sometimes it works, sometimes it doesn't

    This is the error message? why, is plesk restoration unstable?

    ======================= ERROR -===============
    Elapsed time: 00:00:06
    (1/1) [client] mydomainsUncaught std::exception: UnixClientSocket::UnixClientSocket, connect: No such file or directory
    Traceback (most recent call last):
    File "/usr/local/psa/admin/share/supervisor/processor.py", line 116, in doActivityRunner
    newState = self.doActivity()
    File "/usr/local/psa/admin/share/supervisor/processor.py", line 817, in doActivity
    File "/usr/local/psa/admin/lib/python/subproc.py", line 238, in spawn
    File "/usr/local/psa/admin/lib/python/subproc.py", line 193, in run
    File "/usr/local/psa/admin/lib/python/subproc.py", line 177, in run
    File "/usr/local/psa/admin/lib/python/subproc.py", line 197, in wait
    File "/usr/local/psa/admin/lib/python/subproc.py", line 187, in wait
    raise NonzeroExitException(self, os.WEXITSTATUS(status))
    NonzeroExitException: was finished with exit code 1

    Thanks for the Help!!!!
  2. anb_t

    anb_t Guest

    He-he, I did restoration and it finished successfully, so it looks the restoration works, but on system with strong configuration..
    How did you run the restoration exactly? what is the command, which produces this error?

    Also the notification has provided the exact problem error: "No such file or directory", however it is not clear what directory it meant..
    Try setting PLESKRESTORE_DEBUG before the command line utility, probably with provide more details..

  3. choonkiat

    choonkiat Guest

    This is the command i issue out...
    Create Backup
    /usr/local/psa/bin/pleskbackup all PleskBackUp

    Create Map
    /usr/local/psa/bin/pleskrestore --create-map "PleskBackUp" -map "PleskBackUpMap"

    /usr/local/psa/bin/pleskrestore --restore "PleskBackUp" -level all -map "PleskBackUpMap"

    Sometime it will work and successfully restore but somethings it fail, i can't understand why..

    is there any thing wrong with the command i issue out?

    Well most of the time it works and restore successfully but somethings fail with that error message
  4. anb_t

    anb_t Guest

    The error occurs due to a particular domain/account restoration. Look through the restoration logs created in directory 'restore' existed in the directory where pleskrestore is running from.

    Anyway try debugging the restoration with PLESKRESTORE_DEBUG.

    At least, following the error occurred, verify existence of all directories specified in /etc/psa/psa.conf.