Shell Script help: Making a plex backup

I created a write up for this here: Plexdata backup method

Also, always code in #!/bin/sh if you can (if you don’t know the difference between sh and bash you can treat the word ‘always’ a law).