Skip to content

Commit

Permalink
Improve Example
Browse files Browse the repository at this point in the history
This patch adds a sensible example which would actually back up data
instead of just backing up the database structure.
  • Loading branch information
lkiesow committed May 22, 2023
1 parent 961ab0c commit 915465b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Your playbook, could look like this:
backup_smb_password: samba_user_password
backup_script: |
FILENAME="{{ backup_mountpoint }}/$(date '+%Y%m%d-%H%M%S').sql.gz"
mysqldump -u root --no-data dbname | gzip > "${FILENAME}"
mysqldump -u root dbname | gzip > "${FILENAME}"
```
## License
Expand Down

0 comments on commit 915465b

Please sign in to comment.