Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Backing up the data - something simple
Message
From
28/01/2009 19:45:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/01/2009 18:14:42
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01377826
Message ID:
01377947
Views:
24
>>>>>What would be the simplest way to ensure that all the tables are backed-up on a regular basis? Not really so much how you would do it - we would use DynaZip or something like that - but more where/when should it be done? If we wanted it to happen at least once a day, and there could be multiple workstations accessing the data on a server (of which we have no admin control). When to do it? On shutdown of the app? On startup? Do you do it at the very end of your Main.prg that is starting the app in the first place? What is the best way?
>>>>
>>>>
>>>>Maybe at a different application which should be run from Windows Scheduler when everybody is supposed to be out (3AM or something)
>>>
>>>That is a good idea.
>>
>>A very good idea. That's how we do it.
>
>How do you handle it if they are not out?

We (Bata/Bolivia, where I used to work) do the backup at around midnight, and around noon. The backup at noon is less safe than the one at midnight. Files can be copied while people use them, but there is the risk of data changing while the backup is being done - and some data thus being in an inconsistent state.

It doesn't really matter whether a file is open, as long as nobody is actually writing stuff. A file copy should work, and programs such as WinRAR have options to enable you to work with open files - but once again, there is always a slight risk involved. Our main backup is the one at midnight, since we assume that seldom there will be anybody at work at that time. That is the one that is kept in the long term. The backup at noon provides additional protection, it may be possible to recover some data - but we consider it less safe.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform