The configuration parameters of the H2 database backup is already set by default so that the backup occurs on an daily basis.
If you need or want to make edits to this setting, edit the configuration file:
The cron-based backup of the embedded database triggers everyday at 3.45 am all year round. The syntax reads as follows "Seconds Minutes Hours Day-of-month Month Day-of-week Year", such as for example:
0 45 3 ? * * *(default setting, trigger every day at 3.45 am)
0 45 5 ? * MON-FRI(every Monday, Tuesday, Wednesday, Thursday, and Friday at 5.45 am)
More examples are available in the Quartz Tutorial's lesson on ConTrigger.
Other automatic backups are performed at startup and shutdown of the application server:
The backup files are stored at the following location, up to the 30 latest backups: