Copying profiles
The copy page at /admin/profiles/copy calls CopyProfile to clone a source
profile’s structure into a target profile. It is profile-scoped, so it is
entered from the admin panel with ?profile=<name> and drops any table from
the selection.
The form
Section titled “The form”profile— the source profile;target_profile_name— the profile to copy into (required);table_names— optionally, the tables to copy.
Leaving table_names empty copies the whole profile, which is what the
backend takes an empty list to mean. All tables are offered as copy sources,
including system tables, because CopyProfile copies structure and a system
table is structure too.
The result
Section titled “The result”On success the page reports the backend’s message together with the counts:
<message> — <n> table(s) and <m> script(s) copied.The form then resets, keeping the source profile selected. A refusal answers
422 with the backend’s message.