Current time: 11-27-2024, 06:13 AM 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: #11
RE: [HOWTO] Backup and Restore complete Domain
Yes, I know. There are some problems setting the correct owner for all created/restored files. I'll have a look at the weekend to let the daemon do this job the correct way.
04-23-2010 03:13 AM
Visit this user's website Find all posts by this user Quote this message in a reply
KillerPenguin Offline
Newbie
*

Posts: 7
Joined: May 2007
Reputation: 0
Post: #12
RE: [HOWTO] Backup and Restore complete Domain
Great work!

A few minutes ago I moved a domain from one server to another. It really works fine.
So I have to make a suggestion: What about copying the files

/var/cache/awstats/*domain*
/var/mail/virtual/DOMAIN

into the archive?
In this case the statistics and the content of the mailboxes are migrated at the same time and they wouldn't be forgotten.

Thanks!
Andi
04-24-2010 07:13 PM
Find all posts by this user Quote this message in a reply
petzsch Offline
Junior Member
*

Posts: 43
Joined: Mar 2007
Reputation: 1
Post: #13
RE: [HOWTO] Backup and Restore complete Domain
I'm currently consolidating servers and would like to know if this tool works with 1.0.5? Also: Do I need to upgrade my VHCS Servers to ISPcp bevore I can export users from there or is that supported as well?
05-03-2010 03:47 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: #14
RE: [HOWTO] Backup and Restore complete Domain
Currently there are some problems restoring on 1.0.5 which can be solved manual (chown/chmod on php-fcgi-starters). Didn't get the time yet to solve this issue.

The database structure must be at least ispCP 1.0.0.
05-03-2010 03:52 AM
Visit this user's website Find all posts by this user Quote this message in a reply
iRaS Offline
Junior Member
*

Posts: 13
Joined: Mar 2009
Reputation: 0
Post: #15
RE: [HOWTO] Backup and Restore complete Domain
It works great, even for backups from 1.0.0 and restore to 1.0.5. Many thanks, for this solution.

A special host specification (for example @all) would be fine that backups all hosts or restore all hosts.

Best regards
Thomas
05-03-2010 09:12 PM
Find all posts by this user Quote this message in a reply
dashan Offline
Junior Member
*

Posts: 13
Joined: May 2010
Reputation: 0
Post: #16
RE: [HOWTO] Backup and Restore complete Domain
svn export http://www.isp-control.net/ispcp_svn/bra...up-restore


svn: PROPFIND request failed on '/ispcp_svn/branches/backup-restore'
svn: PROPFIND of '/ispcp_svn/branches/backup-restore': 301 Moved Permanently (http://www.isp-control.net)
(This post was last modified: 05-14-2010 07:55 PM by dashan.)
05-14-2010 07:54 PM
Find all posts by this user Quote this message in a reply
TheCry Away
Member
***

Posts: 851
Joined: Oct 2008
Reputation: 21
Post: #17
RE: [HOWTO] Backup and Restore complete Domain
(05-14-2010 07:54 PM)dashan Wrote:  svn export http://www.isp-control.net/ispcp_svn/bra...up-restore


svn: PROPFIND request failed on '/ispcp_svn/branches/backup-restore'
svn: PROPFIND of '/ispcp_svn/branches/backup-restore': 301 Moved Permanently (http://www.isp-control.net)
Use
Code:
svn export http://www.isp-control.net:800/ispcp_svn/branches/backup-restore
05-15-2010 12:10 AM
Find all posts by this user Quote this message in a reply
dashan Offline
Junior Member
*

Posts: 13
Joined: May 2010
Reputation: 0
Post: #18
RE: [HOWTO] Backup and Restore complete Domain
tks!

best regards!
In v1.0.5, I have a backup, I moved a domain and a database, but in the restore process, the normal recovery domain, but the database can not be restored.

tks!
(This post was last modified: 05-18-2010 05:30 PM by dashan.)
05-18-2010 04:59 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: #19
RE: [HOWTO] Backup and Restore complete Domain
(05-18-2010 04:59 PM)dashan Wrote:  In v1.0.5, I have a backup, I moved a domain and a database, but in the restore process, the normal recovery domain, but the database can not be restored.

Can you tell me about the names? Any special characters in the database names or database user names? Does

Code:
php restore.php -v DOMAIN PASSWORD

give you any error informations?
05-19-2010 11:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
petzsch Offline
Junior Member
*

Posts: 43
Joined: Mar 2007
Reputation: 1
Post: #20
RE: [HOWTO] Backup and Restore complete Domain
I think i've discovered a bug: users created by the restore script can't change their language. If i change it to german for instance and click save, the next page is in german, but after klicking on another page it will turn back to englisch. I think the problem is related to missing user_gui_props entries in the ispCP table for those users. The Update Querry from the client gui will fail on non-existent entries.
05-24-2010 10:12 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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