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

{vmbackup, vmbackup/snapshot}: fixed problem with snapshot backup in another snapshot folder #2535

Merged
merged 9 commits into from May 4, 2022

Conversation

dmitryk-dk
Copy link
Contributor

@dmitryk-dk dmitryk-dk commented May 3, 2022

@codecov
Copy link

codecov bot commented May 3, 2022

Codecov Report

Merging #2535 (02443bd) into master (e761d94) will decrease coverage by 0.52%.
The diff coverage is 44.44%.

❗ Current head 02443bd differs from pull request most recent head db1e2b9. Consider uploading reports for the commit db1e2b9 to get more accurate results

@@            Coverage Diff             @@
##           master    #2535      +/-   ##
==========================================
- Coverage   59.50%   58.98%   -0.53%     
==========================================
  Files         254      255       +1     
  Lines       42733    43176     +443     
==========================================
+ Hits        25429    25468      +39     
- Misses      15619    16022     +403     
- Partials     1685     1686       +1     
Impacted Files Coverage Δ
lib/backup/actions/backup.go 0.00% <0.00%> (ø)
lib/snapshot/snapshot.go 41.17% <36.36%> (ø)
lib/storage/storage.go 67.42% <50.00%> (+0.39%) ⬆️
lib/backup/actions/util.go 3.40% <100.00%> (ø)
lib/promscrape/discovery/ec2/instance.go 36.44% <0.00%> (-11.18%) ⬇️
lib/mergeset/table.go 67.88% <0.00%> (-0.10%) ⬇️
lib/awsapi/config.go
lib/promscrape/discovery/ec2/az.go
lib/awsapi/sign.go
lib/promscrape/discovery/ec2/sign.go 78.87% <0.00%> (ø)
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e761d94...db1e2b9. Read the comment docs.

@dmitryk-dk dmitryk-dk marked this pull request as ready for review May 4, 2022 10:33
@dmitryk-dk dmitryk-dk changed the title {vmbackup, vmbackup/snapshot}: validate snapshot name {vmbackup, vmbackup/snapshot}: fixed problem with snapshot backup in another snapshot folder May 4, 2022
@valyala valyala merged commit 7dd9f3b into master May 4, 2022
@valyala valyala deleted the issue-2503 branch May 4, 2022 19:12
@valyala
Copy link
Collaborator

valyala commented May 4, 2022

Thanks!

valyala added a commit that referenced this pull request May 4, 2022
…another snapshot folder (#2535)

* {vmbackup, vmbackup/snapshot}: validate snapshot name

* vmbackup/snapshot: added another checks

* backup/actions: added check that we ignore backup_complete.ignore file

* vmbackup: moved snapshot to lib directory

* lib/snapshot: added functions description

* lib/snapshot: fixed typo

* vmbackup: code cleanup

* wip

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
AndrewChubatiuk pushed a commit to AndrewChubatiuk/VictoriaMetrics that referenced this pull request May 13, 2022
…another snapshot folder (VictoriaMetrics#2535)

* {vmbackup, vmbackup/snapshot}: validate snapshot name

* vmbackup/snapshot: added another checks

* backup/actions: added check that we ignore backup_complete.ignore file

* vmbackup: moved snapshot to lib directory

* lib/snapshot: added functions description

* lib/snapshot: fixed typo

* vmbackup: code cleanup

* wip

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
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.

None yet

2 participants