Closed sneumeister closed 1 month ago
"If using the testing branch, be aware there might be bugs".. xD
If you look at the repo in the testing branch, there are now 2 files, one called exclude.txt and one shrink-backup.conf.
If you keep the branch updated with git pull
instead of manually downloading the file, you would have gotten both the files and it would have worked.
You can easily switch branch with git checkout testing
and then back with git checkout main
. You don't need 2 versions, you can just switch back and forth inside the directory with those 2 commands if you issued a git clone
when acquiring the script. You can still move the shrink-backup directory by using this method and still issue above commands to change between branches (just make sure the hidden files and directories you get with a git clone
is in there).
I very recently updated the wiki to make it a little easier to understand for users not familiar with using git
.
I will add info on how to switch branches later, I just wanted something in there.
But you figured out how to fix it on your system, good job! You are starting to become a master of this script. :slightly_smiling_face:
I am working on this. It's because I got a pr with an installation method using curl, and by using that the exclude file needs to be renamed to give the user information on what that file is when located in other directory (/usr/local/etc) than where the script is located.
This will not be the case in the future, if using the portable version (anything other than using curl to install) like you do the file used will be named exclude.txt
so keep both files for now if you want to keep your workflow. :slightly_smiling_face:
I will keep this issue open until I have confirmed all is well with this functionality.
I have tested the installation script and removed the temporary config file on the testing branch so I am closing this issue.
Hello,
Downloaded the latest
shrink-backup
fromtesing
branch to continue some tests regarding umount issue.Started shrink-backup with option
-t
which meansThe shrink-backup folder looks like this (
exclude.txt
exists):But shrink-backup drops an error:
I did not select an
-f
option.Log-File:
A command
$ cp exclude.txt shrink-backup.conf
solves the problem.Is
exclude.txt
now replaced byshring-backup.conf
?