What's the group of /dev/sg5
Do the group have r/w access to it.
You can also change the owner of /dev/sg5 to amandabackup