Klipper backup upload to GitHub

Basic Information:

Printer Model: Voron 2.4
MCU / Printerboard: Manta M8P V2.0
Host / SBC CB2
klippy.log
klippy.log (131.4 KB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:


I installed the Staubgeborener/klipper-backup in order to have a backup of the klipper configuration.
However when I run the [gcode_macro update_git] command at most some modified files are transfered.
How could I force a full backup, at least only once ?

Here is the console output:

Command {update_git_script} finished
Branch 'main' set up to track remote branch 'main' from 'origin'.
To https://github.com/Cracoukas/Voron-2.4.git
11e3bb2..cbfe3d7  main -> main
[main cbfe3d7] New backup from 11/26/2024 - 05:04:06 PM - No new changes pushed
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git restore ..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified:   printer_data/config (modified content, untracked content)

no changes added to commit (use "git add" and/or "git commit -a")
warning: adding embedded git repository: printer_data/config
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: 	git submodule add  printer_data/config
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: 	git rm --cached printer_data/config
hint:
hint: See "git help submodule" for more information.
Already up to date.
From https://github.com/Cracoukas/Voron-2.4
* branch            main       -> FETCH_HEAD
hint: Pulling without specifying how to reconcile divergent branches is
hint: discouraged. You can squelch this message by running one of the following
hint: commands sometime before your next pull:
hint:
hint:   git config pull.rebase false  # merge (the default strategy)
hint:   git config pull.rebase true   # rebase
hint:   git config pull.ff only       # fast-forward only
hint:
hint: You can replace "git config" with "git config --global" to set a default
hint: preference for all repositories. You can also pass --rebase, --no-rebase,
hint: or --ff-only on the command line to override the configured default per
hint: invocation.
Klipper-Backup is up to date
 [1;93m● [0m Checking for installed dependencies /
 [K [1;92m● [0m Checking for installed dependencies  [1;92mDone! [0m
Running Command {update_git_script}...:
update_git

Such extension are not supported here, unless someone who is using the same has the answer readily available.

Your best bet is to contact the author of this script.

Ok, do you have some suggestion on how to create an effective backup/restore solution ?

1 Like