This information is for those users who wish to automate their Manager data backup.
Windows users can follow this guide.
(The images shown in this guide are from Windows 10 Pro - 64bit OS. So it may vary a bit for other Windows editions)
Part 1 - The first step is to create a script that will automatically backup your business data.
- Open Notepad and copy the following script.
echo off for /f "delims=" %%a in ('wmic OS Get localdatetime ^| find "."') do set dt=%%a set YYYY=%dt:~0,4% set MM=%dt:~4,2% set DD=%dt:~6,2% set HH=%dt:~8,2% set Min=%dt:~10,2% set Sec=%dt:~12,2% set stamp=ManagerBackup_%DD%%MM%%YYYY%@%HH%%Min% mkdir %stamp% cd %stamp% xcopy "Your_Manager_Application_Data_Location\*.*" /s
In the above code replace Your_Manager_Application_Data_Location with the location to your Manager application data folder. If you had not change the application data folder, the default location will be C:\Users\Username\AppData\Local\Manager
Now select Save As option under File menu and select All Files (.) as the type.
Enter any name as file name with the extension .bat
It is always a good practice to save backups in a different drive other than the default C drive where windows is installed because if you had to reinstall windows for any reason, you would most probably end up losing the files stored in your C drive. So create a folder in D or E drive say ManagerBackup and move the batch file created in the above step to this folder.
Now running this file will create a backup of your application data folder contents in the newly created backup folder. Each backup will have a timestamp which help in identifying the backup date and time.
Part 2 - The next step is to make this backup run automatically at any specific interval.
In Windows, open the program called Task Scheduler. You can find it under Administrative Tools in the Control Panel.
On the right side you will find the Actions menu. Select Create Basic Task
Enter a name for this task and select Next.
In the next screen select the option When the computer starts. This will trigger the backup process every time your computer starts. Click Next again.
Select Start a program and click Next.
Click Browse and select the script created earlier to proceed further.
In the next screen, the summary of selected actions is shown. Check if everything is correct and click Finish.
Thats it! Now the backup will happen every time you start Windows.