Download the PHP package barbieswimcrew/shopware-database-sync without Composer
On this page you can find all versions of the php package barbieswimcrew/shopware-database-sync. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download barbieswimcrew/shopware-database-sync
More information about barbieswimcrew/shopware-database-sync
Files in barbieswimcrew/shopware-database-sync
Package shopware-database-sync
Short Description Shopware plugin to sync databases between different instances via SSH
License MIT
Informations about the package shopware-database-sync
Database Sync Plugin for Shopware 6
This plugin enables synchronization of database dumps from a remote server to your local development environment and provides commands for managing database dumps.
Installation
Usage
Sync from Remote Server
The following command starts the synchronization process from a remote server:
The command will interactively ask for the following information:
- Remote Host (e.g. dev.example.com)
- SSH Username
- SSH Port (default: 22)
- Remote Path (default: /var/www/html)
The database dump will be saved in the local directory var/dump with the prefix "remote_" and a timestamp.
Create Local Database Dump
To create a dump of your local database:
The dump will be saved in the var/dump directory with a timestamp and automatically compressed with gzip.
Import Database Dump
To import an existing database dump:
This command will:
- Show a list of available dumps in the
var/dumpdirectory - Let you select which dump to import
- Import the selected dump into your database
Requirements
- SSH access to the remote server (for sync functionality)
- Installed Shopware 6 instance on the remote server
- The plugin must be installed on both the local and the remote server
- Sufficient permissions for database dumps
- Sufficient disk space for database dumps
Support
For questions or issues, please open an issue on GitHub or contact us at [email protected]
License
MIT License