4D v13.4

Backup/Scheduler page

Home

 
4D v13.4
Backup/Scheduler page

Backup/Scheduler page  


 

 

The options found on this tab let you set and configure scheduled automatic backups of the database. You can choose a standard quick configuration or you can completely customize it.

Various options appear depending on the choice made in the Automatic Backup menu:

  • Never: The scheduled backup feature is disabled.
  • Every Hour: Programs an automatic backup every hour, starting with the next hour.
  • Every Day: Programs an automatic backup every day. You can then enter the time when the backup should start. 
  • Every Week: Programs an automatic backup every week. Two additional entry areas let you indicate the day and time when the backup should start.
  • Every Month: Programs an automatic backup every month. Two additional entry areas let you indicate the day of the month and the time when the backup should start.
  • Personalized: Used to configure "tailormade" automatic backups. When you select this option, several additional entry areas appear:
    • Every X hour(s): Allows programming backups on an hourly basis. You can enter a value between 1 and 24.
    • Every X day(s) at x: Allows programming backups on a daily basis. For example, enter 1 if you want to perform a daily backup. When this option is checked, you must enter the time when the backup should start. 
    • Every X week(s) day at x: Allows programming backups on a weekly basis. Enter 1 if you want to perform a weekly backup. When this option is checked, you must enter the day(s) of the week and the time when the backup should start. You can select several days of the week, if desired. For example, you can use this option to set two weekly backups: one on Wednesday and one on Friday. 
    • Every X month(s), Xth Day at x:: Allows programming backups on a monthly basis. Enter 1 if you want to perform a monthly backup. When this option is checked, you must indicate the day of the month and the time when the backup should start.

For a detailed description of the 4D backup mechanisms, refer to the Backup and restoring of the application chapter. 

In client-server mode, the backup parameters can only be set from the 4D Server machine.

All the database backup and restore settings are available as an separate XML file. 4D uses the data in this file to display options in the Database Settings dialog box and at the moment each backup starts. 

It is possible to get and change backup settings using the 4D XML commands or using any XML editor. This allows developers to manage backup settings programmatically, especially with applications compiled and merged with 4D Unlimited Desktop. 

The XML backup and restore settings file is named Backup.XML. It is automatically created at the following location:
            DatabaseFolder/Preferences/Backup/Backup.XML
... where DatabaseFolder is the folder containing the database structure file. The subfolders Preferences/Backup/ are created automatically if necessary. The backup preferences XML keys are described in a separate manual named XML Keys-Backup.

 
PROPERTIES 

Product: 4D
Theme: Database settings

 
SEE ALSO 

Backup/Backup & Restore page
Backup/Configuration page