Transfer Content Between Environments
An environment transfer copies one environment’s content into another environment of the same Website. It is one operation in both directions; the interface names it after where the content lands.
- Clone fills an environment that has never held content.
- Sync refreshes a non-production environment, usually from production.
- Promote sends a non-production environment’s content to production.
Transfers are available on WordPress, Static HTML, Node.js, PHP, and TMX CMS Websites. Both environments must be hosted by TMXIO and belong to the same Website. Production, staging, and development can each be a source or destination.
For Node.js, follow Transfer a Node.js release. Managed database copy controls are available for production-to-staging or production-to-development transfers on WordPress, PHP, and Node.js. They are optional for later transfers and do not appear for Static HTML or TMX CMS.
Copy a Hosted TMX CMS environment
Section titled “Copy a Hosted TMX CMS environment”Manual CMS transfers, including scoped copies and initialization retries, require passkey verification. A recent verification may be reused under the existing session policy; otherwise you are prompted before the transfer starts.
Creating staging or development automatically provisions the destination, takes a fresh production backup, and copies all Website and builder files with its recorded CMS core. New environments inherit production’s effective PHP version. They remain unavailable until the copy and health checks succeed. A failed copy stays visible in Environments; retry reuses the provisioned environment.
Manual transfers use the same Environments controls described below. A full copy replaces destination drafts as well as published content; copied drafts remain unpublished. The destination keeps its URL, identity, access settings, credentials, capacity, and PHP version. Selected-file transfers retain the destination core.
A saved snapshot supplies its own recorded files and core. Historical snapshots without a core require explicit files-only confirmation and keep the destination core. Missing or corrupt declared core artifacts block restoration. A destination safety backup is taken before mutation, and failed full copies recover previous files and core. Failed recovery keeps that environment stopped for attention.
Before you start
Section titled “Before you start”Account owners and administrators can run transfers from Environments. Developers can also run Node.js and PHP transfers. Only one transfer runs at a time per Website.
By default, the transfer creates a fresh snapshot of the source before copying its content. You can instead choose a saved snapshot on the confirmation panel when you want the environment as it was at a particular time. Check its timestamp before confirming; content added after that snapshot will not transfer.
Run a WordPress or Static HTML transfer
Section titled “Run a WordPress or Static HTML transfer”- Open Environments for the Website.
- On the environment holding the content you want to copy, select Transfer from here.
- On the environment you want to replace, select Send here. A connector is drawn between the two, pointing at the environment that will be replaced.
- Keep Create a fresh snapshot to copy the latest content, or choose a saved snapshot by timestamp.
- Review the checks, then confirm.
Select Reverse to swap the two ends. On a WordPress Website, select Choose what to copy to transfer only some files and tables.
If the browser cannot save or read your selection, the transfer is blocked. Allow browser storage access and choose what to copy again before confirming.
Static HTML transfers contain files only and always copy every file, so Choose what to copy is not offered and there is no database to include or exclude.
What a WordPress or Static HTML transfer replaces
Section titled “What a WordPress or Static HTML transfer replaces”By default the destination is made to match the source: content the source no longer has is removed from the destination.
When you choose what moves, only the files and tables you select are replaced. Everything else on the destination is left exactly as it is, including files the source does not have.
The destination keeps its own identity in every case: its own address, its own database credentials, its own PHP version, and its own TMXIO configuration. Manual transfers move content, not environment settings. Creating a new WordPress staging or development environment automatically runs a full transfer from a fresh production snapshot, after provisioning its own identity. At creation only, its WordPress and PHP versions are seeded from production. Creating a new Static HTML staging or development environment also copies production’s applied web rules once, before its initial content transfer.
For WordPress, the Website’s primary database remains part of the normal WordPress snapshot transfer. Any separately attached Managed Databases are copied once into their mapped destination databases; they are not captured or imported twice.
What happens to a WordPress or Static HTML destination
Section titled “What happens to a WordPress or Static HTML destination”The destination is backed up before anything is replaced, so a transfer can be undone from that environment’s backup history.
A transfer into production is verified before it is reported as complete, and production is returned to its pre-transfer backup automatically if it fails. A transfer into a non-production environment is left in place when it fails so you can inspect it, and can be rolled back from its backup history.
The destination is briefly unavailable while its new content is put in place.
TMX Builder cannot open or save the destination while the transfer runs, and nothing is saved over the new content. If someone has the destination open in TMX Builder, they reload it once the transfer has finished; edits not saved before the transfer started are not carried over.
A completed file copy is not enough to mark the transfer successful: the destination must pass its final checks. If the result reports an HTTP error, check the destination’s hosting configuration and file permissions. For a Static HTML Website, a complete copy from a fresh snapshot must also serve the same home page as the source. If the source changed while the copy ran, the check fails; transfer again once the source is settled. A failed result does not mean the destination is available. Check the recorded stage and backup history before choosing recovery or retry.
WordPress staging and development environments
Section titled “WordPress staging and development environments”An environment that is not production is prevented from acting on the outside world, because a transfer gives it a copy of production’s configuration along with production’s content:
- Search engines are refused with a
noindexresponse header. - Outgoing mail is suppressed. WordPress reports messages as sent, but nothing leaves the environment.
- Scheduled tasks do not run.
These apply after every transfer and cannot be turned off. Test anything that sends mail or depends on scheduled tasks on your production environment.
Third-party credentials stored inside your Website’s database — payment keys, API tokens, licence keys — are copied with the rest of the content. Replace them in the destination if it must not use your production accounts.
Transfer a Node.js release
Section titled “Transfer a Node.js release”Both environments must use artifact delivery. Select a retained release with confirmed healthy runtime diagnostics; a release marked Active with warning cannot be transferred. A release without health information needs a fresh deployment or confirmed runtime observation before it can be selected.
- Open the Website’s Environments page.
- Select Transfer on the source environment, then Send here on the destination. Use the direction arrow to reverse the pair if needed.
- Select a Deployed version. Nothing is preselected. The list shows healthy artifact releases from the source environment, with their label or revision, deployment time, and deployment number.
- Choose whether to Include Data Directory and Overwrite destination runtime settings. Both options start unchecked and appear directly in the transfer panel.
- Read the checks and overwrite warnings, then select Clone, Refresh, or Promote to start the transfer. No typed confirmation is required. Complete passkey verification when prompted. A recent passkey verification is reused for up to ten minutes; cancelling the prompt does not start a transfer. Progress and results appear on the destination environment card.
Changing the source or destination, reversing the direction, or cancelling clears the selected version and options. If a version becomes unavailable or another operation is running, wait or select another healthy version. The Deploys page retains deployment history, rollback, and diagnostics; start transfers from Environments.
The selected release always transfers. TMXIO takes fresh, usable backups of both environments before applying changes. If a backup cannot be completed or used safely, the transfer stops before changing the destination.
Choose what is overwritten
Section titled “Choose what is overwritten”Include Data Directory replaces the destination’s Data Directory with the source’s data. This includes SQLite and any other embedded database files stored there. It can overwrite destination application data in every direction, including production to staging and development to production. If you leave this option unchecked, destination data stays in place. Data Directory enablement is a separate destination setting and is never changed by a transfer.
The destination application stops while its data is prepared and replaced. Its previous data is retained for recovery if replacement fails, and an application that was running is restarted afterwards.
Overwrite destination runtime settings copies the source’s Node version, start command, resource profile, health path, app directory, and immutable asset directories. Leave it unchecked to keep the destination’s current settings; make sure those settings can run the selected release.
The destination always keeps its own environment variables, secrets, delivery mode, domains, and credentials. Managed databases are not copied with the data directory. In a production-to-staging/development transfer, select the separate Managed Database copy option for each database to refresh. Destination credentials stay separate, and the app must use the platform connection variables; TMXIO does not rewrite hardcoded credentials. Secrets stored inside Data Directory files do move when that directory is included; review production data before copying it into staging or development. Node.js transfers do not automatically anonymize data or disable application-managed mail and scheduled jobs.
Copy a Managed Database
Section titled “Copy a Managed Database”In a production-to-staging/development transfer, select each Managed Database to copy. New staging/development environments copy all attached production Managed Databases automatically. Existing destination databases require a mapping and overwrite confirmation. Previously copied databases have their linked destination selected automatically. Confirm overwrite for every selected existing database to enable the transfer, once the other checks pass. Databases without a recorded relationship require an explicit destination mapping when a collision exists. A selected copy uses a fresh production capture and retains the destination’s independent credentials. Production stays online while captures run; component capture times can differ. The destination app and scheduled jobs stay stopped until initialization succeeds. Follow per-database progress on the destination card; failed initial copies can be retried in the existing environment.
The copy works only for applications configured to use TMXIO’s platform connection variables. Arbitrary connection strings hardcoded in code or files are not detected or rewritten. The database engine must match, and the node must support the safe copy protocol. Review production data before copying it to development.
Understand the result
Section titled “Understand the result”Transfer complete means the release activated and the recorded runtime checks passed. Verify the destination’s public URL and important application paths before relying on it.
Transfer completed with warning means activation finished, but the application is inactive, repeatedly restarting, or its service status could not be confirmed. The new release stays in place, including on production. Review the reason shown and check the destination’s Node version, start command, health path, and runtime settings. Use the destination’s application logs to investigate and redeploy after correcting the problem.
Transfer needs attention means a transfer step failed. The result explains the failed step, whether the destination was changed or restored, and what to do next. Failures during data application trigger restoration of the destination safety backup. Release installation or HTTP health-check failures retain the deployment’s normal rollback behavior. If recovery also fails, follow the displayed instructions and contact support with the transfer number.
Transfer progress and warnings remain available after refreshing the page. Starting another transfer while an earlier one is running is rejected; follow the existing transfer until it finishes before trying again.
Transfer a PHP release
Section titled “Transfer a PHP release”Use Environments and the same source/destination transfer panel described above. Owners, administrators, and developers can select the source’s currently healthy PHP artifact release. Both Copy data directory and Copy runtime settings start off. Transfers take fresh source and destination safety backups.
Confirm the transfer and complete passkey verification when prompted. No typed confirmation is required. Verification from the last ten minutes can be reused; cancelling the prompt does not start a transfer.
Copying data replaces uploaded files and SQLite in the destination Data Directory. Live SQLite databases are captured through online backup. Public-upload mappings must match before data can move. Copying settings includes document root, routing mode, health path, release command, and PHP tuning. The destination keeps its PHP version, capacity, approved public-media mapping, deploy tokens, environment variables, secrets, and addresses. Managed Databases are copied only when selected in the transfer panel. Credentials embedded in data files do move when you copy that directory.
Review the effective release command shown in confirmation. It runs normally against the destination configuration. Any changes it makes to a managed database are outside transfer rollback. Supply required destination configuration separately.
During activation, PHP workers and TMXIO-managed scheduled jobs for the destination pause briefly. Success requires the new release’s HTTP health check to pass. Failure after mutation restores the prior release, settings, local data, and media state without rerunning the old migration command. If recovery itself fails, keep the transfer number and investigate the reported failure before retrying.
New PHP staging and development environments
Section titled “New PHP staging and development environments”Creating staging or development automatically copies production’s current healthy release, freshly backed-up data, application settings, PHP version, and approved public-upload mapping, and attached Managed Databases. Capacity and credentials remain independent. Creation is rejected when production has no healthy release.
For Laravel applications with a configured APP_KEY containing a supported 16- or
32-byte key (plain or base64 encoded), TMXIO generates a separate destination key
automatically. It sets the destination URL, APP_ENV to staging or development,
APP_DEBUG=false, and MAIL_MAILER=log. Basic nonsecret app name, cache, session,
queue, and logging settings are seeded from production; missing driver settings
default to local files, synchronous jobs, and stderr logging. Production credentials
and arbitrary variables are not copied. Other applications and external-service
credentials still need their own destination configuration. The new key cannot
decrypt data encrypted with production’s key. Retry preserves the generated key
and settings you have already supplied.
Progress appears on the destination environment card. If initialization fails, correct the destination configuration and select Retry initial copy. Retry reuses the environment and copies production’s current healthy release again. An initially empty environment recovers to its provisioned empty state on failure.
Storage
Section titled “Storage”Each environment keeps its own backups, so an environment that has received a transfer adds to your Website’s stored data. The WordPress and Static HTML confirmation panel shows how much the transfer will add before you confirm. Repeat transfers between the same two environments only store what has changed since the last one.