Update backup.sh

Updated backup retention to allow granularity on linux, while retaining daily support for FreeBSD. This is a temporary fix until a cross-platform solution can be developed.