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

Fix object backup #29

Merged
merged 3 commits into from
Sep 9, 2024
Merged

Fix object backup #29

merged 3 commits into from
Sep 9, 2024

Conversation

CameronRP
Copy link
Contributor

@CameronRP CameronRP commented Sep 9, 2024

  • Fix for object backup
  • Add python formatting check

print(
"Check that some files already match as a way of checking that the correct buckets are being/prefix used."
)
keys = []
i = 0
for obj in local_bucket.objects.page_size(10000):
keys_sample_size = 10000
for obj in local_bucket.objects.page_size(1000):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is reducing 10000 to 1000 intended?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that is fine, just changes how many objects it gets in one query/page.

@CameronRP CameronRP merged commit 9d271de into master Sep 9, 2024
2 checks passed
@CameronRP CameronRP deleted the fix-object-backup branch September 9, 2024 03:34
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

Successfully merging this pull request may close these issues.

2 participants