Closed (fixed)
Project:
Domain
Version:
6.x-2.1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2010 at 06:20 UTC
Updated:
1 Mar 2010 at 01:08 UTC
Hi,
Is it possible if in the future I would like to separate one of the subdomains into 'standalone' domain,
but keeps the user, content and file from one particular subdomain?
Any idea how to do this?
Thanks
Comments
Comment #1
agentrickardYou would clone the database, and then write a custom script to:
-- Find all nodes _not_ assigned to 'all affiliates' or to the subdomain.
-- Delete those nodes, using node_delete().
Then uninstall Domain Access and all its submodules.
Your query for part 1 would be something like so, assuming we want to save domain 4.
You can do something similar to users by looking in the {domain_editor} table. There is nothing to do about files, which are not separated per domain.
See section 7 of README.txt for developer notes (including schema definitions).
Comment #2
agentrickard