database backup script

Back up tables along with a restore file