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

Restore fails with "util has no attribute check_directory_status" #234

Open
paul-pgedge opened this issue Jan 6, 2025 · 0 comments
Open

Comments

@paul-pgedge
Copy link

When attempting to perform the command pgedge backrest restore <STANZA> it fails with this error:

Traceback (most recent call last):
  File "/data/pgedge/test_cluster/node/pgedge/backrest/backrest.py", line 383, in <module>
    fire.Fire({
  File "/data/pgedge/test_cluster/node/pgedge/hub/scripts/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/data/pgedge/test_cluster/node/pgedge/hub/scripts/fire/core.py", line 476, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/data/pgedge/test_cluster/node/pgedge/hub/scripts/fire/core.py", line 692, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/data/pgedge/test_cluster/node/pgedge/backrest/backrest.py", line 121, in restore
    status = util.check_directory_status(data_dir)
AttributeError: module 'util' has no attribute 'check_directory_status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant