feat: remote site sync — deploy full installation to remote server via FTP/SFTP + MySQL #194
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add the ability to deploy a full Joomla installation to a remote server, keeping a staging/production pair (or any two sites) in sync. This goes beyond backup+restore — it's a one-click push of files and database to a pre-configured remote target with its own independent
configuration.php.Use Case
Requirements
1. Target Configuration in Backup Profile
Each backup profile should support one or more sync targets, each defining:
#__mokosuitebackup_remotes)/home/user/public_html)configuration.phpoverrides: a set of key-value pairs that replace the source site's config values on the target. At minimum:sitename— different site namehost,db,user,password,dbprefix— target database credentialstmp_path,log_path— target filesystem pathslive_site— target URLsecret— auto-generate a unique secret per targetsmtphost,smtpuser,smtppass— target mail configJConfigproperty the user wants to override2. Sync Process
database.sqland trigger an import script)configuration.phpon the target using the source config as a base, with the target overrides applied (same logic as MokoRestore'sactionConfig)3. Database Deployment Options
Since direct MySQL access to the remote server may not be available, support multiple strategies:
database.sql, trigger it via HTTP, then delete it (similar to how MokoRestore works)4. UI
Future Considerations
Branch created:
feature/194-feat-remote-site-sync-deploy-full-instal