Jump to content
Froxlor Forum
  • 0
willydee

Imported customers/domains ? how to recreate directories?

Question

Hello all,

 

I'm about to migrate a rather large server from a SysCP installation on Debian 6 to froxlor on Ubuntu 15. Most of the database content could be dropped, except the core tables: customers, domains, mailboxes, etc. For that purpose, I've written an SQL script to transform the data I need to migrate. Works well so far. But one issue remains: is it possible to trigger the recreation of all the directories in /var/customer/(webs|mail|tmp)/? Copying all of it over from the old server would work, but ownership would need to be set manually, which is tedious at best, error prone at worst. 

Suggestions?

 

Best regards,

willydee

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

transfer the WHOLE froxlor database (if you do not intend to transfer customer-databases, you can empty the table panel_databases), permission stuff for the filesystem is all in there (uid/gid). Then use rsync with archive parameter to transfer the old data, which preserves permissions and ownership. 

Share this post


Link to post
Share on other sites
  • 0

There is no Froxlor database to transfer; as I've said, it's a SysCP managed host. The file system layout is much different, as is the database structure.

Share this post


Link to post
Share on other sites
  • 0

So upgrade syscp to froxlor then... You'd need an older froxlor for this though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By clusterx
      ich habe hier 2 Fragen wegen einer Migration:
      - ist es möglich aus einem anderen Panel die User Datenbanken direkt (PMA oder shell) in die froxlor DB zu importieren um die vorigen Datenbanknamen beizubehalten (also ohne Prefix)?
      - können die zugehörigen alten Mysql User auch direkt in die Mysql DB importiert werden (altes Panel verwendet keine DB Klartext Passwörter)?
      die weiteren Imports könnte ich über die API machen, danach müssten dann die Systemconfigs neu generieert werden ...
    • By v3ng
      Hallo, 
       
      Ich m?chte wegen einiger DDos Probleme den Hoster meines KVM Server?s wechseln.
       
      Nun ist die Frage, wie ich mit m?glichst wenig Aufwand alle Daten des alten Servers auf den neue bekomme. Dazu z?hlen Kunden, inklusive dessen Datenbanken,FTP/Mailkonten usw. 
      Folgende Software wird auf dem alten Server eingesetzt: 
      Debian 7 Apache 2.2 PHP 5.5 MySQL 5.5 FCGID Auf dem neuen Server soll bis auf Debian 8 ( Dadurch neuere Apache, MySQL und PHP Version) das selbe laufen. 
       
       
×
×
  • Create New...