Proper escaping in backup.sh

unfortunately, Bash does not provide a way to return an array
from a function, so build an array command with proper escaping
and execute it right from the same function.