[{"data":1,"prerenderedAt":1482},["ShallowReactive",2],{"doc-\u002Fdocs\u002Fsystem\u002Fstorage-and-backups":3,"docs-nav":1370},{"id":4,"title":5,"body":6,"description":1361,"extension":1362,"meta":1363,"modified":1364,"navigation":1365,"path":1366,"seo":1367,"stem":1368,"__hash__":1369},"docs\u002Fdocs\u002Fsystem\u002Fstorage-and-backups.md","Storage and Backups",{"type":7,"value":8,"toc":1331},"minimark",[9,13,22,25,30,33,50,84,87,114,120,126,130,141,146,149,170,173,192,196,199,220,226,230,233,259,266,280,284,294,313,316,320,323,326,329,333,336,361,371,377,392,396,405,409,420,423,441,445,450,453,457,470,487,490,494,504,508,514,528,531,534,557,579,583,590,612,616,679,683,711,715,719,739,756,786,812,816,822,898,901,908,918,922,963,1038,1053,1071,1074,1124,1132,1136,1142,1302,1308,1327],[10,11,5],"h1",{"id":12},"storage-and-backups",[14,15,16,17,21],"p",{},"Quark keeps your files on drives you can hold in your hand. The ",[18,19,20],"strong",{},"Storage"," tab shows each drive, how full it is, and\nhow healthy it looks. It also tells you how well protected your files are.",[14,23,24],{},"A backup is a second copy of everything, on a separate drive. If the first drive fails, the copy is still there. This\npage shows you how to make one, how to check it, and how to get files back from it.",[26,27,29],"h2",{"id":28},"how-to-use-it","How to use it",[14,31,32],{},"To see your drives:",[34,35,36,44],"ol",{},[37,38,39,40,43],"li",{},"Open ",[18,41,42],{},"System"," from the app menu.",[37,45,46,47,49],{},"Pick the ",[18,48,20],{}," tab.",[14,51,52,53,56,57,60,61,64,65,56,68,56,71,56,74,56,77,60,80,83],{},"Only admins see the buttons that change things: ",[18,54,55],{},"Mount",", ",[18,58,59],{},"Set Role"," and ",[18,62,63],{},"Eject"," on a drive, and on a backup\ndrive ",[18,66,67],{},"Back up onto this drive",[18,69,70],{},"Schedule",[18,72,73],{},"Verify",[18,75,76],{},"Restore files",[18,78,79],{},"Restore vaults",[18,81,82],{},"Restore\nchat",".",[14,85,86],{},"To back up your Quark (admins only):",[34,88,89,92,102,108],{},[37,90,91],{},"Plug in the drive you want to back up onto.",[37,93,94,95,97,98,101],{},"On its card, choose ",[18,96,59],{},", then ",[18,99,100],{},"Backup drive",". Enter your username and password when asked.",[37,103,104,105,107],{},"Choose ",[18,106,67],{}," on the same card.",[37,109,110,111,83],{},"The window lists your other drives, all ticked. Untick any you want to leave out, then choose ",[18,112,113],{},"Start Backup",[14,115,116,117,119],{},"Backing up doesn't ask for a password. When it's done, choose ",[18,118,63],{}," on the drive's card. Once Quark says the drive\nis safe to unplug, unplug it and keep it somewhere else.",[14,121,122,125],{},[18,123,124],{},"Upgraded from Quark v0.58 or earlier?"," Backups are now kept differently, and a backup made before the upgrade is\nno longer read. Back up again after you upgrade.",[26,127,129],{"id":128},"what-the-storage-tab-shows","What the Storage tab shows",[14,131,132,133,136,137,140],{},"At the top, admins get a folded ",[18,134,135],{},"Where things live"," card. Open it for one line each on people, who can open what,\nconnected devices, disks and passwords, with a link to the page that looks after each. This tab is the ",[18,138,139],{},"Disks"," one,\nmarked \"You are here\".",[142,143,145],"h3",{"id":144},"how-protected-your-files-are","How protected your files are",[14,147,148],{},"A card at the top of the tab gives your files one of three levels:",[150,151,152,158,164],"ul",{},[37,153,154,157],{},[18,155,156],{},"Unprotected",": your files are only on this Quark. One broken drive could take them.",[37,159,160,163],{},[18,161,162],{},"Basic",": one backup drive holds a recent copy.",[37,165,166,169],{},[18,167,168],{},"Protected",": two or more backup drives hold a recent copy.",[14,171,172],{},"A backup counts as recent for 30 days. After that, the level drops until you back up again. The card lists each backup\ndrive with the date it was last backed up, or the reason it doesn't count.",[14,174,175,176,179,180,183,184,187,188,191],{},"The card also suggests one next step. An admin can tap it to ",[18,177,178],{},"Assign the backup role"," or ",[18,181,182],{},"Start a backup",". Once you\nhave two backup drives, it reminds you to ",[18,185,186],{},"Keep one backup drive somewhere else",". Tap ",[18,189,190],{},"Why two backup drives?"," to\nsee what a fire, a theft or a failed drive does to one copy compared with three.",[142,193,195],{"id":194},"each-drives-card","Each drive's card",[14,197,198],{},"Every drive gets a card with:",[150,200,201,211,214,217],{},[37,202,203,204,207,208],{},"its name, and whether it is ",[18,205,206],{},"Inside your Quark"," or a ",[18,209,210],{},"Plugged-in drive",[37,212,213],{},"how full it is, and what kind of files fill it",[37,215,216],{},"its role, if it has one",[37,218,219],{},"its health",[14,221,222,223],{},"If nothing is attached, the tab says ",[18,224,225],{},"No storage devices detected.",[142,227,229],{"id":228},"drive-health","Drive health",[14,231,232],{},"Each drive shows one of four health words, with a short sentence that explains it:",[150,234,235,241,247,253],{},[37,236,237,240],{},[18,238,239],{},"Healthy",": nothing worrying.",[37,242,243,246],{},[18,244,245],{},"Watch",": still working, but keep an eye on it. A drive that has run for a very long time, or that has started to\nwork around worn spots, shows this.",[37,248,249,252],{},[18,250,251],{},"Replace soon",": plan to move your files off this drive and buy a new one.",[37,254,255,258],{},[18,256,257],{},"Unknown",": Quark couldn't read the drive's health. That isn't a sign the drive is fine, so treat it with care.",[14,260,261,262,265],{},"Tap ",[18,263,264],{},"Show details"," to see the readings behind the word, such as how many hours the drive has run and how warm it is.",[14,267,268,269,271,272,275,276,279],{},"Quark looks out for you here. If you try to store files or a backup on a ",[18,270,251],{}," drive, it asks first. Choose\n",[18,273,274],{},"Use this drive anyway"," to go ahead, or ",[18,277,278],{},"Cancel"," to stop. Files already on the drive stay where they are either way.",[26,281,283],{"id":282},"drive-roles","Drive roles",[14,285,286,287,289,290,293],{},"A role tells Quark what a drive is for. An admin sets it with ",[18,288,59],{}," on the drive's card, which opens ",[18,291,292],{},"Set Device\nRole",". Changing a role asks for your username and password.",[150,295,296,302,307],{},[37,297,298,301],{},[18,299,300],{},"Default Storage",": uploads and new folders go here, without asking. Only one drive can have this role. If a\nplugged-in drive has it, the storage inside your Quark is also copied onto it as you go.",[37,303,304,306],{},[18,305,100],{},": your other drives are copied onto it when you back up. A plugged-in drive or the storage inside\nyour Quark can have this role.",[37,308,309,312],{},[18,310,311],{},"Unassigned",": no special role.",[14,314,315],{},"Making the storage inside your Quark the backup drive helps if a plugged-in drive fails. Its own files are not copied\nanywhere, though, because they are on the same disk. For those, use a plugged-in backup drive.",[26,317,319],{"id":318},"making-a-backup","Making a backup",[14,321,322],{},"A backup copies your other drives onto the backup drive: all of them, or only the ones you leave ticked. One backup\ndrive is never copied onto another. Your chat and every account's vault are copied too, still locked with the same\nencryption. A vault in the backup stays locked under the password its account had when the backup was made, and its\nrecovery phrase if it had one. Nobody sets a separate backup password.",[14,324,325],{},"While the backup runs, the backup drive's card shows its progress, naming the drives being copied and how far along\nit is. When it ends, Quark says \"Backup completed successfully\", or tells you it failed.",[14,327,328],{},"The Quark does the work, not your phone or computer. You can close the app, and the backup keeps going. Only one backup\ncan run onto a drive at a time.",[142,330,332],{"id":331},"back-up-on-a-schedule","Back up on a schedule",[14,334,335],{},"An admin can have a backup drive back up by itself:",[34,337,338,343,356],{},[37,339,340,341,83],{},"On the backup drive's card, choose ",[18,342,70],{},[37,344,345,346,56,349,179,352,355],{},"Pick ",[18,347,348],{},"Daily",[18,350,351],{},"Weekly",[18,353,354],{},"Monthly",", and tick the drives to copy.",[37,357,104,358,83],{},[18,359,360],{},"Save",[14,362,363,364,366,367,370],{},"Quark checks every 15 minutes whether a backup is due. A drive that is unplugged when its backup comes due says \"Due,\nwill run when plugged in.\" and starts soon after you plug it back in. A drive that reads ",[18,365,251],{}," is skipped.\nChoose ",[18,368,369],{},"Off"," to stop the schedule.",[14,372,373,374,376],{},"Without a schedule, choose ",[18,375,67],{}," again from time to time. Later backups are quicker than the\nfirst.",[14,378,379,380,383,384,387,388,391],{},"Quark reminds admins with the bell at the top of the app. ",[18,381,382],{},"Back up this Quark"," appears while there has never been a\nbackup. ",[18,385,386],{},"Your backup is out of date"," appears once the last one is 30 days old. An admin can turn either reminder off\nin ",[18,389,390],{},"Settings → General",". The reminders only appear in the app.",[142,393,395],{"id":394},"keep-a-copy-somewhere-else","Keep a copy somewhere else",[14,397,398,399,404],{},"A backup drive that sits next to your Quark can be lost along with it in a fire, a flood or a break-in. Plug in, back\nup, eject, unplug, and keep the drive somewhere else, such as at a relative's house. The ",[400,401,403],"a",{"href":402},"\u002Fdocs\u002Fhelp\u002Fsecurity-guide","Security\nGuide"," explains the 3-2-1 rule this is part of.",[26,406,408],{"id":407},"what-a-backup-keeps","What a backup keeps",[14,410,411,412,415,416,419],{},"Each backup is its own complete copy, in a folder named for the date and time it started, inside a ",[18,413,414],{},"backups","\nfolder on the backup drive. In it, each drive you backed up has a folder: ",[18,417,418],{},"Built-in storage"," for the storage inside\nyour Quark, and the drive's name with \"(USB …)\" for a plugged-in drive. Your files sit in the same folders they had on\nQuark. A file that hasn't changed since the last backup takes no extra space on most drives. On a FAT32 or exFAT drive\nit is copied again.",[14,421,422],{},"Older backups stay, so you can get back a file you deleted or changed months ago. To make room:",[150,424,425,435],{},[37,426,427,430,431,434],{},[18,428,429],{},"Delete a backup yourself."," An admin sees the drive's backups on its card and can choose ",[18,432,433],{},"Delete backup",". It is\ngone for good, not moved to the trash.",[37,436,437,440],{},[18,438,439],{},"Let Quark make room."," When the drive is short of space, a new backup first deletes the oldest backups, one at a\ntime. It never deletes the newest one. If there still isn't room, the backup fails and says to delete old backups or\nuse a bigger drive.",[26,442,444],{"id":443},"checking-a-backup-with-verify","Checking a backup with Verify",[14,446,447,449],{},[18,448,73],{}," on a backup drive's card reads every file in its newest backup. It compares each one with the list Quark\nwrote when that backup finished. It tells you which backup it checked and how many files are fine, or how many are\nmissing or damaged.",[14,451,452],{},"Verify only checks. It doesn't fix or restore anything. On a drive with no backup yet, it asks you to back up onto it\nfirst.",[26,454,456],{"id":455},"getting-files-back","Getting files back",[14,458,459,460,462,463,466,467,49],{},"An admin can choose ",[18,461,76],{}," on the backup drive's card. The window, ",[18,464,465],{},"Restore files from this drive",", says\nwhich backup it reads, and lets you pick another when the drive holds several. It puts each drive's files back onto\nthat drive. A file that is already there is never overwritten. Files deleted since the backup come back too. If a\ndrive the files came from isn't plugged in any more, tick the box to put its files on the storage inside your Quark\ninstead. The restore runs on the Quark and shows on the ",[18,468,469],{},"Jobs",[14,471,472,473,476,477,480,481,56,484,486],{},"You can also copy files back yourself. Plug the backup drive into a laptop, open the ",[18,474,475],{},"quark"," folder, then ",[18,478,479],{},"data",",\n",[18,482,483],{},"files",[18,485,414],{},", the dated folder you want, and the drive's folder. They are ordinary files, so any computer can\nopen them.",[14,488,489],{},"The app can't restore the chat or vault copies yet.",[142,491,493],{"id":492},"before-you-reset-your-quark","Before you reset your Quark",[14,495,496,499,500,503],{},[18,497,498],{},"Reset this Quark"," has an option called ",[18,501,502],{},"Quark data on attached drives",". It is off unless you turn it on. When\nit's on, the reset erases Quark's folder on every drive plugged in at that moment, a backup drive included. Eject and\nunplug your backup drive before you reset.",[26,505,507],{"id":506},"what-quark-does-with-a-plugged-in-drive","What Quark does with a plugged-in drive",[14,509,510,511,513],{},"Quark checks for new drives every few seconds and sets them up on its own. You don't need to press anything. If a\ndrive is listed but not ready, an admin can press ",[18,512,55],{}," on its card to try again.",[14,515,516,517,519,520,523,524,527],{},"Sometimes a card says \"Quark can't reach this drive until it restarts.\" in place of ",[18,518,55],{},". An admin can choose\n",[18,521,522],{},"Restart Quark"," in ",[18,525,526],{},"Settings → Updates",". After the restart, the drive can be mounted. On a normal Quark box this is\nrare.",[14,529,530],{},"Most drives come formatted as exFAT, FAT32 or NTFS. Quark can use all three. It has no button to format or erase a\ndrive.",[14,532,533],{},"Quark makes its own folder on the drive and works inside it. This has two effects worth knowing:",[150,535,536,542],{},[37,537,538,541],{},[18,539,540],{},"Files already on the drive don't show up in Quark."," Plug in a drive full of old photos, and Files shows it empty,\nbecause the photos are outside Quark's folder. To bring them in, upload or copy them into Quark.",[37,543,544,547,548,550,551,553,554,556],{},[18,545,546],{},"On a computer, your files are easy to find."," Open the ",[18,549,475],{}," folder on the drive, then ",[18,552,479],{},", then\n",[18,555,483],{},". They are ordinary files in ordinary folders.",[14,558,559,560,562,563,566,567,570,571,573,574,576,577,83],{},"To unplug a drive safely, an admin chooses ",[18,561,63],{}," on its card. Quark asks ",[18,564,565],{},"Eject drive?"," first. On the default\nstorage drive it also warns that new uploads will fail until the drive is mounted again. Afterwards Quark says the\ndrive is safe to unplug, and the card reads ",[18,568,569],{},"Not mounted · safe to unplug"," with ",[18,572,55],{},". ",[18,575,63],{}," is greyed out\nwhile a backup runs. If the drive's files are in use, Quark refuses and shows why. The storage inside your Quark has no\n",[18,578,63],{},[142,580,582],{"id":581},"more-than-one-drive-in-files","More than one drive in Files",[14,584,585,586,589],{},"Every file and folder in ",[18,587,588],{},"Files"," has a small colored tag naming the drive it is on. Each drive keeps its own color.\nHover over a tag, or press and hold it, to see the drive's name.",[14,591,592,593,595,596,599,600,603,604,607,608,611],{},"With more than one drive, the views menu in ",[18,594,588],{}," has a ",[18,597,598],{},"Grouping"," switch. ",[18,601,602],{},"Unified"," shows all your drives\ntogether. ",[18,605,606],{},"Per-device"," lists each drive separately. ",[18,609,610],{},"Filter devices",", in the same menu, picks which drives Files\nshows. When you upload, Quark may ask which drive to put the files on.",[26,613,615],{"id":614},"if-something-goes-wrong","If something goes wrong",[150,617,618,624,636,646,652,661,667],{},[37,619,620,623],{},[18,621,622],{},"\"I plugged in my drive and my old files aren't there.\""," Quark only shows its own folder on a drive. Your old files\nare still there, outside that folder. Upload or copy them in.",[37,625,626,629,630,632,633,635],{},[18,627,628],{},"\"My drive doesn't show up.\""," Wait a few seconds, then refresh the ",[18,631,20],{}," tab. If the card is there but the\ndrive isn't ready, an admin can press ",[18,634,55],{},". If there's no card at all, try another USB port or cable.",[37,637,638,641,642,645],{},[18,639,640],{},"\"I don't see Back up onto this drive.\""," It appears only for admins, and only on a drive with the ",[18,643,644],{},"Backup\ndrive"," role.",[37,647,648,651],{},[18,649,650],{},"\"Restore can't find my backup.\""," A backup made before Quark v0.59 is no longer read. Back up again.",[37,653,654,657,658,660],{},[18,655,656],{},"\"My protection level dropped.\""," Your last backup is probably more than 30 days old, or the backup drive now reads\n",[18,659,251],{},". Back up again, or onto a healthier drive.",[37,662,663,666],{},[18,664,665],{},"\"A drive says Unknown.\""," Quark couldn't read its health. The drive may still work, but don't count on it as your\nonly copy.",[37,668,669,672,673,675,676,678],{},[18,670,671],{},"\"The card says Quark can't reach this drive until it restarts.\""," An admin can choose ",[18,674,522],{}," in\n",[18,677,526],{},", then mount the drive.",[26,680,682],{"id":681},"related","Related",[150,684,685,691,698,704],{},[37,686,687,690],{},[400,688,42],{"href":689},"\u002Fdocs\u002Fsystem",": the other System tabs, Health and Jobs",[37,692,693,697],{},[400,694,696],{"href":695},"\u002Fdocs\u002Fstart\u002Fhow-it-works","How It Works",": why your files live on the drive and not in the box",[37,699,700,703],{},[400,701,702],{"href":402},"Security Guide",": the 3-2-1 backup rule",[37,705,706,710],{},[400,707,709],{"href":708},"\u002Fdocs\u002Fstart\u002Fgetting-started","Getting Started",": day-to-day use of Files and Trash",[26,712,714],{"id":713},"nerd-notes","Nerd Notes",[142,716,718],{"id":717},"where-files-live-on-a-drive","Where files live on a drive",[14,720,721,722,726,727,730,731,734,735,738],{},"On a plugged-in drive, Quark's data directory is ",[723,724,725],"code",{},"\u003Cmount>\u002Fquark\u002Fdata",". Files are in ",[723,728,729],{},"quark\u002Fdata\u002Ffiles\u002F"," and the trash is\nbeside it in ",[723,732,733],{},"quark\u002Fdata\u002Ftrash\u002F",". Nothing outside ",[723,736,737],{},"quark\u002Fdata"," is shown in Files.",[14,740,741,742,745,746,56,749,56,752,755],{},"USB drives are polled every 5 seconds and auto-mounted. exFAT, FAT (",[723,743,744],{},"vfat",") and NTFS (",[723,747,748],{},"ntfs",[723,750,751],{},"ntfs3",[723,753,754],{},"ntfs-3g",") are\nmounted with the Quark service user's uid and gid so it can write to them.",[14,757,758,759,762,763,766,767,770,771,774,775,777,778,781,782,83],{},"A drive Quark sees in sysfs but has no ",[723,760,761],{},"\u002Fdev"," node for is listed with ",[723,764,765],{},"needsRestart: true"," on\n",[723,768,769],{},"GET \u002Fapi\u002Fv0\u002Fstorage\u002Fdevices\u002Fstatus",", and Quark never runs ",[723,772,773],{},"mount"," on it (quark #4268). Its card shows the restart line\nin place of ",[18,776,55],{},". In a container this is the normal case without ",[723,779,780],{},"--privileged",", and a restart alone won't fix it;\nsee ",[400,783,785],{"href":784},"\u002Fdocs\u002Fnerd-notes\u002Fself-hosting","Self-Hosting",[14,787,788,789,792,793,796,797,799,800,803,804,807,808,811],{},"Chat attachments are stored as ciphertext in ",[723,790,791],{},"chat-attachments\u002F"," in the Quark's data directory, beside ",[723,794,795],{},"files\u002F",", not\ninside it. A snapshot copies the ",[723,798,795],{}," area of each drive, and ",[723,801,802],{},"chat_backup.db"," holds only the ",[723,805,806],{},"chat_attachments","\nrows, so the attachment files themselves are not in a backup (quark ",[723,809,810],{},"docs\u002Fchat-security.md",").",[142,813,815],{"id":814},"snapshot-layout","Snapshot layout",[14,817,818,819,821],{},"A snapshot copies every managed device except the target into the target's ",[723,820,729],{},":",[823,824,825,838],"table",{},[826,827,828],"thead",{},[829,830,831,835],"tr",{},[832,833,834],"th",{},"Entry",[832,836,837],{},"What it is",[839,840,841,852,866,875,885],"tbody",{},[829,842,843,849],{},[844,845,846],"td",{},[723,847,848],{},"internal\u002F",[844,850,851],{},"the built-in storage's files",[829,853,854,859],{},[844,855,856],{},[723,857,858],{},"\u003Cname>_\u003Cserial>\u002F",[844,860,861,862,865],{},"each USB drive's files: its name, ",[723,863,864],{},"_",", and the first 8 characters of its serial",[829,867,868,872],{},[844,869,870],{},[723,871,802],{},[844,873,874],{},"the chat tables, as the ciphertext they already are",[829,876,877,882],{},[844,878,879],{},[723,880,881],{},"vault_items_backup.db",[844,883,884],{},"every account's wrapped vault key and vault items, as ciphertext",[829,886,887,892],{},[844,888,889],{},[723,890,891],{},"backup_manifest.json",[844,893,894,895,897],{},"the SHA-256 and size of every file above, which ",[18,896,73],{}," checks against",[14,899,900],{},"A file is skipped when the target already has it with the same size and a modification time no older than the source.\nNothing on the target is deleted, apart from the temp files the copy itself makes. The rest of the main database\n(accounts, sessions, groups, albums, sharing) is not in a snapshot.",[14,902,903,904,907],{},"The vault export needs no password. Each account's vault key is stored wrapped under that account's password and, when\nthe client had it, its recovery phrase, so the copy is exactly as private as the live database. Older snapshots may\nhold ",[723,905,906],{},"vault_backup.db",", the retired household vault encrypted under a separate recovery password. This version doesn't\nread it.",[14,909,910,911,56,913,60,915,83],{},"Restore has app buttons and routes now: ",[18,912,76],{},[18,914,79],{},[18,916,917],{},"Restore chat",[142,919,921],{"id":920},"protection-and-reminders","Protection and reminders",[14,923,924,927,928,931,932,56,935,56,938,941,942,56,945,948,949,56,952,56,955,958,959,962],{},[723,925,926],{},"GET \u002Fapi\u002Fv0\u002Fstorage\u002Fprotection"," returns ",[723,929,930],{},"level"," (",[723,933,934],{},"unprotected",[723,936,937],{},"basic",[723,939,940],{},"protected","), ",[723,943,944],{},"sentence",[723,946,947],{},"nextStep","\n(",[723,950,951],{},"assign-backup-role",[723,953,954],{},"start-backup",[723,956,957],{},"keep-one-elsewhere",") and ",[723,960,961],{},"drives",". On a fresh Quark:",[964,965,970],"pre",{"className":966,"code":967,"language":968,"meta":969,"style":969},"language-json shiki shiki-themes github-light github-dark","{\n  \"level\": \"unprotected\",\n  \"sentence\": \"Your files are only on this Quark. Assign the backup role to another drive.\",\n  \"nextStep\": \"assign-backup-role\",\n  \"drives\": []\n}\n","json","",[723,971,972,981,997,1010,1023,1032],{"__ignoreMap":969},[973,974,977],"span",{"class":975,"line":976},"line",1,[973,978,980],{"class":979},"sVt8B","{\n",[973,982,984,988,991,995],{"class":975,"line":983},2,[973,985,987],{"class":986},"sj4cs","  \"level\"",[973,989,990],{"class":979},": ",[973,992,994],{"class":993},"sZZnC","\"unprotected\"",[973,996,480],{"class":979},[973,998,1000,1003,1005,1008],{"class":975,"line":999},3,[973,1001,1002],{"class":986},"  \"sentence\"",[973,1004,990],{"class":979},[973,1006,1007],{"class":993},"\"Your files are only on this Quark. Assign the backup role to another drive.\"",[973,1009,480],{"class":979},[973,1011,1013,1016,1018,1021],{"class":975,"line":1012},4,[973,1014,1015],{"class":986},"  \"nextStep\"",[973,1017,990],{"class":979},[973,1019,1020],{"class":993},"\"assign-backup-role\"",[973,1022,480],{"class":979},[973,1024,1026,1029],{"class":975,"line":1025},5,[973,1027,1028],{"class":986},"  \"drives\"",[973,1030,1031],{"class":979},": []\n",[973,1033,1035],{"class":975,"line":1034},6,[973,1036,1037],{"class":979},"}\n",[14,1039,1040,1041,1044,1045,1048,1049,1052],{},"A drive counts when its role is ",[723,1042,1043],{},"snapshot-backup",", it isn't the built-in storage, its health isn't ",[723,1046,1047],{},"replace-soon",", and\nit has a completed snapshot job inside 30 days (",[723,1050,1051],{},"protectionutil.StaleAfter","). Partitions of one physical disk count\nonce. Offsite isn't tracked.",[14,1054,1055,1058,1059,1062,1063,1066,1067,1070],{},[723,1056,1057],{},"GET \u002Fapi\u002Fv0\u002Fnotifications"," gives an admin ",[723,1060,1061],{},"backup_due"," (never backed up) or ",[723,1064,1065],{},"backup_stale"," (last backup at least 30\ndays old, ",[723,1068,1069],{},"notificationutil.BackupStaleAfter","). Non-admins get an empty list. The list is worked out on request, so\nreminders never pile up.",[142,1072,229],{"id":1073},"drive-health-1",[14,1075,1076,1078,1079,1082,1083,931,1086,56,1089,56,1092,480,1094,1097,1098,1101,1102,1105,1106,1109,1110,1113,1114,1116,1117,1119,1120,1123],{},[723,1077,769],{}," carries ",[723,1080,1081],{},"health"," on each device: ",[723,1084,1085],{},"verdict",[723,1087,1088],{},"healthy",[723,1090,1091],{},"watch",[723,1093,1047],{},[723,1095,1096],{},"unknown","), a one-sentence ",[723,1099,1100],{},"reason",", the readings, and ",[723,1103,1104],{},"worseThanDefault",". On Linux it comes from ",[723,1107,1108],{},"smartctl"," JSON,\nthrough a root helper that ",[723,1111,1112],{},"quark install"," writes. Quark doesn't install ",[723,1115,1108],{},"; without it every drive is\n",[723,1118,1096],{},". On macOS it comes from ",[723,1121,1122],{},"diskutil info",". A verdict is cached for 15 minutes.",[14,1125,1126,1127,1129,1130,83],{},"40,000 or more power-on hours, or reallocated sectors, give ",[723,1128,1091],{},". Pending sectors, a failed SMART status, or a\nworn-out SSD give ",[723,1131,1047],{},[142,1133,1135],{"id":1134},"endpoints","Endpoints",[14,1137,1138,1139,83],{},"All paths are under ",[723,1140,1141],{},"\u002Fapi\u002Fv0\u002Fstorage",[823,1143,1144,1157],{},[826,1145,1146],{},[829,1147,1148,1151,1154],{},[832,1149,1150],{},"Method and path",[832,1152,1153],{},"Who",[832,1155,1156],{},"Notes",[839,1158,1159,1172,1184,1196,1223,1243,1264,1276,1290],{},[829,1160,1161,1166,1169],{},[844,1162,1163],{},[723,1164,1165],{},"GET \u002Fdevices\u002Fstatus",[844,1167,1168],{},"any user",[844,1170,1171],{},"drives, usage, role, health",[829,1173,1174,1179,1181],{},[844,1175,1176],{},[723,1177,1178],{},"GET \u002Fprotection",[844,1180,1168],{},[844,1182,1183],{},"protection level",[829,1185,1186,1191,1193],{},[844,1187,1188],{},[723,1189,1190],{},"GET \u002Fdevices\u002Fsnapshot-backup\u002Fstatus\u002F:id",[844,1192,1168],{},[844,1194,1195],{},"a backup job's progress",[829,1197,1198,1203,1206],{},[844,1199,1200],{},[723,1201,1202],{},"PUT \u002Fdevices\u002Frole",[844,1204,1205],{},"admin",[844,1207,1208,56,1211,56,1214,56,1217,56,1220],{},[723,1209,1210],{},"serial",[723,1212,1213],{},"role",[723,1215,1216],{},"username",[723,1218,1219],{},"password",[723,1221,1222],{},"acknowledgeHealth",[829,1224,1225,1230,1232],{},[844,1226,1227],{},[723,1228,1229],{},"POST \u002Fdevices\u002Fsnapshot-backup",[844,1231,1205],{},[844,1233,1234,56,1237,1239,1240],{},[723,1235,1236],{},"targetDeviceSerial",[723,1238,1222],{},"; returns ",[723,1241,1242],{},"jobId",[829,1244,1245,1250,1252],{},[844,1246,1247],{},[723,1248,1249],{},"POST \u002Fdevices\u002Fsnapshot-backup\u002Fverify",[844,1251,1205],{},[844,1253,1254,56,1257,1260,1261],{},[723,1255,1256],{},"deviceSerial",[723,1258,1259],{},"full","; the app sends ",[723,1262,1263],{},"full: true",[829,1265,1266,1271,1273],{},[844,1267,1268],{},[723,1269,1270],{},"POST \u002Fdevices\u002Fusb\u002F:serial",[844,1272,1205],{},[844,1274,1275],{},"mount a USB drive",[829,1277,1278,1283,1285],{},[844,1279,1280],{},[723,1281,1282],{},"DELETE \u002Fdevices\u002Fusb\u002F:serial",[844,1284,1205],{},[844,1286,1287,1288],{},"unmount a USB drive; the card's ",[18,1289,63],{},[829,1291,1292,1297,1299],{},[844,1293,1294],{},[723,1295,1296],{},"PATCH \u002Fdevices\u002Frename",[844,1298,1205],{},[844,1300,1301],{},"rename a drive; the app has no button for it",[14,1303,1304,1305,1307],{},"With ",[723,1306,1263],{},", Verify hashes every file. Without it, only sizes are compared.",[14,1309,1310,1311,179,1314,1316,1317,1319,1320,1322,1323,1326],{},"Setting ",[723,1312,1313],{},"default-storage",[723,1315,1043],{}," on a ",[723,1318,1047],{}," drive, or starting a backup onto one, answers 409\nunless ",[723,1321,1222],{}," is ",[723,1324,1325],{},"true",". A second backup onto a drive that already has one pending or running also\nanswers 409. Backups run on the Quark's job queue, so reloading the page doesn't stop one.",[1328,1329,1330],"style",{},"html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":969,"searchDepth":983,"depth":983,"links":1332},[1333,1334,1339,1340,1344,1345,1346,1349,1352,1353,1354],{"id":28,"depth":983,"text":29},{"id":128,"depth":983,"text":129,"children":1335},[1336,1337,1338],{"id":144,"depth":999,"text":145},{"id":194,"depth":999,"text":195},{"id":228,"depth":999,"text":229},{"id":282,"depth":983,"text":283},{"id":318,"depth":983,"text":319,"children":1341},[1342,1343],{"id":331,"depth":999,"text":332},{"id":394,"depth":999,"text":395},{"id":407,"depth":983,"text":408},{"id":443,"depth":983,"text":444},{"id":455,"depth":983,"text":456,"children":1347},[1348],{"id":492,"depth":999,"text":493},{"id":506,"depth":983,"text":507,"children":1350},[1351],{"id":581,"depth":999,"text":582},{"id":614,"depth":983,"text":615},{"id":681,"depth":983,"text":682},{"id":713,"depth":983,"text":714,"children":1355},[1356,1357,1358,1359,1360],{"id":717,"depth":999,"text":718},{"id":814,"depth":999,"text":815},{"id":920,"depth":999,"text":921},{"id":1073,"depth":999,"text":229},{"id":1134,"depth":999,"text":1135},"See your drives and how healthy they are, back everything up onto a second drive, and get files back","md",{},"2026-11-21T17:21:12Z",{"title":5,"order":983},"\u002Fdocs\u002Fsystem\u002Fstorage-and-backups",{"title":5,"description":1361},"docs\u002Fsystem\u002Fstorage-and-backups","39ug_aHpoAqwobvqPLQYAkjXh2vKS8rntYKmqZfD_Sk",[1371,1375,1379,1383,1387,1391,1396,1399,1403,1407,1411,1414,1417,1419,1423,1427,1431,1435,1440,1444,1448,1452,1457,1459,1462,1466,1468,1470,1474,1478],{"path":1372,"title":1373,"navigation":1374},"\u002Fdocs\u002Fbooks","Books",{"title":1373,"order":976},{"path":1376,"title":1377,"navigation":1378},"\u002Fdocs\u002Fcalendar","Calendar",{"title":1377,"order":976},{"path":1380,"title":1381,"navigation":1382},"\u002Fdocs\u002Fchat","Chat",{"title":1381,"order":976},{"path":1384,"title":1385,"navigation":1386},"\u002Fdocs\u002Fdocs","Docs",{"title":1385,"order":976},{"path":1388,"title":1389,"navigation":1390},"\u002Fdocs\u002Ffiles\u002Ffile-types","File Types",{"title":1389,"order":983},{"path":1392,"title":1393,"navigation":1394},"\u002Fdocs\u002Ffiles\u002Fgoogle-takeout","Moving from Google with Google Takeout",{"title":1395,"order":999},"Google Takeout Guide",{"path":1397,"title":588,"navigation":1398},"\u002Fdocs\u002Ffiles",{"title":588,"order":976},{"path":1400,"title":1401,"navigation":1402},"\u002Fdocs\u002Fhelp\u002Faccessibility","Accessibility",{"title":1401,"order":999},{"path":1404,"title":1405,"navigation":1406},"\u002Fdocs\u002Fhelp","Help",{"title":1405,"order":976},{"path":1408,"title":1409,"navigation":1410},"\u002Fdocs\u002Fhelp\u002Fkeyboard-shortcuts","Keyboard Shortcuts",{"title":1409,"order":1012},{"path":402,"title":1412,"navigation":1413},"Things You Should Know (Security Guide)",{"title":702,"order":983},{"path":1415,"title":714,"navigation":1416},"\u002Fdocs\u002Fnerd-notes",{"title":714,"order":976},{"path":784,"title":785,"navigation":1418},{"title":785,"order":983},{"path":1420,"title":1421,"navigation":1422},"\u002Fdocs\u002Fphotos","Photos",{"title":1421,"order":976},{"path":1424,"title":1425,"navigation":1426},"\u002Fdocs\u002Fsettings","Settings Reference",{"title":1425,"order":976},{"path":1428,"title":1429,"navigation":1430},"\u002Fdocs\u002Fsettings\u002Fremote-access","Remote Access",{"title":1429,"order":983},{"path":1432,"title":1433,"navigation":1434},"\u002Fdocs\u002Fsettings\u002Fssh","SSH Access",{"title":1433,"order":999},{"path":1436,"title":1437,"navigation":1438},"\u002Fdocs\u002Fsettings\u002Fversions","Versions and release notes",{"title":1439,"order":1012},"Versions",{"path":1441,"title":1442,"navigation":1443},"\u002Fdocs\u002Fsheets\u002Fformulas","Sheets formulas",{"title":1442,"order":983},{"path":1445,"title":1446,"navigation":1447},"\u002Fdocs\u002Fsheets","Sheets",{"title":1446,"order":976},{"path":1449,"title":1450,"navigation":1451},"\u002Fdocs\u002Fslides","Slides",{"title":1450,"order":976},{"path":1453,"title":1454,"navigation":1455},"\u002Fdocs\u002Fstart\u002Fconnecting","Connecting to Your Quark",{"title":1456,"order":1012},"Connecting",{"path":708,"title":709,"navigation":1458},{"title":709,"order":983},{"path":695,"title":1460,"navigation":1461},"How Quark Works",{"title":696,"order":999},{"path":1463,"title":1464,"navigation":1465},"\u002Fdocs\u002Fstart\u002Fwelcome","Welcome",{"title":1464,"order":976},{"path":689,"title":42,"navigation":1467},{"title":42,"order":976},{"path":1366,"title":5,"navigation":1469},{"title":5,"order":983},{"path":1471,"title":1472,"navigation":1473},"\u002Fdocs\u002Ftrash","Trash",{"title":1472,"order":976},{"path":1475,"title":1476,"navigation":1477},"\u002Fdocs\u002Fusers","Users and sharing",{"title":1476,"order":976},{"path":1479,"title":1480,"navigation":1481},"\u002Fdocs\u002Fvault","Vault",{"title":1480,"order":976},1795283135084]