Jump to content
Froxlor Forum
  • 0

Imported customers/domains ? how to recreate directories?


willydee

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...