Skip to content

incorporate GDPR-dump as an alternate for anonymised backups #7

Open
@IanFiretoys

Description

@IanFiretoys

Hi, more of a feature request than a bug, but it would massively streamline operations if you could incorporate the drop-in replacement for mysqldump, GDPR-dump that can be called by an --anonymous flag in the command:

https://github.com/machbarmacher/gdpr-dump

example usage: ./mage2-backup.sh --backup-code --skip-media --anonymous --src-dir=/path/to/magento2/root --dest-dir=/path/to/destination

the drop in version of gdpr-dump needs parameters added to a [mysqldump] section in the user's my.cnf file but would certainly smooth things in terms of dev environments considerably.

(there is a non-drop in version by https://github.com/Smile-SA/gdpr-dump that has more configurable options through a .yaml but i imagine that would be more hassle to incorporate, it is however more actively developed)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions