System: Backup Action
A Backup Server Configuration Event Rule is defined and enabled by default to back up EFT configuration automatically on a recurring schedule. You can also run the wizard manually. For more information about the Migration wizard, refer to Backup Server Configuration Wizard.
When you create your first Site, a new Backup and Cleanup rule is created that runs the System: Backup and System: Cleanup Actions once a day at midnight, using all defaults for naming and backup location. The default Rule includes a Cleanup Action to delete backup files (*.bak) older than 30 days in that same folder. The Rule is created and enabled when EFT is installed, but you can disable it and edit it as necessary.
The default folder for backups, C:\ProgramData\Globalscape\EFT Server\Backup, is a hidden folder. In Windows File Explorer, click the View tab, then select the hidden items check box.
To create (or edit) the Backup Server Configuration Event Rule
-
Create a Rule using the Timer, Service Stopped, Server Started, Event Rule Subroutine, GDPR Exercised, or IP Added to Ban List Events. If you are using the Timer Event, click the "Due <link>" hyperlink to define the backup schedule in the Timer Event dialog box. Refer to Scheduler (Timer) Event for details, if necessary.
-
Double-click the System: Backup Action or click it, and then click Add. The Action is added to the Rule.
-
Click the hyperlink in the Backup Server Configuration Action. The Browse for Folder dialog box appears in which you can specify where to save the backup file. (Use a UNC path.) By default, the backup file is saved to the EFT's Application Data folder (for example, C:\ProgramData\Globalscape\EFT Server\Backup). You should change this location to a hard drive other than the one on which EFT is installed.
-
Click the folder icon to select the folder in which to save the backup file, and then click OK.
-
(Optional) Add the System: Cleanup Action to removed old backups. Refer to Clean-Up Action for details, if necessary. The default Rule is configured to delete .bak files that are older than 30 days. You can delete backups manually, if desired. Be sure to point to the location where the backup file is saved.
-
Add other Actions as needed, such as email notifications.
-
Click Apply to save the changes on EFT.
-
Click Run Now to test the Rule and verify that a file named "Server Configuration Backup <MM-DD-YYYY_HH-MM-SS>.bak" is saved in the assigned location.
The default Backup and Cleanup Event Rule includes a Compress files action and a Cleanup Action. Additionally, a Cleanup action is added to clean up the Logs folder. If you do not want to save logs created by LAN transfers, you can disable the logs using an advanced property. Refer to Event Rules Client Log for more information.