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

One slight wiki adjustment i noticed was incorrect #25

Closed Tylerjet closed 8 months ago

Tylerjet commented 8 months ago

@Staubgeborener on this page: https://github.com/Staubgeborener/klipper-backup/wiki/Installation%3A-Configuration#env:~:text=You%20could%20also%20use%20backup_folder%3D.%20for%20example

The line: You could also use backup_folder=. for example

The code block should be backup_folder=config_backup as that is the root of the backup repository, using backup_folder=. would make the script create the files directly in the users home directory /home/{username} which we don't want to happen as then their entire home directly will become a git repo hehe.

Which now gives me an idea of placing in a function to check if that variable does equal . so that it can warn the users. Will look into that maybe later this week when work is less hectic.

Staubgeborener commented 8 months ago

Thanks for the hint. I completely removed the line. Also, I changed the moonraker conf in the tldr section since is_system_service: is deprecated in the future.