Staubgeborener / Klipper-Backup

Klipper backup script for manual or automated GitHub backups. Lightweight, pragmatic and comfortable.
https://klipperbackup.xyz
271 stars 52 forks source link

Instructions unclear on correct "full folder" if you're using anything other than a pi #11

Closed jonathanalevi closed 1 year ago

jonathanalevi commented 1 year ago

With so many printers coming with other boards (Fly Gemini, BTT Pi, MKS Makerbase), I think the instructions should be updated with the appropriate directories for those boards.

Personally, I've been unable to get the backup to work at all for any of my printers...

Screen Shot_2023-08-01 13 42 22_ONaiyZ
Staubgeborener commented 1 year ago

With so many printers coming with other boards (Fly Gemini, BTT Pi, MKS Makerbase), I think the instructions should be updated with the appropriate directories for those boards.

There are too many boards and i mean, everyone can pick out their paths for themselves.

Personally, I've been unable to get the backup to work at all for any of my printers...

Please post your script.sh and also your .env (without token and any other credentials).

scarteo commented 1 year ago

you need to add "-r" behind cp in your script.sh file like this

Copy important files into backup folder

while read -r path; do file=$(basename "$path") cp -r "$path" "$parent_path/$backupfolder/$file" done < <(grep 'path' "$parent_path"/.env | sed 's/^.*=//')

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.