by TimStone » Wed Aug 31, 2022 9:44 pm
Are you asking about a backup system for the users of your application ? If so, I built an external program that runs as a service. It has 4 main functions:
1). It updates the license key ( useful for upgrades and SAAS installations )
2). It submits data to 3rd party vendors used by my customer
3). It installs program updates
4). It performs a daily backup
These functions are performed shortly after midnight on a new day. This is when the client is least likely to be working.
The backup creates an archive of the entire data folder. It writes it to a default folder in the program directory, or the customer can set it to write to an external drive or location. So, if it is set to write to the One Drive folder on that machine, the computer will then write it to the cloud. The file name includes the date, so each zip file is unique, and the customer can have a series of them. I also provide the option for it to submit it daily to my cloud server.
As for ransomware, go luck to the perpetrator. If my client gets attacked, I have them do a complete reformat of the system ( and any attached computers ). I can then reinstall the software remotely in a matter of minutes, and restore from the latest backup. Annoying to their business, sure. But the thieves don't get any money, and my client is wiser on how they will take precautions in the future.
As for my system, I use Goodsync on my programming machine, writing to a portable drive, and to the cloud. I also regularly have redundant copies on two other computers.