From 7730b3557d1c6bf5689a20617e6477abece99047 Mon Sep 17 00:00:00 2001 From: alfi0812 <43101280+alfi0812@users.noreply.github.com> Date: Thu, 31 Oct 2024 00:45:26 +0100 Subject: [PATCH] Update FAQ.md (#28615) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [ ] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ Signed-off-by: alfi0812 <43101280+alfi0812@users.noreply.github.com> --- website/src/content/docs/clustertool/FAQ.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/website/src/content/docs/clustertool/FAQ.md b/website/src/content/docs/clustertool/FAQ.md index 37ab4ae7e40..e177d5ebe63 100644 --- a/website/src/content/docs/clustertool/FAQ.md +++ b/website/src/content/docs/clustertool/FAQ.md @@ -68,5 +68,24 @@ However, any issues after alterations are not within our scope for support. You need to remove all http helm repositories from the system you're using clustertool on. Please check the Helm docs on how to do this. +## I added Volsync to all charts on TrueNAS SCALE, but no data is in the bucket. +- Make sure you added Volsync to all SCALE apps you want to backup +- Wait atleast 30 minutes +- If still no data is propagated run the following script on your TrueNAS SCALE system: +```bash +#!/bin/bash + +# Get all replicationsource names and namespaces +replicationsources=$(k3s kubectl get replicationsource -A -o jsonpath='{range .items[*]}{.metadata.namespace}{" "}{.metadata.name}{"\n"}{end}') + +# Loop through each replicationsource and apply the patch +while IFS= read -r line; do + namespace=$(echo $line | awk '{print $1}') + name=$(echo $line | awk '{print $2}') + echo "Patching replicationsource $name in namespace $namespace..." + k3s kubectl patch replicationsource ${name} -n ${namespace} --type='merge' -p '{"spec":{"restic":{"copyMethod":"Direct"}, "trigger":{"manual":"{{.now}}"}}}' +done <<< "$replicationsources" + +```