Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Add on_demand_backup_fileset.sh and iperf_test.sh#2

Open
stevenctong wants to merge 3 commits into
rubrikinc:masterfrom
stevenctong:stong
Open

Add on_demand_backup_fileset.sh and iperf_test.sh#2
stevenctong wants to merge 3 commits into
rubrikinc:masterfrom
stevenctong:stong

Conversation

@stevenctong

@stevenctong stevenctong commented Oct 19, 2021

Copy link
Copy Markdown

Description

Add scripts:

  • on_demand_backup_fileset.sh - takes an on demand backup of a fileset
  • invoke-filesetrestore.sh - multi-directory restore from one or more source-destination directories on either the same host or alternate host. Kicks off a single restore job
  • iperf_test.sh - script to help run iPerf network benchmarks

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

Go over all the following points, and put an x in all the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTION document.
  • I have updated the CHANGELOG file accordingly for the version that this merge modifies.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@thomas-merz

Copy link
Copy Markdown

Hi @stevenctong ,

if I had seen your PR earlier I wouldn't had to script this, too. 🤦‍♂️
But I've now a more elegant solution with more features that can use both auth-mechanisms:

  • "user with a token that expire in at least 365 days"
  • "service-account with a token that never expires"

And it can dynamically identify which filesets relate to the host that calls the script and backup them. Teaser:

# Take a Rubrik-Snapshot of some NFS-Mounts.
# Currently only those Mounts are relevant, which do end with a specific string.

@thomas-merz

Copy link
Copy Markdown

What do you @stevenctong want to achieve with your iperf scripts?
It looks like overkill for me, because a simple iperf3 -s on the Rubrik-Nodes and a simple for h in {1..4}; do iperf3 -c rubrik"$h" -some-parameters; done will be sufficient, too!?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants