Charmed Quark Systems, Ltd. - Support Forums and Community
other odd uses for CQC / manage backups? - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (
+-- Forum: General Discussion (
+--- Forum: General Automation (
+--- Thread: other odd uses for CQC / manage backups? (/showthread.php?tid=9926)

other odd uses for CQC / manage backups? - SomeWhatLost - 08-22-2016

just curious, anyone use CQC to manage their backups?
thanks to unRAID v6 being all VM'y and Dockery, I finally consolidated all my servers down to 1 physical box, but to do so, I ended up needing to build a 2nd unRAID box that was capable of running VM's...

I got a 2nd unRAID license so that I could keep my original unraid server as a backup... seemed like a good idea at the time... but how to automate this?

what I would really like to do is have TowerA (original non-VM'y unRAID) stay powered down, and just have it power up like once a month/week/something to make a backup of TowerB and then shutdown again.
(yes my naming convention for my unRAID boxes is not very original... "Tower" is the default name...)

I was just wondering if CQC would be a good option to do manage that?
the power up/down seems simple enough... but how would you manage the "check for new files, and copy/backup them if they exist?" part?

other odd uses for CQC / manage backups? - Dean Roddey - 08-22-2016

You can use CQC to send a WakeOnLAN command. So, if B was set up to, upon booting do a backup then shut down, that would sort of do it.

other odd uses for CQC / manage backups? - znelbok - 08-22-2016

The unraid forums talk about auto backup between unraid machines. Check the forums. Its been done and is easy from what I read.

A bios usually has the ability to wake a PC on a schedule so you could use this as an option to wake the PC.

You could also do a hard shutdown and have the power turned off completely. Use a controllable outlet to turn the power back on and then the bios is configured to power on on power return (we do this for all our servers). Auto run the back up and then issue a shutdown command. Have CQC ping the server and when the ping returns nothing shut off the power completely.

This method has the box ready for removal instantly should you need to exit because of a fire etc.

If you want CQC to do it then use robocopy from MS and have it only do files that have changed. Build the command line up and then CQC can execute that easily. CQC can also be checking for the server automatically on the network and when seen it can then launch the backup script. Once robocopy returns that it is complete CQC can then issue a shutdown command to the server (telnet etc).