Skip to main content


Kdybyste to nevěděli, tak #holland (utilitka pro zálohování #MySQL / #MariaDB ) nefunguje - prej od Pythonu 3.11

Zjistil jsem to náhodou:

$ sudo ls /mnt/nas/backup/mysql/default/
20230206_000026  20230306_000135  20230311_081234  20230403_000059  20230508_000051  newest  oldest

$ sudo holland bk
Holland 1.2.10 started with pid 2080038
Traceback (most recent call last):
  File "/usr/bin/holland", line 33, in <module>
    sys.exit(load_entry_point('holland==1.2.10', 'console_scripts', 'holland')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/holland/core/cmdshell.py", line 41, in main
    return run(opts, args)
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/holland/core/command/__init__.py", line 41, in run
    cmdobj = commands[opts.command]()
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/holland/core/command/command.py", line 89, in __init__
    self.optparser = SUBPARSER.add_parser(
                     ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/argparse.py", line 1192, in add_parser
    raise ArgumentError(self, _('conflicting subparser: %s') % name)
argparse.ArgumentError: argument command: conflicting subparser: backup

Takže jestli někdo používáte holland, zkoukněte si, jestli probíhá správně