Scheduled tasks on Acrosync

Hi,

Would like to suggest something:

I have a MySQL database in production running on Windows, there's actually a whole partition that holds the database.
I'm
just testing Acrosync on that enviroment, backing up the whole
partition to a linux server (rsync over ssh) in "Continuous Upload"
mode. And it works well combinated with incremental auto-managed backups
(one of the best and more usefulls features of Acrosync, btw).

But
there's one thing: The database changes every single second... and
acrosync does his work, making the backup almost instantly. But the next
second the database changes again... and acrosync does his work... and that cycle goes on for some hours of the day. That keep me with a live backup of my database (good point), but it make
"disk read" indicators be high all the time (bad).

U may be thinking
that It makes my server slower, actually if we had more clients
connected to the server that would be true. At the atual number of clients there's
no client performance issue because of that. It just makes disk read a
lot more all the time, in the long run it will for sure make the disk
lifetime be shorter.

A backup made every hour with acrosync would
fill the needs of that senario. If I could just go there and hit the
button Upload every hour it would be perfect, but there's no way to it
happen. Would like to suggest that process to be automated, like setting
a sheduled task inside acrosync one time and let it happen.

Hope it can be implanted soon.

Thanks

P.S.:More suggestions will come with time, if u don't mind.

Comments

  • A scheduling option is on the top of our to-do list.  It may take a while, but we will be there.

    Any suggestions are greatly appreciated!
  • A backup scheduler has been implemented in version 0.94 (see this thread for the download links).  Now you can disable instant upload while keeping hourly backups.
  • edited October 2014
    I've been trying out the scheduler. I set my Acrosync 0.94 to back up at 09:10 Mon-Fri. You apparently schedule a wake up event, so my PC will power up from standby at that time. It took me a while to realize why my PC started waking up automatically at that time. Event viewer couldn't provide much information. Filter the System log for source Power-Troubleshooter and see that it reports Wake Source: Unknown.


    Maybe you can give it more information when you schedule the wakeup, so event viewer can report that it was Acrosync.

    And perhaps give us a choice about whether or not we want a wakeup. In my case the NAS I back up onto is unlikely to be on if my computer is not, so the wakeup is pointless.

    If the scheduled backup time is missed because the computer is off (i.e. shut down completely rather than just hibernated), will you attempt the backup when I do start it up? Or will you just skip until next time?
  • I'll add the wake source information to Event Viewer, and create a registry key to disable the auto wakeup option.  If more users want this option to be disabled then I'll find a place to add a checkbox for it.

    Both changes are scheduled for the release 1.0.

    Missed backups are skipped.  This is to ensure that all backups are done at the same time of the day. 
  • I've installed the 1.0 release but I still see "Wake Source: Unknown" in Event Viewer.

    Also, I'm finding that Acrosync wakes my machine even on the days of the week that I've cleared the checkboxes for. For example on Sunday evening (2014/11/02) I cleared the Monday checkbox, saved the Options dialog, then started the profile.

    But something woke my PC at 09:10 on Monday morning (2014/11/03).

    Event Viewer reported "Wake Source: Unknown".

    Is it possible that a beta version has left something in place in Windows that's still waking it every morning at 09:10 ?

    I tried checking with "powercfg /waketimers" but it reported no active timers even when my backup-type Acrosync profile is running in 1.0:

    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.

    C:\WINDOWS\system32>powercfg /waketimers
    There are no active wake timers in the system.

    C:\WINDOWS\system32>

    Maybe you're using some other mechanism to start the task?


  • sorry about the confusion.  What I actually did for 1.0 is adding the following log message to Event Viewer (under Windows Logs/Application):

    Acrosync woke up at a scheduled time to perform backup.

    I didn't find a way to change the 'Wake Source' field of the Power-Troubleshooter message.

    Did you see such a log at the time your PC woke up?  If so, then I'll investigate why Acrosync scheduled that event.

    You won't see any active wake timers set up by Acrosync, since they are only scheduled when the computer goes into the sleep mode.
  • Yes, I am getting that message in the Application event log.

    Last night (Monday) I changed my backup time to 09:20 and also cleared the Tuesday checkbox. But Acrosync woke the machine this morning at 09:20 (message in the event log). It didn't actually run the backup (correct, since Tuesday is unchecked). But surely it shouldn't even have woken the PC?
  • ok, I'll take a look.
  • Have you been able to look at this yet? It's annoying that my PC starts up 7 days a week even though I've only ticked the Mon to Fri boxes.
  • I did take a look but code review didn't find anything wrong and all my tests worked as expected.

    Did you see the log lines that say 'Scheduled a wake up event at ...'? Were the times there correct?
  • The Log tab of Acrosync shows those messages for the correct days, i.e. none for Sat Nov 29 and Sun Nov 30. But my PC (Windows 8.1) woke from Hibernate state at 09:20 on those two days. I'm mystified about what's doing this if not Acrosync. I'm pretty sure that if I stop Acrosync my computer no longer wakes at 09:20 each morning.

    In the Application event log I think I get your "Acrosync woke up at a scheduled time to perform backup" event every time the PC is woken from hibernation, regardless of whether it was an Acrosync-scheduled wakeup even or just me pressing the Power button.
  • I'll run my tests on Windows 8.1.
Sign In or Register to comment.