Create periodic backup copies of controller.db in network controller from the main process itself to facilitate easier and safer backups of controller.db.

This commit is contained in:
Adam Ierymenko 2015-11-03 15:52:10 -08:00
parent 4b655ab22c
commit 7903f24a8f
3 changed files with 62 additions and 1 deletions

View file

@ -95,7 +95,6 @@ public:
static inline bool rm(const std::string &path) throw() { return rm(path.c_str()); }
static inline bool mkdir(const char *path)
throw()
{
#ifdef __WINDOWS__
if (::PathIsDirectoryA(path))