This how-to guide will help you set up Control to automatically run a daily close out. The basic approach is as follows:
In this process, Control instructs SQL to start the backup. However, Control does not get confirmation back from SQL whether it was successful or not.
Since this process is run off-hours and without user interaction, it is important that you check the results periodically to make sure that you are getting new backups. Many things (most commonly a bad network path or a full drive) can prevent the backup from succeeding. The only way you will know with this configuration is if you check it.
Cyrious strongly recommends you store the backup on a different computer. The backup path in the setup options can be a UNC path.
As noted above, you will need to be sure that the temporary path, storage space and final destination is properly set in the System Setup/Backup Options setup page in Control.
1. Create a Macro to run your close out.
Select 1, 1* Click on the **Actions** tab. * Let's delete the "Prompt to Begin" tab, since we don't really need this. Click on the **Delete** button and say yes. * On the "Notify of Completion" action, type the word **Backup Started. Please confirm if it was successful.** in the **Message Text** box. * Click on **Report Macro (Crystal)** in the middle section and click the **Add** button above it. This will insert a Report Macro for Crystal Reports. You will do this step once for each crystal report you wish to add to your close out. * Change the **Action Name** to reflect which report will be contained on this tab (i.e. Financial Summary) * In the **Menu Item Name** type the report name. * Choose your **Print Option** for this report. You will want to utilize **Quick Save** for your accounting export files to show up in the **Report Export** folder. * Click on **System Report** and choose the corresponding report. This report name and report options can be found in **Reporting System** > **Reports in Quick Reports** > **Close Day - Simple**. * Repeat last 5 steps until all reports are entered into the macro. * To add the option for **Close Day**, click on **Report Macro (Action)** in the middle section and click the **Add** button above it. This will insert a Report Macro action. * Change the **Action Name** to "Close Day". * In the **Menu Item Name** type "Close Day". * Click on the down arrow by **Action** and choose **Close Day**. * To add the option for **Backup Store Data,** click on **Report Macro (Action)** in the middle section and click the **Add** button above it. This will insert a Report Macro action. * Change the **Action Name** to "Run Backup". * In the **Menu Item Name** type "Run Backup". * Click on the down arrow by **Action** and choose **Backup Store Data**. * As configured, the everything will run after the completion message, so click on the completion message and click **Move Down** button in the middle panel until it is at the end. * Click on the **Save** button on the action toolbar.
2. Schedule the Macro to automatically run on the server every evening.
3. Check that the backup is successful! Important Step
Contributor: Cyrious
Date: 1/23/2017
Version: Control 5.7+