Changed backup script to support upstart jobs.