OSM Documentation 0.3.0 Search

8. Backup and recovery

RAID keeps your data through a failed disk, and snapshots bring back a deleted or encrypted file. Neither survives the server itself: a fire, a theft, a power surge, or a mistake that reaches every disk. For that you need a backup: a copy somewhere else, with versions to go back to.

A good plan keeps three copies of what matters, on two kinds of storage, one of them off site. OSM gives you:

ToolWhat it doesWhere
Backup tasksEncrypted versions of your shared folders, home folders, apps' data and settings, on another disk, a USB drive, another server or a cloud storeBackup > Backups
PCs and serversThe network's Windows PCs and Linux servers backed up to this server with OSM Backup, in versions they cannot deleteBackup > Computers > PCs and servers (below)
SnapshotsRead-only copies of a shared folder on the same volume, instant and space-saving; immutable ones resist ransomwareStorage (Storage)
Other OSM serversA shared folder's snapshots copied to another OSM server (replication)Backup > Backups > Other OSM servers
Cloud drivesA shared folder kept alike with a folder in a cloud (a sync, not a backup)Backup > Backups > Cloud drives
The way back after an updateOSM's version before, put back by OSM itself when the new one does not startSettings > Updates and Recovery (the update history says so)

Backup has four pages: Overview (below), Backups (backup tasks, cloud drives, other OSM servers), Computers (PCs and servers, whole computers) and Restore, the one place to get a file or a folder back (below).

The Overview

The Overview says it in a word first: Backed up when the backups ran, Needs attention with the names of what needs a look, or Not backed up while no backup has run yet. What needs a look: a backup task whose last run failed or missed folders, or whose test restore failed; a cloud drive or a replication whose last run failed, or that OSM turned off; a PC or a whole computer that is late or failed; and any of these that OSM could not read. Under it: how many backup tasks and computers there are, how long versions are kept (by the task that keeps them longest), and when each task runs next. Back up now runs every task now, one after another, each in its own window (with no task yet, Create is there instead); Restore... opens Restore.

Backup tasks

