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 Restore

Discussion in 'Plesk for Linux - 8.x and Older' started by WH7702, Mar 30, 2006.

  1. WH7702

    WH7702 Guest

    0
     
    Restoring Data From Backup Archives

    To restore the server configuration and all user data from a backup file:

    1 Log in as root to your server.

    2 Change to the directory, where Plesk is installed:
    cd /plesk_installation_directory/

    3 Run the following command:
    ./pleskrestore --all <filename>

    Where the <filename> is the path to backup file name. The data will be restored without disruption of hosting services and downtime. The server configuration settings and all user data (including the content of Web sites and messages in mailboxes) will be overwritten.



    [root@localhost bin]# ./pleskrestore --all /root/plesk8-fullbackup-032906.psa
    Unknown command: "--all"


    Am I reading something wrong here?
     
  2. Bartoc

    Bartoc Guest

    0
     
    It should be

    ./pleskrestore --restore --all <filename>

    Appears to be an error in the documentation.
     
  3. Yujibey

    Yujibey Guest

    0
     
    Help me

    [root@lin1 bin]# ./pleskrestore --restore --all 2006-03-29
    backup file is not readable
    [root@lin1 bin]#
    what must I do?
     
  4. Highland

    Highland Guest

    0
     
    do a ls -la on your backup file. See if everyone has read permissions. If not, do a chmod 644 on it. See if that works
     
  5. Yujibey

    Yujibey Guest

    0
     
    [root@lin1 bin]# ./pleskrestore --restore --all 2006-03-29
    backup file is not readable
    [root@lin1 bin]#

    fared ill

    WHEREWITH AMELIORATIVE?
     
  6. nb__

    nb__ Guest

    0
     
    Run psa_install_dir/bin/pleskrestore --help.
    First, create map file from backup
    Second, run pleskrestore to restore your backup file.
    Note, old backup files are not supported.
    Note 2: Use correct file path for pleskrestore.
     
  7. WH7702

    WH7702 Guest

    0
     

    I'm not sure I understand...

    Can you give us some example lines? I've tried several way to get it working with no luck. File permissions are 777.

    Always seem to get:

    backup file is not readable


    Backup was created using and running plesk 8:

    ./pleskbackup --all /root/plesk8-fullbackup-032906.psa
     
  8. Yujibey

    Yujibey Guest

    0
     
    [root@lin1 bin]# ./pleskrestore --all 2006-03-29
    Unknown command: "--all"

    [root@lin1 bin]#

    [root@lin1 bin]# ./pleskrestore --restore --all 2006-03-29
    backup file is not readable
    [root@lin1 bin]#

    FARED ILL

    HELP MEEEEE
     
  9. Bartoc

    Bartoc Guest

    0
     
    I've been trying to restore a Plesk 7.5.4 backup that didnt upgrade to Plesk 8.0 properly all day.

    I've come to the conclusion that Plesk 7.5.4 backups are not compatible with Plesk 8.0 even though on http://www.swsoft.com/en/products/plesk8/new/

    it is stated :
     
  10. Yujibey

    Yujibey Guest

    0
     
    how can ı do this?can you say me?
     
  11. Bartoc

    Bartoc Guest

    0
     
    Yujibey : I do not think it is possible just now. Sorry, I am trying aswell.
     
  12. Yujibey

    Yujibey Guest

    0
     
    ıf ı will set up plesk 7,5,4 on this,and ı will restore,which problems will be happen?
     
  13. Highland

    Highland Guest

    0
     
    I've heard from other users that 8.0 won't read 7.5.4 backups.
     
  14. nb__

    nb__ Guest

    0
     
    Sample restoration routine:

    /usr/local/psa/bin/pleskbackup --all BACKUP
    /usr/local/psa/bin/pleskrestore --create-map BACKUP -map MAP
    /usr/local/psa/bin/pleskrestore --restore BACKUP -map MAP -level all

    Do not forget to read pleskrestore help
     
  15. Yujibey

    Yujibey Guest

    0
     
    [root@lin1 bin]# .//pleskrestore --create-map 2006-03-29 -map MAP
    Traceback (most recent call last):
    File "/usr/local/psa/admin/share/supervisor/processor.py", line 114, in doActivityRunner
    newState = self.doActivity()
    File "/usr/local/psa/admin/share/supervisor/processor.py", line 297, in doActivity
    self.session.getConvertedDumpFileName())
    File "/usr/local/psa/admin/lib/python/streaming_extractor.py", line 35, in __init__
    raise NotAMimeError()
    NotAMimeError: Supplied file is not in proper format

    [root@lin1 bin]# ./pleskrestore --restore 2006-03-29 map MAP -level all
    Can't recognize option 'map'

    [root@lin1 bin]# ./pleskrestore --restore 2006-03-29 -map MAP -level all
    Unable to read map file MAP
    [root@lin1 bin]#
     
  16. WH7702

    WH7702 Guest

    0
     

    I did read it! Perhaps there are hidden messages that I am not seeing?

    I did get it working though thanks to your example.

    Thank you!
     
  17. nb__

    nb__ Guest

    0
     
    `2006-03-29` -- what is this? Backup from previous BU? Directory? Tell `file 2006-03-29`, plz.
     
  18. jovana

    jovana Regular Pleskian

    25
    57%
    Joined:
    May 31, 2006
    Messages:
    114
    Likes Received:
    0
    Location:
    Haarlem
    I have same problems, Plesk 7.5.4 won't restore on the plesk 8.0.1 installation. I can't find any information how to restore.
     
  19. lainard

    lainard Guest

    0
     


    I did such the same and i have no error
    But the website file are not available

    all restored email

    the problem

    website files is gone
    database created but Table and data empty

    Why is that

    anyone could help please
     
  20. 0031

    0031 Guest

    0
     
    > Plesk 7.5.4 won't restore on the plesk 8.0.1
    > installation.

    Backup Manager in Plesk 8.0 may backup any Plesk version, but can't restore backups made by Plesk 7.5.4 BU :(
     
Loading...