Current time: 11-23-2024, 08:03 AM Hello There, Guest! (LoginRegister)


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

Posts: 26
Joined: Dec 2009
Reputation: 0
Post: #51
RE: [HOWTO] Backup and Restore complete Domain
Hello again,


All email forwarding don't work, any idea about?

rebuild command? else i delete and recreate email forward

every default email must be rebuild, any idea?
11-28-2010 08:27 AM
Find all posts by this user Quote this message in a reply
xtc007 Offline
Junior Member
*

Posts: 26
Joined: Dec 2009
Reputation: 0
Post: #52
RE: [HOWTO] Backup and Restore complete Domain
(11-28-2010 08:27 AM)xtc007 Wrote:  Hello again,


All email forwarding don't work, any idea about?

rebuild command? else i delete and recreate email forward

every default email must be rebuild, any idea?

I have fixed my email forwarding problem

http://isp-control.net/documentation/how...ate_config

my forwarding are working now

i think i will leave my old email on the old server, moving email to the new server seems to be more hard than expected
11-28-2010 09:49 AM
Find all posts by this user Quote this message in a reply
xtc007 Offline
Junior Member
*

Posts: 26
Joined: Dec 2009
Reputation: 0
Post: #53
RE: [HOWTO] Backup and Restore complete Domain
Sorry to ask again but i'm not very experienced with linux i'm doing maintenance on it, configuration but i'dont have gained the intermediate stage!

did you know if a good tutorial is available about rsync

i finded few thing on google, but don't know how it work and i don't want to scrap my new installation
11-28-2010 10:50 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: #54
RE: [HOWTO] Backup and Restore complete Domain
I also did more than one migration with this tool, and email forwarding wasn't a problem. Perhaps there is an existing (wrong) email account? Perhaps you have to enable DEBUG in /etc/ispcp/ispcp.conf and have a look into the log files stored at /var/log/ispcp

About rsync... I don't have a tutorial. But it should be simple.
11-28-2010 07:43 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: #55
RE: [HOWTO] Backup and Restore complete Domain
After migration

All email forwading status have the status ok and if i send an email on it my ASSP log show me the reception like normal but never receiving the test email

a bad email? don't know but the old server if on a raid 5 with ext3 fs
when one drive have been lost the raid doesn't have do the job and i have do a lot of scan to rebuilt the fs to be able to run the server while the migration

many function of debian are scrap like the window style of gnome
the terminal in gui mode and many other!

the iscp installation doesn't accept to add or remove domain

as you can se the migration aren't just to be funny and possibly some setting can be wrong but i don't have activated the debug
i't s a possible reason

rsync are used under many circumstance, it seem to be simple but under production server i'm more nervous... Under windows i do everything with my server but with Linux i'm less willing to try everything
(This post was last modified: 11-29-2010 01:46 AM by xtc007.)
11-29-2010 01:35 AM
Find all posts by this user Quote this message in a reply
malloc Offline
Junior Member
*

Posts: 14
Joined: Apr 2008
Reputation: 1
Post: #56
RE: [HOWTO] Backup and Restore complete Domain
Hi,

we moved some domains from v1.0.2 to v1.0.7. This worked fine and Im happy about this tool.

So what I need now is to know which data still must be migrated and how to do that:

- /var/mail/virtual ?
- /var/cache/awstats ?
- /var/log/apache2 & /var/log/apache2/users ?
- /var/www/virtual/DOMAIN/logs/ ?
- /var/www/fcgi ? (php.ini files?)
- which logs are need by awstats?
- ispcp traffic counter / stats in the web-interface?
- what else is missing?

Best regards,

maLLoc
(This post was last modified: 01-15-2011 09:57 PM by malloc.)
01-15-2011 02:01 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: #57
RE: [HOWTO] Backup and Restore complete Domain
Hi malloc,

you're right with your list options (I think it's complete?). This backup-restore script was willfully designed not to transport logs, mails, statistics and PHP-specific settings because of other, changed or new options/formats in distribution and/or ispcp version.

Greetz
Thomas
01-15-2011 09:12 PM
Visit this user's website Find all posts by this user Quote this message in a reply
malloc Offline
Junior Member
*

Posts: 14
Joined: Apr 2008
Reputation: 1
Post: #58
RE: [HOWTO] Backup and Restore complete Domain
Hi Thomas,

OK, hoping the list ist complete, what about the how-to?

Mail:
Just copy/rsync /var/mail/virtual/DOMAIN an change user/group?

awStats:
Just copy /var/cache/awstats/DOMAIN.*?

Apache-Logs:
Just copy /var/log/apache2/DOMAIN.*, /var/log/apache2/users/DOMAIN.* & /var/www/virtual/DOMAIN/logs/ and change user/group?

ispCP-Traffic-Counter:
Guessing they are in the database? Any idea how to get them migrated? Guessing would very nice if its done by your script, because you already did all needs (database connection, resolving ids, etc...) - anythink else are file-based operations, which anybody should can do.

PHP.ini:
Just reviewing and editing /var/www/fcgi/DOMAIN/*/php.ini - OK. Are there any other DOMAIN-specific settings in some files around not migrated by your script?

Regards
maLLoc
(This post was last modified: 01-15-2011 10:01 PM by malloc.)
01-15-2011 09:56 PM
Find all posts by this user Quote this message in a reply
T0mcat Offline
Junior Member
*

Posts: 47
Joined: Feb 2007
Reputation: 0
Post: #59
RE: [HOWTO] Backup and Restore complete Domain
Hi, I need to move ispcp over to my new server.

When trying to get the backup-restore, i get this error :
Code:
root@admin:/var/www/ispcp # svn export http://isp-control.net/ispcp/browser/trunk/contrib/backup-restore
svn: XML data was not well-formed
root@admin:/var/www/ispcp #

On the server with Debian Squeezy :
Code:
root@***:/var/www/ispcp # svn export http://isp-control.net/ispcp/browser/trunk/contrib/backup-restore
svn: The OPTIONS response did not include the requested activity-collection-set; this often means that the URL is not WebDAV-enabled

Any hint how to solve this ?
02-11-2011 03:06 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: #60
RE: [HOWTO] Backup and Restore complete Domain
please use port 800 and the correct path

Code:
svn export http://isp-control.net:800/ispcp_svn/branches/backup-restore

for newer versions of ispCP backup-restore should be already existent in "contrib" folder. if not export necessary files via

Code:
svn export http://isp-control.net:800/ispcp_svn/trunk/contrib/backup-restore
(This post was last modified: 02-13-2011 01:30 AM by tomdooley.)
02-13-2011 01:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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