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

how to recover file from /old/ directory

Discussion in 'Plesk for Linux - 8.x and Older' started by make, Sep 5, 2005.

  1. make

    make Guest

    0
     
    I have click on "Reinstall VPS" and all the file and Plesk licene has move to /old/ directory and give me the new PLESK

    I would like to know that is there have a way to restore it back like before ?

    can i just copy everything back?
     
  2. ashleym

    ashleym Guest

    0
     
    I had the same thing happen to me.

    The only way I was able to restore everything was to manually setup all of my domains with the pervious settings (db, mail, etc) and then copy the contains from the /old/ directory to the new directory.

    Website:
    Copy: /old/home/httpd/vhosts/domain.com
    To: /home/httpd/vhosts

    Database:
    Copy: /old/var/lib/mysql/domain
    To: /var/lib/mysql

    Took me a few hours to do this, but everything is basically back to normal.
     
  3. make

    make Guest

    0
     
    what about mail account ?

    and all SSL licene ?

    OMG!
     
  4. ashleym

    ashleym Guest

    0
     
    I didn't bother trying to retrieve my emails because they're all downloaded to Outlook. However, I was able to get my ssl certificates.

    You can find them here:
    /old/usr/local/psa/var/certificates

    Unfortunately, they aren't clearly named. You might be able to find out which is which from the file's timestamp.

    To set them up, I added a new cert to Plesk and used the contents from the files located in the above directory. It's a trail/error process, but in the end it worked.
     
  5. asterroid

    asterroid Guest

    0
     
    Greetings to all!

    ashleym it is necessary to put a monument for radical decisions of problems ;). 3 days ago has faced a problem, VE + Plesk 8.1.1 began to brake strongly, sites have ceased to show at the minimal inquiries :( :

    # netstat-na|grep ESTABLISHED|grep ":80" |wc-l

    # usr/sbin/lsof-i | grep-i httpd

    2 - 100

    # usr/sbin/lsof-i | grep-i httpd

    Assumed that DOS attack :confused: , it has appeared, no!
    Tried to roll away VE on previous backup, earlier VE had not significant problems after Migration between VE nodes, it has not helped.

    Looked through KnowledgeBase and Forums on the decision of a problem, has paid attention on

    # vzctl recover 101

    # vzctl reinstall 101

    During work # vzctl recover 101 there was a constant mistake that is not present user and group psaadm as a result was used root, that has led to a mistake in access to all functions Plesk after work of a command.

    Has returned backup Further has made, as advises ashleym

    # vzctl reinstall 101

    Then

    Website:

    Copy:/old/home/httpd/vhosts

    To:/home/httpd/vhosts

    Database:

    Copy:/old/var/lib/mysql

    To:/var/lib/mysql

    Certificates:

    Copy:/old/usr/local/psa/var/certificates

    To:/usr/local/psa/var/certificates

    Has added

    Qmail:

    Copy:/old/var/qmail

    To:/var/qmail

    DNS:

    Copy:/old/var/named

    To:/var/named

    Works correctly!!!
     
Loading...