BUS Backups not running on schedule

From SWCP Support Wiki
Revision as of 14:43, 21 February 2020 by Nshaw (talk | contribs)
Jump to navigationJump to search

Version 8

Missed backups can happen for several reasons, incuding

  • Computer being in standby (sleep or hibernation) at the time of the scheduled backup
    • Extend your computer's sleep/wake timer to ensure the computer is awake at the correct time
    • Choose a different time for the scheduled backups via the Backup Sets => => [Backup Set Name] => Backup Schedule menu of the client, or on https://backup.swcp.com
    • Disable sleep timers entirely on the computer (not advisable on computers with battery power, like laptops), or configure it to disable sleep when the computer is plugged in
    • Set a scheduled task to wake the computer at the scheduled backup time
  • Problem with the BUS Client's scheduler service
    • Restarting the computer will usually correct this issue
    • If rebooting is not possible/advisable, you can also restart the scheduler service by going (on Windows) with the following steps:
      • Open a "Run" window (Windows key + R), type "services.msc" and click "Run"
      • In the services menu, locate "SWCP BUS Client Services" then right-click and choose "Restart"
  • The scheduler is not configured to run on the correct system
    • Open the BUS Client, then go to Backup Sets => [Backup Set Name] => Backup Schedule, enable the schedule with the slider button and click "OK" when prompted to run backups on your new computer.

Version 6

This affects both Mac and Windows clients. Especially after moving to a new computer, and sometimes after upgrading a Mac to Snow Leopard, the SWCP Backup client may fail to run on schedule.

The notes below tell how to inspect the log file on a Mac -- substitute similar for Windows, or skip down to "The Fix" below.

To find out what's going on, first check the scheduler logs. Run the Terminal program. This will put you in your home directory. From there

  cd .obm/log/Scheduler

The log file for today is named debug.log. Yesterday's log is debug.log.1, etc.

  tail debug.log

will show you the last ten lines of the log file. The error message of interest will look like:

  Ignore scheduled / server initiated backup on this computer, Macintosh. 
  Should run on computer named 'Sayuri.local'.

The computer's name in this example is "Sayuri", but for some reason the BUS client believes it to be named "Macintosh".

The Fix

To get the scheduler working again, log into the BUS web interface at https://bus.swcp.com using your BUS client account name and password. From there select "Backup Set" from the top right side menu.

Scroll down to the "Backup Schedule" section to this item:

 "Run scheduled backup on computers named "

The text box should have the name of your computer. If this doesn't machine the current name of your computer, edit it to match (in this example "Macintosh").

Scroll down to the "Update" button and click it. That should fix it -- your computer do the right thing at the next scheduled backup time.