Skip to content

Dump a Shopware 6 database for your local environments (and filter GDPR data)

License

Notifications You must be signed in to change notification settings

8mylez/shopware6-database-dump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Dump a Shopware 6 database for your local environments (and filter GDPR data)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%