https://github.com/b13/content-sync
TYPO3 Extension to sync content between 2 TYPO3 instances
https://github.com/b13/content-sync
extension sync typo3
Last synced: 12 months ago
JSON representation
TYPO3 Extension to sync content between 2 TYPO3 instances
- Host: GitHub
- URL: https://github.com/b13/content-sync
- Owner: b13
- Created: 2020-11-09T15:35:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-05T15:13:59.000Z (about 3 years ago)
- Last Synced: 2024-11-10T21:13:43.356Z (over 1 year ago)
- Topics: extension, sync, typo3
- Language: PHP
- Homepage:
- Size: 68.4 KB
- Stars: 6
- Watchers: 9
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TYPO3 Extension "content_sync"
This extension syncs raw database tables and selected files of directories between two TYPO3 installations.
This can be used to sync between a "content master" system, where editors work, and a "production" system which does not have a TYPO3 backend available. Both systems are connected via SSH.
This extension is - by design - very simplistic, and for other use-cases we recommend using Workspaces for publishing processes or in2publish as a more sophisticated solution.
## Requirements
* MySQL is used as RDBMS and the mysqldump and mysql binaries must be available in the $PATH for PHP
* A SSH Connection to Remote Node by Key Authentication (can be configured via .ssh/config)
* helhum/typo3_console on target and source node must be available
## Extension Configuration
* Configure Database Tables and Files to sync
* Configure your Source- and Target Node (TYPO3 Instances)
## Backend Access
In order to see and kickstart a content sync, a new toolbar item on top is shown. Access is granted to Admin Users and to non-administrators with UserTSconfig:
options.enableContentSync = 1
## Available TYPO3 CLI Commands
content-sync:job:create
creates a new Job from Extension-Configuration
content-sync:runner
runs one waiting job.
content-sync:collect-garbage
checks for any outdated jobs that are still running or waiting due to an error and removes them from the queue.
Ensure to have your scheduler set up.
### Code Analysis
- run `./Build/Scripts/runTests.sh -p 8.1 -s composerUpdate`
- run `./Build/Scripts/runTests.sh -p 8.1 -t 12 -s phpstan`
- run `./Build/Scripts/runTests.sh -p 8.1 -t 12 -s cgl`
## License
As TYPO3 Core, _content_sync_ is licensed under GPL2 or later.