Current time: 06-04-2025, 01:02 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HOWTO] Backup and Restore complete Domain
Author Message
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #1
[HOWTO] Backup and Restore complete Domain
Hello!

I want to introduce a new migration tool for ispCP, escpecially for moving a domain from one machine to another. The usage is very simple.

What you need:
* A working ispCP release (I've currently only tested with 1.0.3) on both machines
* At least one reseller on the target machine
* GNU privacy guard signature verification tool (aptitude install gpgv)

Source machine:

Code:
cd /var/www/ispcp
svn export http://www.isp-control.net:800/ispcp_svn/branches/backup-restore
cd backup-restore
php backup.php DOMAIN PASSWORD

Then copy the file DOMAIN.tar.gz.gpg under /var/www/ispcp/backup-restore/archive to the target server.

Restore at target server:

Code:
cd /var/www/ispcp
svn export http://www.isp-control.net:800/ispcp_svn/branches/backup-restore
cd backup-restore
php restore.php DOMAIN PASSWORD

You can get the command line help via "php restore.php" or "php backup.php"

Currently the following parts of a domain can be migrated:

* Domain data, Administration login
* FTP users
* E-Mail
* Databases, users and of course the database contents itself
* Complete /var/www/virtual/DOMAIN path

Restore of DNS settings is currently not integrated. You can set a specific IP or reseller name (login) in the restore process. If you get any errors, please don't create a ticket, because it's currently not officially part of ispCP. Use the forum to give feedback :-)

@aseques: Perhaps we can use your work to complete the new tool? Perhaps for a "one-click" Plesk migration and other panels?
(This post was last modified: 06-17-2010 07:45 PM by BeNe.)
02-21-2010 10:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[HOWTO] Backup and Restore complete Domain - tomdooley - 02-21-2010 10:06 PM
RE: [HOWTO] Backup and Restore complete Domain - Nuxwin - 06-17-2010, 03:00 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)