Master of Backups Support
CSEN
Help

Backup schedule

What to back up, where and how often. A backup you have to start by hand does not happen in practice.

A plan is one sentence

You open this window with the Edit plans… button at the bottom right of the main window (until you have a plan, it is called Schedule a backup…, and when the gold button by the verdict offers the same, it is only there). Every plan says three things: what is backed up, where it goes, and how often. Nothing else - the passphrase is not part of a plan and never will be; MoB takes the key from the keychain.

The Backup schedule window. Plan cards at the top, below them the form of the plan you clicked.
The Backup schedule window. Plan cards at the top, below them the form of the plan you clicked.

Every plan is a card with a status tag (scheduled, overdue, interrupted, will not run, manual, switched off). Click a card to edit that plan; Save plan keeps the changes, New starts an empty plan. Disable switches a plan off for now and keeps its settings. Delete removes only the plan - backups already made stay where they are. The form and the buttons below it stay put; only the list of plans at the top scrolls.

Status labels on the plan cards. You see at once which plan is scheduled, overdue, interrupted or off.
Status labels on the plan cards. You see at once which plan is scheduled, overdue, interrupted or off.

Volume, whole disk, or folder?

This is the choice worth thinking about - and the one you find out about at the moment you need the backup.

A C: backup brings the boot partitions along by itself. Beside C: there is the EFI System Partition (what the machine boots from), Microsoft Reserved and the Windows Recovery partition. None of them has a drive letter, so you could not pick them yourself - MoB adds them to the system volume backup together with the partition table. From such a backup you can rebuild the whole system, even onto a new disk - or put just C: back onto its original partition and leave the rest of the disk alone.

What is not in it: the other partitions of the same disk. If your data lives on D: on that disk, it is in a whole-disk backup, not in the C: one.

Any other volume backup will not rebuild a computer. A backup of D: or of a USB flash drive is just data - the partitions the machine boots from are not in it, and the rescue medium changes nothing: it is the tool you run the restore from, not the missing data. You get the contents back onto a machine that already works, onto a disk that is already partitioned - and MoB will not even offer a boot test for such a restore point: there would be nothing to boot.

A disk is given by number, not a letter - letters belong to the partitions on it, the disk itself has none. In the window you pick it with Whole disk… - the plan then shows Disk 0 - Windows system (another disk with its model), and the model and size on hover. From the command line: mob job add --disk 0 --to R:\backup --daily 22:00.

The gold Back up the system disk button fills in the plan for you: the disk Windows runs from, every night at 22:00, keeping the last five. Data disks are not in it - add each one as another plan with Whole disk….

The gold Back up the system disk fills in the plan for you. The disk Windows runs from, every night at 22:00, keep the last five.
The gold Back up the system disk fills in the plan for you. The disk Windows runs from, every night at 22:00, keep the last five.

Where the backup goes

Pick the target with Choose target, or type the path. If the folder you pick already holds other files, MoB offers to create a MoB-zalohy folder in it and keep the backups apart from them. A typed folder that does not exist is created after MoB asks. The Back up to the cloud button is switched off for now - backup storage with us in the cloud is coming.

How many backups are kept

A plan says how many of the most recent restore points to keep. Without that the backup storage grows forever - and a backup program that fills the disk and stops backing up is worse than none. MoB tidies up only after a successful backup, never before it: so there is never a moment with fewer backups than you asked for.

"The last 5" always means 5 complete backups. MoB has no full and incremental backup where the incremental depends on the full one. Every restore point is a list of block references, and blocks are shared between all backups. Tidying up deletes restore points; MoB then frees their space in the backup storage, but only for blocks that belong to no remaining restore point.

So "two increments left and the full backup gone" cannot happen. Whatever survives can be restored on its own - and the newest restore point is never deleted, whatever the rule says.

Run it once, right away

A new plan has Run the plan right after saving ticked at the bottom, next to Close and Save plan. Leave it ticked. A plan that first runs next week tells you nothing about whether it is set up right - a missing key, an unplugged disk or the wrong source would otherwise show up at night, with nobody there. It goes exactly the same way the scheduled run will, so whatever passes now passes at two in the morning. Any time later you start a plan with the Run button next to it in the main window.

Run the plan right after saving. Leave it checked - you see at once whether the plan is set up right.
Run the plan right after saving. Leave it checked - you see at once whether the plan is set up right.

The schedule is a sentence, not an expression

You pick from four options on the When row. The time is picked next to them from the At what time: list, which sits under the Choose target button - 24-hour clock, minutes in steps of five.

On chosen days. Tick the days on the line below the options and MoB writes next to them what it adds up to.
On chosen days. Tick the days on the line below the options and MoB writes next to them what it adds up to.
Why not cron. A cron expression can express anything, but it translates back into a sentence badly - and a backup schedule is exactly the thing where a typo shows up a month later, when the backup did not arrive. If you can read the schedule, you can check it.

