You can create a predefined or a custom maintenance script. Either kind can help you protect your data by running maintenance commands on a schedule.
You must schedule the maintenance script to run. The script typically includes commands to back up, copy, and delete data. You can automate your server maintenance by creating a maintenance script, and running it when your server is not in heavy use.