You should set up a script to do this nightly, see the documentation on backing up and other routine tasks.