https://github.com/kellerkinderde/shopware6-database-dump
Dump a Shopware 6 database for your local environments (and filter GDPR data)
https://github.com/kellerkinderde/shopware6-database-dump
database gdpr shopware shopware6
Last synced: 10 months ago
JSON representation
Dump a Shopware 6 database for your local environments (and filter GDPR data)
- Host: GitHub
- URL: https://github.com/kellerkinderde/shopware6-database-dump
- Owner: kellerkinderDE
- License: mit
- Created: 2021-11-10T15:25:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-08-08T12:12:21.000Z (almost 2 years ago)
- Last Synced: 2024-12-18T02:52:27.036Z (over 1 year ago)
- Topics: database, gdpr, shopware, shopware6
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 38
- Watchers: 6
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# shopware6-database-dump
Dump a Shopware 6 database for your local environments (and filter GDPR data).
## Disclaimer
We support a standard Shopware 6 database along with the official Klarna, PAYONE and Unzer plugins.
Please understand, that we can not give any guarantees for GDPR compliance of the resulting dump.
## Requirements
You need to have `gzip` and `mysqldump` installed and available via your `PATH`.
MySQL will be accessed via IP, sockets are not supported yet.
## Usage
Run `./shopware6-database-dump.sh` to see available options:
```
Dumps a Shopware 6 database with a bit of cleanup and a GDPR mode ignoring more data.
Usage:
shopware6-database-dump.sh --database db_name --user username [--host 127.0.0.1] [--port 3306] [--gdpr]
shopware6-database-dump.sh -d db_name -u username [-H 127.0.0.1] [-p 3306] [--gdpr]
shopware6-database-dump.sh -h | --help
Options:
-h --help Display this help information.
-d --database Set database name
-u --user Set database user name
-H --host Set hostname for database server (default: 127.0.0.1)
-p --port Set database server port (default: 3306)
--gdpr Enable GDPR data filtering
```
Your dump will be written to `dump.sql.gz`.
## License
MIT