ispCP - Board - Support
Import/Export function - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: Import/Export function (/thread-5351.html)



Import/Export function - DiXeoN - 01-05-2009 11:14 PM

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.


RE: Import/Export function - RatS - 01-06-2009 10:52 PM

No, because, how can we import a user? a user is: e-mail adresses, e-mails, domains, webcontent, logs, dns entry, http entry, etc.


RE: Import/Export function - DiXeoN - 01-06-2009 10:54 PM

yes? And those are saved somewhere at the server?

Just exporting it all to one file that ISPCP understands?


RE: Import/Export function - BeNe - 01-07-2009 01:02 AM

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


RE: Import/Export function - kilburn - 01-11-2009 10:10 PM

bene Wrote:And why do you want to have such a feature ?

Per-domain migration between ispcp servers Wink


RE: Import/Export function - DiXeoN - 01-11-2009 11:23 PM

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.


RE: Import/Export function - sirtech - 11-11-2009 10:30 AM

(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