ispCP - Board - Support
[HOWTO] Backup and Restore complete Domain - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HOWTO] Backup and Restore complete Domain (/thread-9699.html)

Pages: 1 2 3 4 5 6 7 8


RE: [HOWTO] Backup and Restore complete Domain - yog512 - 10-27-2010 07:00 PM

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?


RE: [HOWTO] Backup and Restore complete Domain - tomdooley - 11-01-2010 08:51 PM

(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.


RE: [HOWTO] Backup and Restore complete Domain - yog512 - 11-02-2010 01:48 AM

(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...


RE: [HOWTO] Backup and Restore complete Domain - sci2tech - 11-02-2010 02:31 AM

(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


RE: [HOWTO] Backup and Restore complete Domain - yog512 - 11-02-2010 08:27 AM

thanx a lot :-)


RE: [HOWTO] Backup and Restore complete Domain - theprincy - 11-02-2010 09:44 PM

(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


RE: [HOWTO] Backup and Restore complete Domain - sci2tech - 11-02-2010 10:56 PM

use the one from trunk: http://isp-control.net/ispcp/browser/trunk/contrib


RE: [HOWTO] Backup and Restore complete Domain - xtc007 - 11-27-2010 01:08 AM

(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


RE: [HOWTO] Backup and Restore complete Domain - tomdooley - 11-27-2010 03:31 AM

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.


RE: [HOWTO] Backup and Restore complete Domain - xtc007 - 11-27-2010 12:01 PM

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