Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Backup without Stopping Service
#1
I know I'm supposed to stop the server to backup, but that's hardly set and forget. What happens if I backup without stopping the server? How much grief will that cause me during an restore (if one is even possible)?

Thanks, Richard
My Other web server is Dropbox.
Reply
#2
It may or may not restore everything correctly. Though there's not necessarily constant file activity, it is going on at semi-random times. If you backup without stopping the app shell service, you could catch a file in the process of being updated, or one that is open for some length of time so it cannot be known when it will be in a consistent state, or multiple files that need to be updated together or not at all.

It's not highly likely you'd happen to catch a given file in one of those conditions, but it could happen.

If you want to get the really important stuff, that you know won't be in use (since it won't be unless you are editing them at that time), back up the \User sub-directories of the various directories under:

[cqc]\CQCData\DataServer

That's where your major configuration content is. That won't include some things things like what drivers to load and their install options and user accounts, and a few other bits and pieces. But that's not something that tends to change very often. For that you can stop the service and do a full backup. For ongoing customization, the User bits mentioned above are the big ticket items.

Unless you have them open in the Admin Intf, or no one is going to be trying to do so during the process, they are not going to be in use or being updated or anything like, and can be zipped up easily enough without causing problems and should be completely consistent.

But, ultimately, unless you are making customization and configuration changes, there's no need to continue to back up CQC. Nothing will be changing that's important.
Dean Roddey
Software Geek Extraordinaire
Reply
#3
I'm in the midst of a lot of changes so it's on my mind. Thanks for the useful information.
My Other web server is Dropbox.
Reply
#4
How are you performing your backup?
Reply
#5
I've been playing with Duplicati, both on PCs and unRAID. So far so good. Figured I would try that.
My Other web server is Dropbox.
Reply
#6
There was a scripts (vbs?) written a few years back to deal with the need to stop the service.

Stop the service, backup to zip,7z etc and then restart.

You can also do this with a batch file and a scheduled service if you want to get your command line guru on - I wrote one quickly for two systems I have to look after - Runs every Sunday night and backs up to a folder that google drive monitors so it gets backed up to the cloud as well.
Mykel Koblenz
Illawarra Smart Home
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Google backup and sync and CQC kfly 4 763 10-06-2017, 11:17 AM
Last Post: kfly
Exclamation Windows as a service? Now, there’s an argument for Linux batwater 5 1,203 04-19-2017, 10:42 AM
Last Post: Dean Roddey
  ExecApp to Start/Stop Windows Service? jaydonoghue 6 1,393 01-04-2017, 06:46 PM
Last Post: Dean Roddey
  cqc down. restarting service fixed it. bbrendon 42 4,759 12-27-2014, 10:39 PM
Last Post: bbrendon
  Macros won't load in editor - service restart required bbrendon 6 1,209 05-03-2014, 12:47 PM
Last Post: Dean Roddey
  CQC Service not starting on boot jmwhooper 8 1,618 12-10-2013, 01:16 PM
Last Post: Dean Roddey
  Backup via Xcopy LesAuber 1 384 04-01-2013, 01:39 PM
Last Post: Dean Roddey
  how to do a clean install, and restore a backup willplaice 6 956 01-02-2013, 08:23 AM
Last Post: wuench
  Tray Monotor Stop service action DaveB 1 452 11-11-2012, 01:47 PM
Last Post: Dean Roddey
  WOL and CQCAppShell service not started jmwhooper 4 1,037 08-31-2011, 07:35 AM
Last Post: jmwhooper

Forum Jump:


Users browsing this thread: 1 Guest(s)