[{"data":1,"prerenderedAt":403},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fadministration\u002Fbackups":179,"\u002Fdocs\u002Fadministration\u002Fbackups-surround":398},[4,33,64,100,130,165],{"title":5,"path":6,"stem":7,"children":8,"icon":32},"Start here","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,12,17,22,27],{"title":10,"path":6,"stem":7,"icon":11},"What it does","i-lucide-book-open",{"title":13,"path":14,"stem":15,"icon":16},"Signing in","\u002Fdocs\u002Fgetting-started\u002Fsigning-in","1.docs\u002F1.getting-started\u002F2.signing-in","i-lucide-log-in",{"title":18,"path":19,"stem":20,"icon":21},"Finding your way around","\u002Fdocs\u002Fgetting-started\u002Ffinding-your-way","1.docs\u002F1.getting-started\u002F3.finding-your-way","i-lucide-compass",{"title":23,"path":24,"stem":25,"icon":26},"Who can do what","\u002Fdocs\u002Fgetting-started\u002Froles","1.docs\u002F1.getting-started\u002F4.roles","i-lucide-users",{"title":28,"path":29,"stem":30,"icon":31},"Words you will see","\u002Fdocs\u002Fgetting-started\u002Fwords","1.docs\u002F1.getting-started\u002F5.words","i-lucide-book-a","i-lucide-rocket",{"title":34,"icon":35,"path":36,"stem":37,"children":38,"page":63},"Selling","i-lucide-scan-barcode","\u002Fdocs\u002Fselling","1.docs\u002F2.selling",[39,43,48,53,58],{"title":40,"path":41,"stem":42,"icon":35},"Making a sale","\u002Fdocs\u002Fselling\u002Fthe-till","1.docs\u002F2.selling\u002F1.the-till",{"title":44,"path":45,"stem":46,"icon":47},"Receipts and the printer","\u002Fdocs\u002Fselling\u002Freceipts","1.docs\u002F2.selling\u002F2.receipts","i-lucide-receipt",{"title":49,"path":50,"stem":51,"icon":52},"A day's sales, voids and refunds","\u002Fdocs\u002Fselling\u002Fsales-by-day","1.docs\u002F2.selling\u002F3.sales-by-day","i-lucide-calendar-days",{"title":54,"path":55,"stem":56,"icon":57},"Closing the day","\u002Fdocs\u002Fselling\u002Fclosing-the-day","1.docs\u002F2.selling\u002F4.closing-the-day","i-lucide-send",{"title":59,"path":60,"stem":61,"icon":62},"When Chemistbook is not answering","\u002Fdocs\u002Fselling\u002Fwhen-you-cannot-reach-the-pc","1.docs\u002F2.selling\u002F5.when-you-cannot-reach-the-pc","i-lucide-plug-zap",false,{"title":65,"icon":66,"path":67,"stem":68,"children":69,"page":63},"Stock","i-lucide-boxes","\u002Fdocs\u002Fstock","1.docs\u002F3.stock",[70,75,80,85,90,95],{"title":71,"path":72,"stem":73,"icon":74},"Adding a product","\u002Fdocs\u002Fstock\u002Fproducts","1.docs\u002F3.stock\u002F1.products","i-lucide-pill",{"title":76,"path":77,"stem":78,"icon":79},"Finding a medicine on the FDA list","\u002Fdocs\u002Fstock\u002Fthe-fda-register","1.docs\u002F3.stock\u002F2.the-fda-register","i-lucide-badge-check",{"title":81,"path":82,"stem":83,"icon":84},"Ordering and taking a delivery","\u002Fdocs\u002Fstock\u002Fpurchases-and-deliveries","1.docs\u002F3.stock\u002F3.purchases-and-deliveries","i-lucide-truck",{"title":86,"path":87,"stem":88,"icon":89},"Expiring stock and stock set aside","\u002Fdocs\u002Fstock\u002Fexpiry-and-quarantine","1.docs\u002F3.stock\u002F4.expiry-and-quarantine","i-lucide-calendar-clock",{"title":91,"path":92,"stem":93,"icon":94},"Throwing stock away properly","\u002Fdocs\u002Fstock\u002Fdisposals","1.docs\u002F3.stock\u002F5.disposals","i-lucide-flame",{"title":96,"path":97,"stem":98,"icon":99},"Counting the shelf","\u002Fdocs\u002Fstock\u002Fstocktakes","1.docs\u002F3.stock\u002F6.stocktakes","i-lucide-clipboard-list",{"title":101,"icon":102,"path":103,"stem":104,"children":105,"page":63},"Staying legal","i-lucide-shield-check","\u002Fdocs\u002Fcompliance","1.docs\u002F4.compliance",[106,110,115,120,125],{"title":107,"path":108,"stem":109,"icon":79},"Your licence and the shop's details","\u002Fdocs\u002Fcompliance\u002Flicence-and-shop","1.docs\u002F4.compliance\u002F1.licence-and-shop",{"title":111,"path":112,"stem":113,"icon":114},"Reminders","\u002Fdocs\u002Fcompliance\u002Freminders","1.docs\u002F4.compliance\u002F2.reminders","i-lucide-bell",{"title":116,"path":117,"stem":118,"icon":119},"Reports for the accountant and the inspector","\u002Fdocs\u002Fcompliance\u002Freports-and-exports","1.docs\u002F4.compliance\u002F3.reports-and-exports","i-lucide-file-spreadsheet",{"title":121,"path":122,"stem":123,"icon":124},"The day's, week's and month's figures","\u002Fdocs\u002Fcompliance\u002Fsales-summaries","1.docs\u002F4.compliance\u002F4.sales-summaries","i-lucide-chart-column",{"title":126,"path":127,"stem":128,"icon":129},"Who did what","\u002Fdocs\u002Fcompliance\u002Faudit-trail","1.docs\u002F4.compliance\u002F5.audit-trail","i-lucide-scroll-text",{"title":131,"icon":132,"path":133,"stem":134,"children":135,"page":63},"Looking after the shop","i-lucide-settings-2","\u002Fdocs\u002Fadministration","1.docs\u002F5.administration",[136,140,145,150,155,160],{"title":137,"path":138,"stem":139,"icon":26},"People and what they may do","\u002Fdocs\u002Fadministration\u002Fusers-and-roles","1.docs\u002F5.administration\u002F1.users-and-roles",{"title":141,"path":142,"stem":143,"icon":144},"Messages to the owner","\u002Fdocs\u002Fadministration\u002Fmessages","1.docs\u002F5.administration\u002F2.messages","i-lucide-message-square-text",{"title":146,"path":147,"stem":148,"icon":149},"The Chemistbook window","\u002Fdocs\u002Fadministration\u002Finstall-as-an-app","1.docs\u002F5.administration\u002F3.install-as-an-app","i-lucide-app-window",{"title":151,"path":152,"stem":153,"icon":154},"Backups","\u002Fdocs\u002Fadministration\u002Fbackups","1.docs\u002F5.administration\u002F4.backups","i-lucide-database-backup",{"title":156,"path":157,"stem":158,"icon":159},"Updates","\u002Fdocs\u002Fadministration\u002Fupdates","1.docs\u002F5.administration\u002F5.updates","i-lucide-package-check",{"title":161,"path":162,"stem":163,"icon":164},"Your colours, logo and receipt","\u002Fdocs\u002Fadministration\u002Fyour-brand","1.docs\u002F5.administration\u002F6.your-brand","i-lucide-palette",{"title":166,"icon":167,"path":168,"stem":169,"children":170,"page":63},"The law behind it","i-lucide-scale","\u002Fdocs\u002Fregulation","1.docs\u002F6.regulation",[171,175],{"title":172,"path":173,"stem":174,"icon":102},"What an OTCMS may sell","\u002Fdocs\u002Fregulation\u002Fwhat-the-shop-may-sell","1.docs\u002F6.regulation\u002F1.what-the-shop-may-sell",{"title":176,"path":177,"stem":178,"icon":129},"The records the law wants","\u002Fdocs\u002Fregulation\u002Fthe-records-the-law-wants","1.docs\u002F6.regulation\u002F2.the-records-the-law-wants",{"id":180,"title":151,"body":181,"description":391,"extension":392,"links":393,"meta":394,"navigation":395,"path":152,"seo":396,"stem":153,"__hash__":397},"docs\u002F1.docs\u002F5.administration\u002F4.backups.md",{"type":182,"value":183,"toc":380},"minimark",[184,193,196,202,207,210,213,216,220,226,249,259,262,266,269,295,301,305,308,335,338,344,348,355,362,366,372],[185,186,187,188,192],"p",{},"Chemistbook copies everything it holds (the products, the stock, every sale, every person, the whole record) into one locked file, checks that the copy is whole, and puts a second copy ",[189,190,191],"strong",{},"off the PC",": on a USB drive, or in a folder that syncs to the cloud. If the PC dies, is stolen or is wiped, the shop's records are on the drive and can be put back on a new PC in an afternoon.",[185,194,195],{},"It does this by itself. Every hour it looks at when the last good backup was made, and makes one when that was 20 hours ago or more. A PC that is switched off at night is fine: the backup is made within an hour of switching it on.",[185,197,198,199],{},"The owner's part is small but it matters: ",[189,200,201],{},"let the drive come back to the PC every day, and keep the passphrase safe.",[203,204,206],"h2",{"id":205},"the-drive","The drive",[185,208,209],{},"The copy off the PC goes to the folder chosen at install, usually on a USB drive. Take the drive home in the evening and bring it back in the morning: a drive that never leaves the shop is lost with the PC in a fire or a burglary, and a drive that is always plugged in can be locked along with the PC by the kind of virus that holds files to ransom.",[185,211,212],{},"While the drive is away, the copy waits. It is tried again after five minutes, a quarter of an hour, half an hour and then every hour, and goes as soon as the drive is plugged in. Chemistbook only adds to the drive; it never deletes a backup from it. A backup of a small shop is about the size of a few photographs, so a 32 GB drive lasts for years.",[185,214,215],{},"On the PC, the newest 14 backups are kept, and any that have not reached the drive yet.",[203,217,219],{"id":218},"the-backups-screen","The Backups screen",[185,221,222,225],{},[189,223,224],{},"Comply → Compliance → Backups"," shows two things, apart:",[227,228,229,240],"ul",{},[230,231,232,235,236],"li",{},[189,233,234],{},"The backups on the PC:"," when the last good one was made, its size, whether it is encrypted, and the recent runs with a note on each, such as ",[237,238,239],"em",{},"Records up to audit row 2126 and stock row 1709; checked whole.",[230,241,242,245,246],{},[189,243,244],{},"Off the PC:"," whether the newest backup has reached the drive, or how many are waiting and why, for example ",[237,247,248],{},"The off-site folder E:\\Chemistbook backups is not there. Is the drive plugged in?",[185,250,251,254,255,258],{},[189,252,253],{},"Back up now",", for the owner and the practitioner, makes a backup on the spot. ",[189,256,257],{},"Check now"," runs the daily check again.",[185,260,261],{},"Each backup is opened and checked through before it counts: a copy that is damaged, or that is missing anything saved before it began, is thrown away and the run says it failed.",[203,263,265],{"id":264},"the-daily-check","The daily check",[185,267,268],{},"Every day Chemistbook checks the last backup, at 07:35 or in the first hour the PC is on after that, and never at night. If the last one failed, or the last good one is more than 28 hours old, you will see three things:",[227,270,271,282,288],{},[230,272,273,274,277,278,281],{},"a ",[189,275,276],{},"Backup"," reminder under ",[189,279,280],{},"Comply → Reminders",", due today;",[230,283,273,284,287],{},[189,285,286],{},"message"," to the owners, by e-mail and by text, once a day until it is put right;",[230,289,290,291,294],{},"the problem at the top of the dashboard under ",[189,292,293],{},"Needs attention",".",[185,296,297,298,294],{},"If backups have been waiting to go off the PC for more than 28 hours, the dashboard says so too, under ",[189,299,300],{},"Backups not off the PC",[203,302,304],{"id":303},"when-a-warning-comes","When a warning comes",[185,306,307],{},"Most of the time it is one of three things:",[309,310,311,320,326],"ol",{},[230,312,313,316,317,319],{},[189,314,315],{},"The PC was off for more than a day."," Switch it on and press ",[189,318,253],{},", or wait: it backs itself up within the hour.",[230,321,322,325],{},[189,323,324],{},"The drive has been away."," The backups are made, and waiting to go off the PC. Plug the drive in; they go within minutes.",[230,327,328,331,332,334],{},[189,329,330],{},"The backup failed."," The note beside the run under ",[189,333,151],{}," says why, for example a disk that is full.",[185,336,337],{},"If it is none of these, or the warning comes a second morning, ask whoever looks after the PC. Once a backup has been made, close the reminder with a note saying what it was.",[339,340,341],"warning",{},[185,342,343],{},"Do not let it slide. A shop that goes a week without a backup off the PC is one bad morning away from losing that week's sales, the stock counts and the record the inspector will ask for.",[203,345,347],{"id":346},"the-passphrase","The passphrase",[185,349,350,351,354],{},"The backup file is locked with a passphrase chosen when Chemistbook was installed, so a drive that goes missing gives up nothing. Write it on the inside cover of the licence folder. ",[189,352,353],{},"Keep it there."," Without it the backup cannot be opened by anyone, Firmitek included, and a backup that cannot be opened is no backup at all.",[185,356,357,358,361],{},"If the Backups page says ",[189,359,360],{},"the backups are not encrypted",", no passphrase was set and anyone holding the drive can read every record on it. It is not an emergency, and it sends no message, but ask whoever looks after the PC to set one; the next backup is locked.",[203,363,365],{"id":364},"try-it-once-a-quarter","Try it once a quarter",[185,367,368,369,371],{},"A backup that has never been put back is a hope, not a plan. Every three months, ask whoever looks after the PC to put the newest backup onto a spare PC and check it: the restore says whether the records are whole and gives their seal. Add a reminder under ",[189,370,280],{}," so the next one is raised for you.",[185,373,374,375,294],{},"The steps for whoever does it are under ",[376,377,379],"a",{"href":378},"\u002Fdocs\u002Fsetting-up\u002Fbackups-restore-and-updates","Backups, restore and updates",{"title":381,"searchDepth":382,"depth":383,"links":384},"",1,2,[385,386,387,388,389,390],{"id":205,"depth":383,"text":206},{"id":218,"depth":383,"text":219},{"id":264,"depth":383,"text":265},{"id":303,"depth":383,"text":304},{"id":346,"depth":383,"text":347},{"id":364,"depth":383,"text":365},"Chemistbook backs itself up every day the PC is on and copies each backup off the PC. What the owner checks, where the drive goes, and what to do when a warning comes.","md",null,{},{"icon":154},{"title":151,"description":391},"hwcNlzRTAOCVWpY5T2xt0OZ738KA9kRKfxI_ggAmmt0",[399,401],{"title":146,"path":147,"stem":148,"description":400,"icon":149,"children":-1},"Chemistbook opens from its shortcut on the shop PC, in a window of its own, and nowhere else.",{"title":156,"path":157,"stem":158,"description":402,"icon":159,"children":-1},"Nothing changes on the shop PC until someone changes it. How an update arrives, what the owner decides, and what to expect on the day.",1791653126122]