tar: Removing leading `/' from member names
Seems when attempting to run a backup with rcon it hangs on the message tar: Removing leading /' from member names`
Using ./backup.sh -c -i /data/minecraft/server/world -o /backup -s localhost:25575:$secret -w rcon
I'm having the same issue running it with tmux.
edit: but the backup went through anyways lol
Tar has no output when its creating the file. I believe the tar: Removing leading / from member names is just a warning and it can continue anyway. You can also use a relative path instead of /data/... if you prefer and it will probably not show that message.
To see if it's progressing, check if there is a (possibly incomplete) tar file in the backup destination that's growing.
https://unix.stackexchange.com/a/61760
Heres some talk about the topic, I was considering making a patch however it appears the action to solve it might depend upon if the user is passing an absolute path or relative path. Its a feature of tar working as intended, the output you see was sent to cerr.
Agree with the fix here being to simply run with a relative path, push/cd into the directory first