I created a script based on the docs to do a backup. Opinions please!

#!/bin/bash
# backup NMS
rcdatasync stop
rcpostgresql stop
#
tar -czvpf /var/backup/pgsql.tgz /var/lib/pgsql
tar -czvpf /var/backup/vardatasync.tgz /var/lib/datasync
tar -czvpf /var/backup/optdatasync.tgz /opt/novell/datasync
tar -czvpf /var/backup/etcdatasync.tgz /etc/datasync
#
rcpostgresql start
rcdatasync start