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

Backing up and restoring a domain

Discussion in 'Plesk for Linux - 8.x and Older' started by nandar, Jun 28, 2007.

  1. nandar

    nandar Guest

    0
     
    Hi,

    If I backup a domain from Plesk control panel, will it also backup my database and mailboxes?

    If I want to restore it to my another plesk server (same Plesk version), what will be the restore procedure?

    Thanks.
     
  2. nandar

    nandar Guest

    0
     
    Here is the answer for my question.

    I used command line to backup/restore so that I can see what is going on. Here are the steps.

    1) backup the domain

    #pleskbackup -v domains yourdomainname.com backupfilename.bkp

    2) Then create a map file

    #pleskrestore --create-map backupfilename.bkp -map yourmapfilename

    map file should be like that below. if not, edit it.

    ++++++++++++++++++++++++++++++++++++++++++++++++++

    [thisdomain'sclientname] # Client account name

    yourdomainname.com 11.22.33.44 # IP address
    mysql::mad:localhost:3306

    ++++++++++++++++++++++++++++++++++++++++++++++++++

    Then you can restore it with the following command.

    #pleskrestore --restore backupfilename.bkp -level domains -map yourmapfilename

    This backup will back up everything including mailboxes and database.
     
Loading...