What do you think about saving home and opt separately?
5 root@glamb-n900 [~]# ./backup.sh ./backup.sh: error: no target specified. Usage: ./backup.sh <sd|internal> [-rootonly|-homeonly]
# Include both home and rootfs? doHome=1 doRoot=1