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


Post Reply 
Import/Export function
Author Message
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #1
Import/Export function
Hello..

I think that it would be nice to have en Import/Export function to import/export all users, domains, databases, files and such.. Just.. Everything Smile

So.. Is this on the roadmap?


Greetings.
01-05-2009 11:14 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #2
RE: Import/Export function
No, because, how can we import a user? a user is: e-mail adresses, e-mails, domains, webcontent, logs, dns entry, http entry, etc.
01-06-2009 10:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #3
RE: Import/Export function
yes? And those are saved somewhere at the server?

Just exporting it all to one file that ISPCP understands?
01-06-2009 10:54 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Import/Export function
Quote:And those are saved somewhere at the server?
In the DB and on your HDD under the ispcp default folder.
/var/www/virtual/
/var/mail/virtual/
/etc/$service
...
...

And why do you want to have such a feature ?
A FullBackup a the Server make more sense in my eyes.

Greez BeNe
01-07-2009 01:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #5
RE: Import/Export function
bene Wrote:And why do you want to have such a feature ?

Per-domain migration between ispcp servers Wink
01-11-2009 10:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #6
RE: Import/Export function
I wrote, that i wanted a full server backup, with all domains and such.. Not just one domain Smile

But yes, to make migration a lot easier.
01-11-2009 11:23 PM
Find all posts by this user Quote this message in a reply
sirtech Offline


Posts: 1
Joined: Nov 2009
Reputation: 0
Post: #7
RE: Import/Export function
(01-11-2009 10:10 PM)kilburn Wrote:  
bene Wrote:And why do you want to have such a feature ?

Per-domain migration between ispcp servers Wink

Yes, I needed per-domain migration also. I thought it would appear as an extension before it got urgent enough for me, but it didn't, so I made some Perl scrips to do it for me.

One script will export the SQL and file system components, and the other will re-import it to another ISPCP instance.

The export script is quite harmless, but the import script WILL overwrite file system and database data. I wouldn't recommend using this if you can't read Perl to verify the operations of the script. The code is not especially complex though. Hopefully it will make a nice template for some other sys admin out there though.

James


Attached File(s)
.zip  ispcp_import_export.zip (Size: 4.85 KB / Downloads: 74)
11-11-2009 10:30 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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