If you pick day 31, you want a backup at the end of the month - so in February MoB runs on the 28th (or 29th) instead of skipping the month.

When a run is missed

A missed backup is not skipped. If your computer was off for a week, the backup runs at the next opportunity - and MoB tells you how long you waited: “A backup was due 6 days ago and did not run.” It counts from the first missed slot, because that is how long you were unprotected.

After the computer starts, MoB waits 10 minutes. A missed backup does not start the moment the computer boots or wakes from sleep, but 10 minutes later, so Windows can settle. Meanwhile the plan stays scheduled and shows when it will run; the main window adds why next to Next backup. A scheduled backup then runs in the background: while you work on the computer it steps aside. A backup started from the window does not wait and runs at normal priority.

An overdue backup after the computer starts. The plan shows when it will run and the main window says why.
An overdue backup after the computer starts. The plan shows when it will run and the main window says why.
For it to run on its own, the service has to be running. A schedule by itself starts nothing - that is what the MoB service is for, asking whether anything is overdue. The installation already sets it up; if it is not running, MoB turns it on by itself when you save a plan with a schedule. When the service is not running, the Backup schedule window shows a strip at the top saying the plans will not run on their own, with a Turn on automatic backups button right next to it (Start the service when it is stopped). When it runs, there is no strip. Only MoB installed into the computer has the service. From the command line: mob service install.
When the MoB service is not running, plans do not run on their own. The window says so in a bar at the top, with the button that starts it right next to it.
When the MoB service is not running, plans do not run on their own. The window says so in a bar at the top, with the button that starts it right next to it.

Backup overview

Double-clicking the MoB icon in the taskbar opens the Backup overview (when a backup is running, its progress opens instead). At the top is one sentence - everything is fine, or which plan needs a look; that plan is also first in the list. Every plan has a card: when a backup last went through, how long it took, how much data was added and how many runs in the last 30 days went through. Below are gold bars for the last 30 runs - the height is how much the backup added, an interrupted run is an orange dot, a failed one a red dot - and how much space is left on the disk with the backup storage.

The numbers come from the runs of plans on this computer. A plan that has not run yet shows a sentence instead of the chart: statistics start with its next backup.

Backup overview. One sentence at the top, below it a card for each plan with bars of the last 30 runs.
Backup overview. One sentence at the top, below it a card for each plan with bars of the last 30 runs.

From the command line

mob job add --what C: --to I:\MoB-system --name "System" --daily 22:00
mob job                     # what is scheduled and when it runs next
mob run-due                 # run whatever is overdue
mob job disable "System"    # switch off for now, settings stay

Days can be abbreviated: --weekly thu,03:30 finds Thursday. Exit code 1 from mob job means something is overdue - so it can be watched by a script.

So it can run without you: a key for the machine

A scheduled backup runs when nobody is at the computer. The service runs under the system account - and it cannot see your keychain. The Backup schedule window takes care of that when you save a plan: it hands a stored passphrase over to the service, and if there is none anywhere, it asks for it once. If that does not work out, the plan's row in the list says the service has no key; click it and there is an Enter the password… button above the form. From the command line plain mob remember is not enough; the service needs this:

mob remember I:\MoB-system --machine
This is weaker and it is a deliberate trade. Windows encrypts the key with the key of this computer, not of your account - so anyone who can run something as administrator here can decrypt it. It protects against a stolen disk, not against an administrator of the same machine. Either backups run without people, or only a person knows the key; you cannot have both. The recovery key on paper matters all the more.

Without a key, MoB writes into the service log that it has none and does not run the backup - it does not stall on a prompt. Silently waiting for a passphrase nobody will type is the worst possible way to not back up. What the service did overnight is shown by mob service log.

Backing up to a network share (NAS)

A plan can also back up into a network folder (\\nas\backups). A scheduled backup, though, is run by the service, and on the network the service signs in as the computer itself - an account your NAS does not know. That is why, when you save the plan, MoB asks for a user and password that work on the NAS (the Sign in to the network folder window, Sign in and save button) and stores them for the service. If they are missing, the plan's row in the list says the service cannot sign in; click it and there is a Sign in… button above the form. From the command line (as administrator):

Sign in to the shared folder. The user name and password valid on the NAS; MoB stores them for the service.
Sign in to the shared folder. The user name and password valid on the NAS; MoB stores them for the service.
mob share remember \\nas\backups --user name   # asks for the password
mob share test \\nas\backups
The rescue medium can reach a NAS with Backup is on a NAS…: the network folder address, the NAS name and password, and the computer connected by cable or to Wi-Fi (the Connect to Wi-Fi… button at the top right). See rescue medium.