Backup > Backups > Create makes a task. It backs up with restic: only what changed since the last run is sent, every run is a version you can restore from, and everything is encrypted before it leaves the server.

  1. Name the task.
  2. Choose where it goes (below).
  3. Choose what:
    • the shared folders to back up, and the home folders (everyone's);
    • The server's settings and accounts: the accounts with their passwords (not their two-step sign-in), the groups, the shared folders and their permissions, the file services' settings, the other settings a configuration backup holds, and the installed apps with their settings. A version that has them can rebuild a server on a new installation (below);
    • The apps' data: the apps' settings, databases and files (below).
  4. Choose when: every day or every week at an hour you choose (02:00 by default), or by hand. A weekly task runs on Sundays; What, when and how long... in its ··· menu changes the day. Tasks run one at a time: a task that cannot start at its hour (another backup still runs, or the server was off) starts as soon as it can, and that run counts for that day (or week): a server that is off at night backs up every morning. A backup started by hand up to four hours before the hour counts too. A task whose folder is on a USB drive can also run each time that drive is plugged in: tick Also each time its USB drive is plugged in. For a drive you plug in now and then, choose By hand and tick it.
  5. Choose what stays: one version a day for 7 days, one a week for 4 weeks, one a month for 12 months and one a year for 2 years, by default. Older versions are deleted, and the latest one always stays. While OSM is not sure of the server's date (Language and Time says when), no older version is deleted: the keep rules of these backups, of the virtual machines' and of the PCs' wait, and a version dated in the future is kept.
  6. Give it a password of at least 8 characters.

Keep the password somewhere else. Without it nobody can read the backup, OSM included. A backup whose password is lost cannot be restored, and nobody can recover the password.

Back up now runs a task at once. The task list shows each task's last run, and whether its last test restore passed (Proved). A run that fails, or that misses folders that are not there (deleted, locked, or on a volume that is not mounted), is a notification: such a folder is left out of that run, never saved as empty, and its older versions stay. A run that could not read some files (a file only its owner may read over NFS, a file deleted while it was read) still makes its version, without them: it is a warning that names them, and the old versions are tidied as usual.

A backup never holds itself: when a task backs up a whole volume into a folder of that same volume, that folder is left out of each run. A task cannot back up a folder that is its own destination, or inside it.

A remote folder mounted inside a shared folder (another computer's share, in Files > Remote folders) is left out of the backup, and the run's log says so: its files are on the other computer, which keeps its own backups.

When a run fails, its notification says why in plain words: a wrong password, no backup at that place yet, or a server that shows another key than before (see When the other server shows a new key).

Where a backup can go

DestinationWhat you need
A folder of a volume or a USB driveA folder on another volume or a USB drive. A backup on the same disks as the data does not survive them. A task on a USB drive knows the drive: it finds it whatever number it is mounted as, and never backs up onto another drive in its place (Storage).
Another server, over SFTPAn account on that server. OSM signs in with its own key: the dialog shows it, and you add it to that account's ~/.ssh/authorized_keys. The first connection remembers the server's key, and from then on OSM connects only to a server with that key. The server is a name or an address; an IPv6 address may be written with or without brackets (fd00::5 or [fd00::5]).
An S3-compatible storeIts address (Amazon S3, Wasabi, Cloudflare R2, Backblaze B2's S3 address, MinIO...), a bucket, an access key and a secret key.
A restic REST serverIts address, and an account and password if it asks for one.

An off-site destination (an S3 store, or a server at another place) protects you from what happens to the building.

The apps' data

The apps keep their own settings, databases and files in an area of the volume that is not a shared folder. A backup task with The apps' data (on by default) saves it in a version of its own, labelled The apps' data in the list of versions, next to the version of the shared folders made by the same run.

A database copied while it is being written can be unusable, so OSM reads the apps' data as it stood at one moment:

  • On Btrfs and ZFS volumes, the apps are paused for about a second while OSM takes a snapshot of their data, then run on while the backup reads the snapshot. The snapshot is deleted when the backup ends.
  • On ext4 volumes, which have no snapshots, the apps are paused while their data is read. This usually takes a minute or less at night, and never more than two hours. If reading takes longer, it is stopped, the apps run again, and you are told that the apps' data was not backed up (the shared folders still are). For apps with much data, a Btrfs or ZFS volume avoids the wait.
  • If the backup goes to the server itself (an app of it, such as an S3 or SFTP app), or its destination does not answer while the apps are paused, the apps do not wait, since the backup would wait for them: on an ext4 volume, their data is then read while they run. That run is a warning, ... read the apps' data while they ran: a database copied while it was written may not restore whole.

Paused apps always run again, even if the server restarts during a backup. Caches that an app makes again by itself (Jellyfin's cache, Plex's transcodes, Immich's models) are left out.

The virtual machines' disks are not part of the apps' data: see Virtual machines.

Backups that prove themselves

A backup is only as good as its restore. OSM checks every backup task on its own:

  • Every month, a test restore, two hours after the task's time (at any time, when the server was off then for a day). Files of the latest version, picked at random, are restored into a scratch folder and compared with the files on the server (those not changed since the backup). A twelfth of the backup's data is also read each time, the next twelfth each time, so twelve test restores read all of it. A test restore that fails, even before it restored anything (no version yet, the backup not reachable), is an error notification, and it is tried again the next day. A task that backs up only the server's settings and accounts passes when they come back whole; one that backs up the apps' data and no shared folder is tested with the apps' data. Files whose names are not in UTF-8 are left out of the comparison, and the test's log says how many.
  • A report each month: on the 1st from 08:00 (or when the server is on again, if it was off then), every task, its last run and its last test restore, as a notification and by email if email is set up. Report... shows it now.
  • Test a restore now and Check the backup (reads 5 % of it) are in each task's ··· menu.
  • The monthly test restore of a backup on a USB drive waits while that drive is not plugged in. With a drive you plug in now and then, use Test a restore now while it is plugged in.

A file that does not come back, or comes back different, is an error notification.

When the other server shows a new key

A backup or a replication to another server over SFTP knows that server by its SSH key. When the server is set up again, it gets a new key, and every run fails with The server ... shows another key than it had at the first backup. To go on:

  1. On the backup task's ··· menu, choose The server's key... (on Other OSM servers, the button of a task whose last run failed).
  2. Compare the keys shown with what the server itself shows (on it: ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub).
  3. Only if they are the same, choose They are the server's own: trust them.

Backups and replication to that server then use the new key. If nobody set the server up again, do not trust the key: someone may be in the way.

Restoring

Restore: one place to get a file back

Backup > Restore gets a file or a folder back, from wherever OSM keeps it:

  1. Choose the folder: a shared folder you may open, or your home folder.
  2. The page lists its points in time, newest first: its Recycle bin, when something deleted there is in it; its earlier versions (the snapshots this server keeps of it); and each version of each backup task that holds it. The backups' versions come as each backup answers: one far away can take a moment, and one that cannot be read says why.
  3. Open a point: its files and folders as they were then. Open a folder by its name; the path at the top goes back.
  4. Tick what you want, then:
    • Restore: back where it was. Out of the recycle bin, an item whose name is taken there now comes back beside it under a free name, Report (2).docx, as it does in Files. From an earlier version or a backup, what has its name there now is replaced, and OSM asks first, naming it; a folder keeps the files added to it since: its files of then come back over today's, and the others stay. An earlier version is copied back as you, as Files' Earlier versions... does; a backup restores as a restore back where it was does (below).
    • Download: one file, to the computer you use; from a backup, a folder too, as a ZIP file. The server makes a download from a backup ready first, on its system disk, and keeps as much room again free there meanwhile (1 GB at least, 10 GB at most): a bigger one is refused before it starts; restore it instead. It waits an hour to be fetched.

Restore shows what Files shows you: the shared folders you may open, and your home folder. Through OSM Connect, a restore or a download from a backup asks for your second step again.

Files and folders

  1. Backup > Backups, Versions on the task, then Browse... on a version.
  2. Tick the files and folders to restore. Open a folder by its name; the path at the top goes back.
  3. Choose where:
    • Back where it was: what has its name there now is replaced, and a folder keeps the files added to it since (an app's data comes back whole: below). Only files of shared folders, volumes and home folders go back in place; anything else in a version (a backup made elsewhere may hold anything) is restored into a new folder;
    • Into a new folder: a new folder named after the task and the date, under the folder you give (for example /volume1/Restore); a second restore in the same minute gets its own, with (2) after its name. Nothing on the server is replaced.

Restoring an app's data back where it was stops the app first, and starts it again afterwards. The data comes back exactly as it was in that version: files the app wrote since are removed, so a database is never mixed with a newer journal. If the restore fails, or the server restarts in the middle of it, the data that was there is put back. When the volume is not mounted at that restart, OSM waits for it: the app stays stopped, and a notification says so until the data is back.

Ticking a whole volume, or its appdata folder, restores the apps one by one: each app the version holds comes back as it was, and an app installed since then keeps its data (the restore's log names what was left as it is).

Restoring an app's data stops the apps it belongs to, and they always start again: if the server restarts in the middle of the restore, they start at the next start of OSM, or when you run the restore again.

A restore of files back where they were goes into a hidden copy first, in the same shared folder (or the same volume), and is read back whole; only then do its files take the places of today's. When it fails (a backup that cannot be read whole, a drive unplugged in the middle), today's files stay exactly as they were, and the copy is removed. The copy needs room: as much free space as the files it restores (within the shared folder's quota, when it has one), or the restore stops before it writes anything. Files that are there today and not in the version stay. If the server restarts while the files are being put in place, OSM finishes that at its next start.

A restore needs the volume or USB drive it writes to: if it is not mounted (or the drive is unplugged), the restore stops before it writes anything, rather than fill the system disk. A restore back in place also stops before it writes anything when a folder on its way down is a symbolic link, or a special file (a pipe, a socket, a device) is where it writes: delete it, or restore into a new folder. Symbolic links inside what it restores are no obstacle: each is replaced by what the backup holds, and none is followed.

A restore back in place also stops before it writes anything when the folder holds a remote folder that is mounted (another computer's share), or is in one: unmount it first in Files > Remote folders. The other computer's files are never written over.

A restore into a new folder on a USB drive formatted FAT, exFAT or NTFS works: those drives keep no owners or permissions, so the files come back without them. The message at the end says so, in one sentence: on that drive the files are anyone's who can reach it (the restore's log too). Restore onto a drive that keeps them (a volume, or a drive formatted ext4) when the files must stay private.

A folder or file whose name is not in UTF-8 (written by an old system, a zip or an NFS share) opens in Browse... too. Its name shows a replacement character for each letter OSM cannot read, and it can be restored on its own. A file whose name differs only in such a letter comes back with it.

The whole server, onto a new installation

When a server is lost, a version made with The server's settings and accounts brings its accounts, shared folders, files and apps back on a new installation:

  1. Install OSM on the new server, and make its volumes with the same names as before (Volume 1, Volume 2...), on new or empty disks. If the old server's data disks still hold its volumes, do not make new volumes on them: that erases them, and OSM cannot take such a volume in yet. Keep those disks as they are and ask Support (a volume of an earlier OSM installation).
  2. Backup > Backups > Open a backup of another server...: give the destination of the old backup and its password. For a backup on another server over SFTP, the new server signs in with a key of its own: the dialog shows it, and you add it to that account's ~/.ssh/authorized_keys first.
  3. Versions on the task it makes, then Restore everything... on the version you want, and choose:
    • The shared folders' files too;
    • The apps, with their data.

Restore everything is for a new server. On a server in use (apps installed, PCs that back up to it, shared folders with files) the dialog lists what would be replaced, and goes on only when you type the server's name.

OSM restores, in this order: the groups and accounts (with their passwords), the settings, the shared folders with their permissions, size limits, recycle bins, Time Machine, snapshot schedules (immutable days too) and NFS rules, then the files, then the apps with their data. Accounts that exist on the new server already stay as they are, and keep their files; a shared folder that exists already takes the backup's description, permissions and other settings. What a shared folder cannot take on the new server (a size limit on a volume without quotas, snapshots on an ext4 volume) is named in the restore's log.

Each account keeps its number where it is free on the new server. An account or group whose number another one has there gets a new number, and its files are given to it, so nobody gets another person's files; their shared folders' permissions are then set again from the settings. The backup task keeps those new numbers: every later restore from its versions (back where they were, or into a new folder) gives the files to the same accounts and groups. A new account made after the restore never gets the number of an account that was deleted on the old server (and with it, the files that account left). When the old server was a domain controller, the backup's copy of the domain goes among the Domain app's copies: Domain makes the domain again from it (Domain).

An account that was locked comes back locked, and one Unlock unlocks it, as on the old server. A remote folder mounted inside a shared folder on the new server stops the restore before it changes anything: unmount it first.

An encrypted shared folder is not made again, and its files are not restored (they would be written unencrypted): the restore says which. Make it again in Shared Folders as an encrypted folder, with the same name, unlock it, then restore its files from the same version (Browse...). A backup made before November 2026 does not say which folders were encrypted: after restoring from one, check your encrypted folders. A shared folder that is encrypted and locked on this server is never restored into, whatever the backup says: the restore leaves its files out and says so. Unlock it in Shared Folders, then restore its files with Browse....

It does not bring back the network, email and notifications, the backup, cloud and replication tasks, the scheduled tasks, the VPN's devices, the certificates, the firewall's lists, the password rules, or two-step sign-in and passkeys: set them up again.

Cloud drives

Backup > Backups > Cloud drives keeps a shared folder and a folder in a cloud alike: WebDAV (Nextcloud, ownCloud...), S3 (AWS, Wasabi, Cloudflare R2, MinIO), Backblaze B2, SFTP, Google Drive, Dropbox, or another folder such as a USB drive.

  • Which way: Upload (new and changed files go up), Mirror up (the cloud becomes like the folder, deletes included), Download, or Mirror down.
  • Upload and Download never replace a newer file: a file you changed here after the cloud's copy stays as it is at a Download, and a file that is newer in the cloud stays there at an Upload (by the files' own times). The run's log says so; it does not list them. A mirror makes one side like the other, whichever file is newer.
  • Mirror down in a shared folder whose Recycle Bin is on puts what it takes away in that bin, not out of reach: the files the cloud no longer has, and the older file where the cloud has a changed one. Each keeps its place and gets the run's mark in its name, as in Report (mirror 2026-11-15 20.21 k3fq7x).docx, so nothing that is already in the bin is replaced. They take room until the bin is emptied (by hand, or by itself after the days set in the shared folder's settings). A file you take back out of the bin goes again at the next run, unless it is in the cloud too. A file whose name is longer than about 220 characters does not fit in the bin with the mark: it stays where it is, and the run fails and says which file to rename. Where the bin is off, a mirror deletes as before.
  • When: every hour, every day, or by hand. Test the connection checks the settings first: it says The cloud answers. only when it does (another folder that is not there, a USB drive unplugged, says so). A daily task that takes hours does not miss the next day: the day counts from when a run starts, as for backups.
  • Google Drive and Dropbox need a token: run rclone authorize "drive" (or "dropbox") on a computer with a browser, sign in, and paste what it prints.
  • A task with a USB drive runs only with that drive, never with another one in its place; and no task runs while a remote folder is mounted inside its folder (a mirror would delete the other computer's files).
  • A task keeps its folder itself, not only its place. When its shared folder or its volume is deleted, the task is turned off (Task off in the list) and the bell says so; a shared folder or a volume made again under the same name is another one, and the task does not run on it. Nothing is deleted in the cloud. Turn on... turns it on again for the folder that is there now (check that it is the right one), Edit gives it another folder.
  • A mirror never runs from a side that holds no files while the other side holds some: it would delete them all. The run fails and says how many files would go. If the folder is meant to be empty, press Sync now: OSM asks, and Sync and delete runs it. A folder that came back empty (a volume made again, a cloud folder typed wrong) is so caught before anything is deleted.
  • SFTP: Show the server's key shows the keys the server presents, with their fingerprints. Compare them with the server's own (on it: ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub), then tick They are the server's own: trust them. The task then connects only to a server with those keys: someone in the way gets nothing, and cannot make a mirror delete your files. A task made before this check trusts the keys its server shows at its next run, and says so in that run's log; compare them in its Edit dialog.
  • WebDAV: put the account and password in their own fields, never in the address.

A cloud task is not a backup: a mirror copies deletions and damaged files too. For versions, use a backup task.

Other OSM servers

Backup > Backups > Other OSM servers copies the snapshots of a shared folder on a Btrfs volume to another OSM server: the first time in full, then only what changed. After a disaster the other server can turn a replica into a shared folder of its own.

  1. On the server that receives: install SSH in Settings > SSH. In Backup > Backups > Other OSM servers > Receive, turn on Take replicas from other OSM servers, choose the Btrfs volume that keeps them, and Add a sender with a name and the sender's key (shown on the sender, in the same page).
  2. On the server that sends: Replicate a shared folder: the shared folder, the other server's address and SSH port, when (every hour, every day, or by hand), and how many replicas it keeps (30 by default). A daily run that takes hours does not make the next day's wait: the day counts from when a run starts.

The receiving server keeps its own minimum, whatever the sending server asks: every replica stays at least 7 days after it arrived, and at least 7 replicas always stay. It counts by its own record of when each replica arrived, never by the sender's word or by the date in a replica's name; and while it doubts its clock (the bell says so), it deletes none. So a sending server that was broken into, or a task set to keep 1, cannot leave you with the ruined state alone. A task that keeps fewer than that simply finds more replicas there; its run's log says so. A task that keeps more than about 140 replicas needs this version of OSM on the receiving server too: an older one cannot take so long a list of what to keep, so nothing is deleted there, and the run's log and a notification say so until that server is updated (or the task keeps fewer).

A task keeps its shared folder itself, not only its name. When the folder (or its volume) is deleted, the task is turned off (Task off) and the bell says so; the replicas on the other server stay. A new folder of the same name is another folder: delete the old task and make a new one for it. (A task turned off because its server was the one that did not serve when a High Availability pair was removed has Turn on...: use it only when the other server no longer replicates that folder.) The receiving server then keeps the new folder's replicas apart from the old folder's (in Replicas here, the new ones carry the folder's name followed by a dot and letters and digits), so the old ones are never pushed out. The same holds after the sending server was set up again: what it sent before stays.

Each run takes a snapshot of the folder, and deletes the ones it took before once the other server has them, all but the newest one sent (the next run starts from it). Locked and immutable snapshots, and those the folder's own snapshot schedule keeps, stay. A replica that did not arrive whole (the power went during the copy) is deleted on the receiving server and sent again. The order of the snapshots comes from Btrfs itself, not from their names, so a clock that was set wrong does not stop replication.

On the receiving server, Replicas here lists them, and Make it a shared folder... makes a copy of the replica you choose (the newest at first; an older one when the newest already holds the damage) that you can open and change; the replicas stay as they are. A replica that is still arriving cannot be chosen yet. Before anyone may open the copy, OSM removes what a shared folder may not hold from the sender's files: device files, and the marks that make a program run with more rights than the person who starts it (set-user-ID and set-group-ID bits, file capabilities).

Delete..., in the same list, deletes replicas on the receiving server for good: for a sending server that is gone, or to make room. Choose one replica, or All of them, and the folder that keeps them, which needs the folder's name typed. The newest replica is never deleted by itself, only with all the others. Nothing is deleted while a replica of that folder is arriving. What the sending server still has, it sends again at its next run. Through OSM Connect this needs your second step again.

PCs and servers

Backup > Computers > PCs and servers backs up the Windows PCs and Linux servers of your network to this server. Each one runs the program OSM Backup, which backs up its folders on a schedule. Only what changed since the last backup travels, and it is encrypted before it leaves the PC. On Windows, OSM Backup reads the files through a snapshot, so files that are open (a document being edited, a mailbox) are backed up as they were at one moment.

A PC can add versions to its backup, but it can never change or delete one: the server alone decides which versions stay. Ransomware on a PC cannot destroy that PC's backups.

Turning PC backups on

Choose the volume that keeps the backups, then click Turn on. The first time, OSM installs what it needs from its update service. The PCs reach the server on port 5011, from your network only, never from the internet.

The volume stays the same while any PC is in the list (one that no longer backs up too: its versions are there), whether PC backups are on or off: on another volume no PC would find its backup. To use another volume, remove the PCs first, deleting their versions. A volume that is only not mounted now (a disk missing) still counts: mount it again in Storage. After a full restore onto a new server, turn PC backups on again on the volume that holds them.

When the volume itself is gone for good (deleted in Storage, or not part of this server after a full restore), the page says so, and you choose another one. OSM knows the volume by its file system, not only by its name: a volume deleted and made again under the same name is a new one, and the page says the backups were on an earlier volume of that name (you may then choose the new one). The same volume after a restart, mounted or not, is still the one. The PCs stay in the list, but their backups went with the old volume: each says Pair it again, and backs up again once it is paired again. On the PC, run osm-backup uninstall, then install OSM Backup with a new code (Add a PC...); a PC of the domain does that by itself at its next start once it is uninstalled, while the domain's policy is on. Paired again, it is a new PC in the list: Take out of the list... removes the old entry.

The page's Settings button shows the volume and the port. Turn off... there closes the port: the PCs can no longer back up, but they stay in the list with their versions, and back up again when you turn PC backups on.

Adding a PC

  1. Click Add a PC.... OSM shows a code: it is for one PC, it is valid for 24 hours, and it is shown only this once. The PC must be on the same network as the server.
  2. On a Windows PC: click Download OSM Backup in the dialog (open the desktop in the PC's browser, or copy the file to the PC). Run it, allow it to make changes, and type the server's address and the code that the dialog shows. Or run the command that the dialog shows in Terminal (Admin), in the folder where the file is.
  3. On a Linux computer: copy the command for its processor (Intel or AMD, or ARM), and paste it into a terminal as root.

The dialog says when the PC is paired, and the PC appears in the list. Codes that were made and not used yet are listed under the PCs: withdraw one you will not use with its delete button.

Windows warns about OSM Backup. OSM Backup is not signed yet, so Windows says that it protected your PC. Click More info, then Run anyway.

The domain's PCs

When this server is the domain controller, the switch Install OSM Backup on the domain's Windows PCs installs OSM Backup on every Windows PC of the domain, through Group Policy, when the PC starts. Each PC pairs by itself.

  • Every account of the domain can read the code that the policy uses. Turn the switch off when you no longer add PCs this way: new PCs no longer get OSM Backup.
  • A PC of the domain that you remove stays removed: OSM Backup on it still holds its old pairing, which the server refuses. To back it up again, uninstall OSM Backup on that PC (osm-backup uninstall): it then pairs again by itself at its next start, as a new PC in the list, while the switch is on.
  • When an update of OSM brings a newer OSM Backup, the server puts it where the policy takes it from, within a few minutes: each PC of the domain takes it at its next start, and keeps its pairing.

The list of PCs

Each PC shows its system, its state, its last backup, the room its versions take on this server, and how many versions it has. The state says, for example, Backed up 2 hours ago, Backing up 45 %, Failed with the reason, Last seen 4 days ago (the PC has not been in touch for three days: it is off, or not on the network), Waiting for its first backup, Over its limit, or No longer backs up. The list follows the PCs every 10 seconds. A backup shows as running only while its PC is in touch: one that went away in the middle no longer shows Backing up. Backed up, some missing means the version lacks something of what the PC should back up, or holds it elsewhere: point at it, or open the PC (Differs from the plan), to see which: a folder that is not on the PC, files it could not read, a disk mounted inside a folder, a folder that is a link, a folder whose disk was not mounted. Waiting: its backup is in use means the PC wanted to back up while the server was checking or tidying its backup: it waits ten minutes for it, then tries again half an hour later by itself. That is not a failure, and no notification comes, unless the PC finds its backup locked for two hours while the server is not working on it. Its plan is not in use means OSM Backup on the PC refuses the folders or settings you gave it, and goes on with the ones it had: open the PC to see why, and change them in Settings....

Click a PC to see more about it, and to:

  • Back up now: the PC starts at its next contact, within a minute while it is on.
  • Versions...: its versions, to restore from (below).
  • Settings...: its name, the folders it backs up and what it leaves out (one per line), when it backs up (every day from an hour you choose, every hour, or by hand), which versions stay, the room it may take on this server, and a limit on its upload speed. A folder that is a link (on some Linux systems /home leads to /var/home) is backed up where it leads, and the PC says so: write that folder instead to stop the message. On Linux, a disk mounted inside a folder (/srv/data inside /srv) is not backed up unless you add it as a folder of its own: the PC says which disks it left out. The same goes for a folder that is a file system of its own without being a disk, such as a Btrfs subvolume (/home/anna inside /home): the PC names the first twenty, and says how many more there are. A folder that is the place of a disk (in /etc/fstab) whose disk is not mounted is not backed up as an empty folder: the PC says that its disk is not mounted, and the versions that hold its files stay. On Windows, what is left out is matched whatever the letter case (c:\users or C:\Users). A list pasted from a document is split into lines also at the line breaks that a text field does not show; a line with a character that cannot be typed is refused, with a ? where it is.
  • Check its backup: the server checks the backup now, and reads part of its data. Not while the PC backs up or restores: try again when it has finished. This check does not replace the month's.
  • Repair its backup... appears when a check could not read the backup's index, which a PC, or ransomware on it, can spoil. The server builds the index again from the backup's data, then checks the backup. No version and no file of it is deleted. The PC cannot back up meanwhile.
  • Remove...: the PC no longer backs up, and the server refuses it from then on. Keep its versions to restore from later, or delete them for good. OSM Backup stays installed on the PC until you uninstall it there. Deleting its versions is refused while the volume that keeps them is not mounted, or while PC backups were not turned on again after a full restore: nothing is changed then, and the message says what to do first.

A PC backs up once a day as soon as the hour has come; a PC that was off at that hour backs up as soon as it is on again. A backup that takes hours does not move the next one later: the next day it starts at the hour again. On the day the clocks skip that hour in spring, it starts just after the change. Every hour means once in each hour. A backup that fails is tried again 30 minutes later, also when the PC's clock went back. A PC that has not been in touch for three days is a notification.

By default the latest version stays, then one a day for 7 days, one a week for 4 weeks, one a month for 12 months and one a year for 2 years, and the latest version that holds each of the PC's folders (one that was missing for a while, a disk unplugged, keeps its last copy; a version that holds the folder empty does not count as holding it). The server goes by when each version arrived, never by the PC's clock, and tidies up once a week, at night (or during the day, once a day late, when the server is off at night); it checks each PC's backup once a month the same way. The PC tidied longest ago goes first, and a PC whose backup cannot be tidied (it has damage) is tried again the next day while the others go on. A PC shut down in the middle of its backup leaves nothing that stops the tidying for good: the server waits until that PC is in touch again, three days at most (a laptop put to sleep in its backup goes on with it when it wakes), and it removes what a backup that was cut short left behind once nobody has held it for half an hour. The server never tidies or checks a PC's backup while that PC backs up or restores: it tries again within the hour, which is no failure and no notification, unless it goes on for three days. A notification tells apart damage (with Repair its backup... when the server can mend it), a check that could not run, and a backup that could not be tidied. A PC over the room it may take has its backups refused until older versions go, or until you raise its limit; you can still restore its files. A new limit counts at once, from the room the PC's versions took when last measured (the server measures every hour).

OSM Backup installed before 11 November 2026 goes by the PC's own clock when it clears up after a backup that was cut short. On a PC whose clock is more than 20 minutes ahead of the server's (or whose name is the server's), that could damage a version while the server tidies. The server then leaves that PC's backup alone, keeps all its versions, and tells you: set the clock right, or bring OSM Backup on that PC up to date (download it again on the PC and run it: Add a PC... has it, and it keeps its pairing). An up-to-date OSM Backup does not depend on any clock.

Through OSM Connect, changing the folders a PC backs up, or what it leaves out, asks for your second step again.

Restoring a PC's files

  1. Click the PC, then Versions.... The newest version comes first.
  2. Click Browse... on a version, and tick the files and folders you want. Open a folder by its name; the path at the top goes back.
  3. Then:
    • Send back to the PC: the PC writes them into a new folder named after the date and time, with the folders they were in: under C:\OSM Restore on Windows, under /var/lib/osm-backup/restore on Linux. Nothing on the PC is replaced. The PC starts at its next contact. Only administrators may open these folders. On Windows, when File Explorer says that you don't have permission to open C:\OSM Restore, click Continue: Windows gives your account access. OSM Backup makes the folder private again at the next restore, so Windows asks again then.
    • Download: one file or folder at a time, to the computer you are using. A folder comes as a ZIP file. A file or folder whose name is not in UTF-8 cannot be downloaded alone: download the folder it is in. The server makes the download ready on the volume of the PC backups, and keeps room free there for the PCs' backups meanwhile: as much again as the download takes, at least 1 GB and at most 10 GB. A download that does not fit is refused before it starts. While the server tidies or repairs that PC's backup, a download from it is refused with a message: try again when that has ended (the background tasks show it).

A PC that no longer backs up cannot receive files, but you can still download from its versions.

Whole computers

Backup > Computers > Whole computers backs up the office's PCs and servers whole with UrBackup, a free app of the App Catalog: each computer's files every few hours, and for Windows an image of its disks, to bring the computer back whole on a new disk. Everything stays on this server; nothing goes to a cloud. It works beside PCs and servers (OSM Backup, above), which keeps chosen folders safe from ransomware.

  1. Install UrBackup (the page has a button to it in the App Catalog). Choose the volume for the backups.
  2. Install the UrBackup client on each PC (The client for each PC opens urbackup.org). On the office network, the PC finds this server by itself and appears on the page within a few minutes.
  3. The page shows each computer: whether it is on, its last backup of files and of the whole disk (On time or Late; Never backed up for one UrBackup has known for more than 3 days without a backup, and under Disk image for a Windows computer whose disks were never imaged in that time: without an image it cannot be brought back whole), the space it uses, and what was done lately. Back up now starts a backup: the files that changed or all of them, and for Windows an image of the disks.

A computer outside the office (a laptop at home): A computer outside the office... gives the name and the key to type in its UrBackup client (Settings, Internet), shown once: the box stays until you press I have kept it. This server must then be reachable on port 55415 from where the computer is: forward that port on your router. OSM never opens it by itself.

UrBackup keeps its own schedule and decides how many backups it keeps (Open UrBackup, Settings). It restores a file from its own page, and a whole computer from its restore stick. OSM tells the Administrators in the notifications when a computer's backups are late or it was never backed up, and again when they are on time; a computer removed from UrBackup, or UrBackup uninstalled, takes its warning along. The monthly report and the compliance pack count the same. When OSM cannot read UrBackup at all for three hours (it does not answer, or its admin password was changed), a notification says so and why: until it can, OSM does not know of late backups. Another one says when it can again.

The system itself

  • The way back after an update: if OSM itself does not start after its update, its version before comes back by itself, and a new kernel is tried once before it is kept. There is no way back by hand. See System.
  • Configuration backup: in Settings > Updates and Recovery > Configuration backup, Export saves, and Import... brings back on a new installation, Desktop Access, automatic updates, the server's screen, the groups, the shared folders with their permissions, size limits, recycle bins, Time Machine, snapshot schedules and NFS rules, and whether the firewall is on. It does not bring back the accounts and passwords, the network, the backup tasks or the apps. An import shows what it could not make: a locked encrypted folder whose permissions the file changes is left as it is (unlock it, then import again). It also keeps the record of when the OSM license terms were accepted, and brings it back onto a server that has none (Licenses).

Reset to the defaults

Settings > Updates and Recovery > Reset to the defaults puts OSM's settings back to how a new installation has them, and keeps your data. The page lists exactly what is reset and what stays. In short:

  • Reset: the network (DHCP), the web desktop's ports and sign-in settings, the firewall's lists, the ports on the router, the proxy, the password rules, automatic updates, the email settings, and everyone's sign-ins.
  • Kept: the volumes, shared folders and every file, snapshots, the apps and virtual machines with their data, the backup, cloud and replication tasks, certificates, and the accounts, unless you choose to reset them too.

First the reset keeps a copy of the settings as they were (a restore point). When that copy cannot be made (the system disk is full), nothing is reset: free some room on the system disk, then try again.

The reset menu on the server's own screen (key R) does the same, for when the web desktop cannot be reached. There alone, when the copy cannot be made, it asks a second time whether to go on without it: the old settings cannot be brought back then. With the accounts too, it makes one new Administrator, administrator, and shows its password once (three words and six digits): sign in with it, then choose your own when the server asks.

The web desktop goes back to ports 5000 and 5001. When another program (an app) already uses one of them, the reset is refused before it changes anything, and says which port: give that app another port first, then reset.

On a server of a High Availability pair the network is not reset: the other server reaches this one at its address (the heartbeat, the mirrors, its firewall). The page lists the network under Kept there, the reset leaves it as it is and says so, and the network back to DHCP in the reset menu on the server's screen is refused. To reset the network, remove the pair first (High Availability).

A plan that works

  1. A backup task with everything (shared folders, home folders, settings and accounts, apps' data) to a USB drive or another volume, every night.
  2. A second task to an off-site destination (an S3 store, or a server at another place), every night or week.
  3. Immutable snapshots of the shared folders that matter most (Storage), so that ransomware cannot destroy every copy, and two-step sign-in for every Administrator.
  4. The backup passwords written down away from the server.
  5. Read the monthly report, and once a year try a full restore onto a spare computer or a virtual machine.