[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] daemon mode; snapshot count option not valid #1597

Open
MikeCockrem opened this issue Aug 29, 2024 · 1 comment
Open

[BUG] daemon mode; snapshot count option not valid #1597

MikeCockrem opened this issue Aug 29, 2024 · 1 comment

Comments

@MikeCockrem
Copy link

The documentation indicates I can use -X to set the number of snapshots:

-X, --snapshot-count
number of snapshots, default 2

however including this option (for me at least) stops mydumper running with the following error:

option parsing failed: Unknown option -X, try --help

option parsing failed: Unknown option --snapshot-count, try --help

Command executed:
/bin/mydumper -D -c --build-empty-files --regex '^(Client_)' -u $USER -p $PASS --less-locking --threads=1 -I 30 -X 3 --outputdir=/data/backups/ -L /var/log/mydumper

Expected behavior
I expected I could set the number of backups to keep to a custom value (in my testing, '3')

Log
Log file empty (even at -v 3)

Environment:

  • OS version: Debian 12 Bookworm. (Linux debian12 6.10.2-x86_64)
  • MyDumper version: mydumper 0.10.0, built against MySQL 10.5.8 (Debian package: mydumper 0.10.1-1 amd64 )

This could well be a mistake or misunderstanding on my part, as I'm still getting familiar with this, but please let me know.

@davidducos
Copy link
Member

Hi @MikeCockrem, you are using a very old version of mydumper. Can you try with a newer one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants