Current time: 11-23-2024, 12:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HOWTO] Backup and Restore complete Domain
Author Message
yog512 Offline
Junior Member
*

Posts: 18
Joined: Jul 2009
Reputation: 0
Post: #41
RE: [HOWTO] Backup and Restore complete Domain
Hi,
i´m using ispcp 1.0.7rc2 on a "Ubuntu 10.04.1 LTS" System.
I got following error when i try to backup or restore...:

Fatal error: Class 'Config' not found in /var/www/ispcp/backup-restore/includes/boot.php on line 12
It seems that it is a php problem, am i right?
10-27-2010 07:00 PM
Find all posts by this user Quote this message in a reply
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #42
RE: [HOWTO] Backup and Restore complete Domain
(10-27-2010 07:00 PM)yog512 Wrote:  Hi,
i´m using ispcp 1.0.7rc2 on a "Ubuntu 10.04.1 LTS" System.
I got following error when i try to backup or restore...:

Fatal error: Class 'Config' not found in /var/www/ispcp/backup-restore/includes/boot.php on line 12
It seems that it is a php problem, am i right?

Since 1.0.6 please use backup-restore from the "contrib" folder.
11-01-2010 08:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
yog512 Offline
Junior Member
*

Posts: 18
Joined: Jul 2009
Reputation: 0
Post: #43
RE: [HOWTO] Backup and Restore complete Domain
(11-01-2010 08:51 PM)tomdooley Wrote:  Since 1.0.6 please use backup-restore from the "contrib" folder.

Hello,
where can i find this folder? I´ve searched in var/www/ispcp but not found...
11-02-2010 01:48 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #44
RE: [HOWTO] Backup and Restore complete Domain
(11-02-2010 01:48 AM)yog512 Wrote:  
(11-01-2010 08:51 PM)tomdooley Wrote:  Since 1.0.6 please use backup-restore from the "contrib" folder.

Hello,
where can i find this folder? I´ve searched in var/www/ispcp but not found...

On ispcp archive Wink
11-02-2010 02:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
yog512 Offline
Junior Member
*

Posts: 18
Joined: Jul 2009
Reputation: 0
Post: #45
RE: [HOWTO] Backup and Restore complete Domain
thanx a lot :-)
11-02-2010 08:27 AM
Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #46
RE: [HOWTO] Backup and Restore complete Domain
(11-02-2010 02:31 AM)sci2tech Wrote:  
(11-02-2010 01:48 AM)yog512 Wrote:  
(11-01-2010 08:51 PM)tomdooley Wrote:  Since 1.0.6 please use backup-restore from the "contrib" folder.

Hello,
where can i find this folder? I´ve searched in var/www/ispcp but not found...

On ispcp archive Wink

in ispcp archive i have only

ispcp-omega-1.0.6/contrib# ls -asl
total 16K
4.0K drwxr-xr-x 2 root root 4.0K 2010-08-04 17:23 .
4.0K drwxr-xr-x 11 root root 4.0K 2010-11-02 12:17 ..
4.0K -rw-r--r-- 1 root root 2.3K 2010-01-06 21:30 check-perl-modules
4.0K -rw-r--r-- 1 root root 1.7K 2010-01-06 21:30 copy-errordocs.sh
11-02-2010 09:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #47
RE: [HOWTO] Backup and Restore complete Domain
use the one from trunk: http://isp-control.net/ispcp/browser/trunk/contrib
11-02-2010 10:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
xtc007 Offline
Junior Member
*

Posts: 26
Joined: Dec 2009
Reputation: 0
Post: #48
RE: [HOWTO] Backup and Restore complete Domain
(06-29-2010 03:37 PM)petzsch Wrote:  Actually your mails aren't stroed binary. They are plaintext stored in Maildir structures in /var/mail/virtual/domain.tld/emailuser

But still I prefer to do that manually. Use backup-restore, change dns setting and after the dns changes are active, rsync the old mails in the new mailbox.

Can you tell me the way to resync the mailbox?

thanks
11-27-2010 01:08 AM
Find all posts by this user Quote this message in a reply
tomdooley Offline
Development Team
*****
Dev Team

Posts: 332
Joined: Sep 2007
Reputation: 7
Post: #49
RE: [HOWTO] Backup and Restore complete Domain
I think it's a good way to rsync /var/spool/ail after restoring the domain. But take care that changes in DNS can last up to 24 hours.

Perhaps it would be a better (safer) way to synchronize the old folders into the new mail folder via IMAP sync (google imapsync) 24 hours after DNS changes.
11-27-2010 03:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
xtc007 Offline
Junior Member
*

Posts: 26
Joined: Dec 2009
Reputation: 0
Post: #50
RE: [HOWTO] Backup and Restore complete Domain
i run my own nameserver, it's faster than the simple bind9 on the web server...

i run my nsa and nsb separatly, i change my dns and they are active very fast, i use 5 tools to resolve with different isp and my update can be active in less than 20 minutes...

at this time i have modify the main.cf of postfix on the old server to not check aliase and domain for local delivery and connected with webmail transfert one email by one for my most important but i don't want to do that for each...

i have check a simple copy paste but i must edit the text database in the posfix user inbox, it not much faster i don't have try

i will give a try about your solution and keep you informed...

by the way, a very BIG THANK YOU about your backup script, i have migrate from 1.0.3 to 1.0.6 very fast


i read about imapsync but i must have the password of the email to transfert... the problem it's i have client on this server and i didn't have their password... the reason why i have check a simple copy paste... because i will never finish the migration!

any other option? i continue to read about
(This post was last modified: 11-27-2010 12:12 PM by xtc007.)
11-27-2010 12:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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