Data, Backup & Sync

Where your data lives and how it moves. A business keeps its main records (business, users, settings) in one place and its bills and vouchers separately for each financial year. In Local DB mode that is on the device; on a Local Server it is on the server (Lite or SQL Server); in cloud mode it is on the SKS service. Devices sync through the server; backups are files you keep. Hospital, diagnostic centre, hotel and construction businesses keep one file across years and never open a new financial year.

Where it is in the app

Settings > Data Manager, Settings > Financial Years, Server Admin from the login screen (Windows local server), Tools > Switch to Server / Switch to Local, the Sync button on the POS page, and the Local Setup / Server Admin tools.

How devices connect

flowchart TD
    subgraph Cloud["Internet mode"]
        A1[Device] <--> C[(SKS cloud service)]
        A2[Device] <--> C
        B[Buyer app · online store] <--> C
    end
    subgraph LAN["Local Server mode"]
        S[(Server: Windows service or SKS Server app
Lite: one data file per year, or SQL Server)] D1[Counter 1] <--> S D2[Counter 2 / phone] <--> S W[Waiter app · KDS] <--> S S -.->|optional online sync| C end subgraph Solo["Local DB mode"] L[(One device · one data file per year)] L -->|Switch to Server| S end S & L --> BK[Backup file · restore · export]
Pick the mode per device at first run; a solo device can graduate to a server later.

Tasks

What carries into a new year

Creating a year is not a copy of the old one. The dialog asks, in three groups, what should be there on day one — everything else stays in the year it happened in and is read by switching back to it.

An open record carries over what it is and what is still outstanding, not its history: a loan arrives without its past instalments, and the balance it carries is what is still owed. What was already settled stays readable in the closed year.

When something goes wrong

flowchart TD
    A[Trouble] --> B{What kind?}
    B -->|server not reachable| C[Counters keep working locally where allowed]
    C --> D[Fix the server or the network]
    D --> E[Sync catches up automatically]
    B -->|a device is behind| F[Sync now · check when each kind of data last synced]
    B -->|year is ending| G[Create the next financial year early]
    G --> H[Balances carry forward]
    B -->|data lost or device dead| I{Recent backup?}
    I -->|yes| J[Restore it · re-enter the gap]
    I -->|no| K[Only what synced elsewhere survives]
    K --> L[Set a backup routine now]
    E & F & H & J --> M[Back to normal]
The branch that ends badly is the one with no backup — every other problem here is recoverable.

Good practice