Current time: 02-17-2025, 08:43 AM Hello There, Guest! (LoginRegister)


Post Reply 
[HOWTO] Backup and Restore complete Domain
Author Message
KillerPenguin Offline
Newbie
*

Posts: 7
Joined: May 2007
Reputation: 0
Post: #71
RE: [HOWTO] Backup and Restore complete Domain
(08-18-2011 09:22 PM)pstanbra Wrote:  Doesn't work for me ...

PHP Fatal error: Class 'Config' not found in /var/www/ispcp/backup-restore/includes/boot.php on line 12

In ispCP 1.0.7 some class declarations changed so I think backup-restore can not run in 1.0.7 anymore.

I hope there will be a new version of backup-restore in the future! :roll eyes:


EDIT:
Very easy!
Only the names of a few classes have changed so it is easy to edit the files.
Class Config changed to ispCP_Config and class Database changed to ispCP_Database.

So the backup.php is working for me now. I will transfer the gpgs to the new server now and will try to restore there.
Bad news: restore does not work

I changed a few class names so that restore.php runs without declaration errors but now the error

Code:
Cannot insert admin database entry!

occurs.

D'OH!

There was simply a duplicate entry in the database!
I've run restore.php a few times until I've found all declaration errors so the database entry was already created.

The backup and restore of a simple domain with only a few eMail addresses worked fine.
In the next step I'll try to migrate a "bigger" domain with files in /htdocs and ftp accounts.
(This post was last modified: 03-18-2012 07:36 PM by KillerPenguin.)
03-18-2012 06:50 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [HOWTO] Backup and Restore complete Domain - Nuxwin - 06-17-2010, 03:00 AM
RE: [HOWTO] Backup and Restore complete Domain - KillerPenguin - 03-18-2012 06:50 PM

Forum Jump:


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