An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
{
"ID": "20210615213222-vs5tzbd",
"Spec": "2",
"Type": "NodeDocument",
"Properties": {
"id": "20210615213222-vs5tzbd",
"title": "Data history",
"type": "doc",
"updated": "20261024203645"
},
"Children": [
{
"ID": "20220501135308-u5qn6iz",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20220501135308-u5qn6iz",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Overview"
}
]
},
{
"ID": "20220615120310-jq1miv3",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120310-jq1miv3",
"updated": "20220615120310"
},
"Children": [
{
"Type": "NodeText",
"Data": "Data history is mainly used to ensure data security, and even if a misoperation occurs, data can be rolled back through history. The data history is divided into two functions:"
}
]
},
{
"ID": "20220615120310-64352xf",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220615120310-64352xf",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220615120310-zyipokx",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220615120310-zyipokx",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220615120310-hxba93x",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120310-hxba93x",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "File history: original file bytes are saved in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/history/"
},
{
"Type": "NodeText",
"Data": ". Ordinary-notebook history is plaintext; encrypted-notebook history retains ciphertext. Prefer recovery through SiYuan and check the notebook and key requirements below"
}
]
}
]
},
{
"ID": "20220615120310-ku0y1n6",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220615120310-ku0y1n6",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220615120310-qkv8ygq",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120310-qkv8ygq",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Data snapshot: files are split into chunks, encrypted, compressed, and stored in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/repo/"
},
{
"Type": "NodeText",
"Data": "; restore snapshots through SiYuan rather than copying individual repository files into data"
}
]
}
]
}
]
},
{
"ID": "20220615120310-qal3upv",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120310-qal3upv",
"updated": "20220830225641"
},
"Children": [
{
"Type": "NodeText",
"Data": "In addition to local data history, data snapshots are also used for cloud "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20210721112206-mhr9wxi",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "data synchronization"
},
{
"Type": "NodeText",
"Data": "."
}
]
},
{
"ID": "20220615120326-oxyzckb",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20220615120326-oxyzckb",
"updated": "20261024163429"
},
"Children": [
{
"Type": "NodeText",
"Data": "File history"
}
]
},
{
"ID": "20220615120326-dopr4db",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120326-dopr4db",
"updated": "20261016112108"
},
"Children": [
{
"Type": "NodeText",
"Data": "File history generation rules"
}
]
},
{
"ID": "20220501135308-30uwxvd",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220501135308-30uwxvd",
"updated": "20261016112108"
},
"Children": [
{
"ID": "20220501135308-kwaramc",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-kwaramc",
"updated": "20261016112108"
},
"Children": [
{
"ID": "20220501135308-yr7v67z",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-yr7v67z",
"updated": "20261016112108"
},
"Children": [
{
"Type": "NodeText",
"Data": "Every 10 minutes, file history is generated for documents and files updated during that interval. The interval can be adjusted in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Documents"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "File Management"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "History generation interval"
},
{
"Type": "NodeText",
"Data": ", and the history folder uses the suffix -update"
}
]
}
]
},
{
"ID": "20220501135308-1xc2m8l",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-1xc2m8l",
"updated": "20220501135308"
},
"Children": [
{
"ID": "20220501135308-dmnsr7d",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-dmnsr7d",
"updated": "20220501135308"
},
"Children": [
{
"Type": "NodeText",
"Data": "When synchronizing in the cloud, the local data covered by the cloud will generate "
},
{
"Type": "NodeText",
"Data": "a"
},
{
"Type": "NodeText",
"Data": " history, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-sync"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20220501135308-z09e5tv",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-z09e5tv",
"updated": "20220503122549"
},
"Children": [
{
"ID": "20220501135308-pqw5kwp",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-pqw5kwp",
"updated": "20220503122549"
},
"Children": [
{
"Type": "NodeText",
"Data": "History will be generated when manually deleting notebooks, documents and assets, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-delete"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20220501135308-0iyl6a6",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-0iyl6a6",
"updated": "20220830230820"
},
"Children": [
{
"ID": "20220501135308-9htfn1h",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-9htfn1h",
"updated": "20220830230820"
},
"Children": [
{
"Type": "NodeText",
"Data": "When using "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20210115224203-q8bj2gd",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "Cleanup unreferenced assets"
},
{
"Type": "NodeText",
"Data": ", "
},
{
"Type": "NodeText",
"Data": "a"
},
{
"Type": "NodeText",
"Data": " history will be generated, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-clean"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20220501135308-wzazz01",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-wzazz01",
"updated": "20230403114455"
},
"Children": [
{
"ID": "20220501135308-xldpw4q",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-xldpw4q",
"updated": "20230403114455"
},
"Children": [
{
"Type": "NodeText",
"Data": "When using the "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkBlockRefID": "20220628204454-hhxohv5",
"TextMarkBlockRefSubtype": "s",
"TextMarkTextContent": "Optimize typography"
},
{
"Type": "NodeText",
"Data": ", "
},
{
"Type": "NodeText",
"Data": "a"
},
{
"Type": "NodeText",
"Data": " history will be generated, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-format"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20230403114321-4rwhj6j",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230403114321-4rwhj6j",
"updated": "20240402174245"
},
"Children": [
{
"ID": "20230403114321-tou7etc",
"Type": "NodeParagraph",
"Properties": {
"id": "20230403114321-tou7etc",
"updated": "20240402174245"
},
"Children": [
{
"Type": "NodeText",
"Data": "When using "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Search replace"
},
{
"Type": "NodeText",
"Data": ", a history will be generated, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-replace"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
},
{
"ID": "20240402174218-u5vrt8y",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20240402174218-u5vrt8y",
"updated": "20240402174243"
},
"Children": [
{
"ID": "20240402174218-9x6w0bk",
"Type": "NodeParagraph",
"Properties": {
"id": "20240402174218-9x6w0bk",
"updated": "20240402174243"
},
"Children": [
{
"Type": "NodeText",
"Data": "When dragging an outline item in the outline panel, a history will be generated, and the suffix of the history folder is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "-outline"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
}
]
},
{
"ID": "20220501135308-2rn9rgb",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220501135308-2rn9rgb",
"updated": "20261024163429"
},
"Children": [
{
"Type": "NodeText",
"Data": "Browse file history"
}
]
},
{
"ID": "20220501135308-3azjqzh",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220501135308-3azjqzh",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220501135308-itmzgsj",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-itmzgsj",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220501135308-yvsiton",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-yvsiton",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click the "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data History"
},
{
"Type": "NodeText",
"Data": " button on the top toolbar or "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Alt"
},
{
"Type": "NodeText",
"Data": "+"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "H"
},
{
"Type": "NodeText",
"Data": " to open the data history interface, switch to the "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "File history"
},
{
"Type": "NodeText",
"Data": " tab, if no historical data is displayed , you can try "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Rebuild history index"
},
{
"Type": "NodeText",
"Data": " of this interface"
}
]
}
]
},
{
"ID": "20220501135308-9uu4udf",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501135308-9uu4udf",
"updated": "20220501135308"
},
"Children": [
{
"ID": "20220501135308-5yqjh8u",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501135308-5yqjh8u",
"updated": "20220501135308"
},
"Children": [
{
"Type": "NodeText",
"Data": "Browse under the filesystem "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/history/"
},
{
"Type": "NodeText",
"Data": " folder"
}
]
}
]
}
]
},
{
"ID": "20210104091559-kgrtuyh",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20210104091559-kgrtuyh",
"updated": "20261024163429"
},
"Children": [
{
"Type": "NodeText",
"Data": "Rollback through file history"
}
]
},
{
"ID": "20220501133808-qv8l0rm",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-qv8l0rm",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Use the rollback button beside a history record and confirm to overwrite the existing file. Preview the record first where available. Viewing or rolling back an encrypted document requires its original notebook to be present and unlocked. Restoring a deleted encrypted notebook is a separate recovery path and also needs matching notebook/global key backups and the master password; see "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "Master password and key backup",
"TextMarkBlockRefID": "20260907120000-en00031",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": "."
}
]
},
{
"ID": "20220501133808-uopvhd4",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-uopvhd4",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Prefer recovery through SiYuan. For bulk recovery by manual copying, first verify the source and destination, and retain the original notebook ID, directory structure, and matching key material for encrypted notebooks. Do not copy their ciphertext into an ordinary notebook. The history directory mirrors the corresponding data paths, for example:"
}
]
},
{
"ID": "20220501133808-aipi33o",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220501133808-aipi33o",
"updated": "20220831210527"
},
"Children": [
{
"ID": "20220501133808-wxongrk",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501133808-wxongrk",
"updated": "20220501133808"
},
"Children": [
{
"ID": "20220501133808-tbbutzj",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-tbbutzj",
"updated": "20220501133808"
},
"Children": [
{
"Type": "NodeText",
"Data": "Notebook delete: "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "2022-05-01-091021-delete/20210808180117-czj9bvb/"
},
{
"Type": "NodeText",
"Data": ", i.e. "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "historical generation date-{operation}/{notebook ID}/"
}
]
}
]
},
{
"ID": "20220501133808-44fj5ct",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501133808-44fj5ct",
"updated": "20220501134016"
},
"Children": [
{
"ID": "20220501133808-y3c9auz",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-y3c9auz",
"updated": "20220501134016"
},
"Children": [
{
"Type": "NodeText",
"Data": "Document deletion: "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "2022-05-01-091209-delete/20210808180117-czj9bvb/20200812220555-lj3enxa.sy"
},
{
"Type": "NodeText",
"Data": ", which is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "historical generation date-{operation}/{notebook ID}/{document path}"
}
]
}
]
},
{
"ID": "20220501133808-9qkl603",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220501133808-9qkl603",
"updated": "20220831210527"
},
"Children": [
{
"ID": "20220501133808-caf9m4c",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-caf9m4c",
"updated": "20220831210527"
},
"Children": [
{
"Type": "NodeText",
"Data": "Asset file cleanup: "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "2022-05-01-095621-clean/assets/image-20220501091157-qccp87e.png"
},
{
"Type": "NodeText",
"Data": ", which is "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "historical generation date-{operation}/assets/{asset file name}"
}
]
}
]
}
]
},
{
"ID": "20220501133808-qyb1i5y",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-qyb1i5y",
"updated": "20220501133808"
},
"Children": [
{
"Type": "NodeText",
"Data": "Manual rollback steps:"
}
]
},
{
"ID": "20220501133808-vpkkff8",
"Type": "NodeList",
"ListData": {
"Typ": 1
},
"Properties": {
"id": "20220501133808-vpkkff8",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220501133808-u2jd9bs",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "MS4=",
"Num": 1
},
"Properties": {
"id": "20220501133808-u2jd9bs",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220501133808-nuxcwdm",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-nuxcwdm",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "If using on-demand downloads, first complete "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "Asset downloads",
"TextMarkBlockRefID": "20260905184908-022q2es",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": " with "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Download all"
},
{
"Type": "NodeText",
"Data": ". Then exit SiYuan normally and back up the entire workspace, including configuration, history, the repository, and encrypted-notebook key backups, before overwriting anything"
}
]
}
]
},
{
"ID": "20220501133808-5op6pre",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "Mi4=",
"Num": 2
},
"Properties": {
"id": "20220501133808-5op6pre",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220501133808-wgm1itd",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-wgm1itd",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "In "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/history/"
},
{
"Type": "NodeText",
"Data": ", copy only the required files from "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "historical generation date-{operation}"
},
{
"Type": "NodeText",
"Data": " to their matching paths under data. Preserve notebook IDs, filenames, and directory structure; encrypted history must retain its matching notebook and key material"
}
]
}
]
},
{
"ID": "20220501133808-te5g9yq",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "My4=",
"Num": 3
},
"Properties": {
"id": "20220501133808-te5g9yq",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20220501133808-8md1hk0",
"Type": "NodeParagraph",
"Properties": {
"id": "20220501133808-8md1hk0",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Start SiYuan, unlock any restored encrypted notebook, rebuild the index, and check the recovered documents and assets"
}
]
}
]
}
]
},
{
"ID": "20220615120602-rhii2c7",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120602-rhii2c7",
"updated": "20261016112108"
},
"Children": [
{
"Type": "NodeText",
"Data": "Clean up file history"
}
]
},
{
"ID": "20220615120602-mjy7por",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-mjy7por",
"updated": "20261016112108"
},
"Children": [
{
"Type": "NodeText",
"Data": "File history is retained for 30 days by default. Adjust this in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Documents"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "File Management"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "History Retention Days"
},
{
"Type": "NodeText",
"Data": ". Older file history is deleted automatically."
}
]
},
{
"ID": "20220615120602-3fqyf3h",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-3fqyf3h",
"updated": "20261016112108"
},
"Children": [
{
"Type": "NodeText",
"Data": "To delete all file history, use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Documents"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "File Management"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Delete all history"
},
{
"Type": "NodeText",
"Data": " and its "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Purge"
},
{
"Type": "NodeText",
"Data": " button. Alternatively, exit SiYuan before manually deleting "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/history/"
},
{
"Type": "NodeText",
"Data": ", then rebuild the history index in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "File history"
},
{
"Type": "NodeText",
"Data": ". Do not delete history you still need for encrypted-notebook recovery."
}
]
},
{
"ID": "20220615120602-drz9hwc",
"Type": "NodeHeading",
"HeadingLevel": 2,
"Properties": {
"id": "20220615120602-drz9hwc",
"updated": "20261024203645"
},
"Children": [
{
"Type": "NodeText",
"Data": "Data snapshot"
}
]
},
{
"ID": "20220615120602-iya2886",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120602-iya2886",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Initialize key"
}
]
},
{
"ID": "20220615120602-wipwu6g",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-wipwu6g",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Before using snapshots for the first time, initialize "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data repo key"
},
{
"Type": "NodeText",
"Data": " in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Account & Sync"
},
{
"Type": "NodeText",
"Data": ". Keep this repository key safe; it is separate from the encrypted-notebook master password and key backups."
}
]
},
{
"ID": "20220722002536-t7qdekm",
"Type": "NodeParagraph",
"Properties": {
"id": "20220722002536-t7qdekm",
"updated": "20220722002536"
},
"Children": [
{
"Type": "NodeText",
"Data": "There are three ways to initialize the key:"
}
]
},
{
"ID": "20220722002536-oh6do47",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220722002536-oh6do47",
"updated": "20220722002630"
},
"Children": [
{
"ID": "20220722002536-jl5euiu",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220722002536-jl5euiu",
"updated": "20220722002536"
},
"Children": [
{
"ID": "20220722002536-6v0g14u",
"Type": "NodeParagraph",
"Properties": {
"id": "20220722002536-6v0g14u",
"updated": "20220722002536"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Import Key"
},
{
"Type": "NodeText",
"Data": ": Copy the key string from another device to this paste and import"
}
]
}
]
},
{
"ID": "20220722002536-vtknbv8",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220722002536-vtknbv8",
"updated": "20220722002630"
},
"Children": [
{
"ID": "20220722002536-ebch8kx",
"Type": "NodeParagraph",
"Properties": {
"id": "20220722002536-ebch8kx",
"updated": "20220722002630"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Auto-generate key"
},
{
"Type": "NodeText",
"Data": ": Use random text to generate the key, this method only needs to be executed once on one device, and other devices use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Import key"
}
]
}
]
},
{
"ID": "20220722002536-gwbslbg",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220722002536-gwbslbg",
"updated": "20220722002536"
},
"Children": [
{
"ID": "20220722002536-iywk7i9",
"Type": "NodeParagraph",
"Properties": {
"id": "20220722002536-iywk7i9",
"updated": "20220722002536"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Generate key by passphrase"
},
{
"Type": "NodeText",
"Data": ": Use a custom passphrase to generate the key, which requires the same passphrase on all devices"
}
]
}
]
}
]
},
{
"ID": "20220722002536-k5ij0q6",
"Type": "NodeParagraph",
"Properties": {
"id": "20220722002536-k5ij0q6",
"updated": "20220722002536"
},
"Children": [
{
"Type": "NodeText",
"Data": "All in all, it is important to ensure that all devices use the same key, otherwise data snapshots will not be available across devices, such as syncing data snapshots through the cloud."
}
]
},
{
"ID": "20220615120602-wp2lnbq",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120602-wp2lnbq",
"updated": "20261024203645"
},
"Children": [
{
"Type": "NodeText",
"Data": "Create data snapshot"
}
]
},
{
"ID": "20220615120602-5r3nl34",
"Type": "NodeList",
"ListData": {
"Typ": 1
},
"Properties": {
"id": "20220615120602-5r3nl34",
"updated": "20250115153528"
},
"Children": [
{
"ID": "20220615120602-a20qin2",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "MS4=",
"Num": 1
},
"Properties": {
"id": "20220615120602-a20qin2",
"updated": "20250115153528"
},
"Children": [
{
"ID": "20220615120602-k0xs8n5",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-k0xs8n5",
"updated": "20250115153528"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click the "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data History"
},
{
"Type": "NodeText",
"Data": " button on the top toolbar or "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Alt"
},
{
"Type": "NodeText",
"Data": "+"
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "H"
},
{
"Type": "NodeText",
"Data": " to open the data history interface"
}
]
}
]
},
{
"ID": "20220615120602-fhbmyhz",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "Mi4=",
"Num": 2
},
"Properties": {
"id": "20220615120602-fhbmyhz",
"updated": "20220615120602"
},
"Children": [
{
"ID": "20220615120602-rh4nmca",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-rh4nmca",
"updated": "20220615120602"
},
"Children": [
{
"Type": "NodeText",
"Data": "Switch to the last tab "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data snapshot"
}
]
}
]
},
{
"ID": "20220615120602-dkrrocp",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "My4=",
"Num": 3
},
"Properties": {
"id": "20220615120602-dkrrocp",
"updated": "20220615120840"
},
"Children": [
{
"ID": "20220615120602-4hggbdj",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-4hggbdj",
"updated": "20220615120840"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Create Snapshot"
},
{
"Type": "NodeText",
"Data": ", fill in "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Memo"
},
{
"Type": "NodeText",
"Data": " and confirm"
}
]
}
]
}
]
},
{
"ID": "20220615120602-dwulzmi",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-dwulzmi",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Use a detailed memo to identify a snapshot later. A memo does not protect it from cleanup; add a tag to snapshots you need to retain and keep an independent backup."
}
]
},
{
"ID": "20261024203645-1uu50u4",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024203645-1uu50u4",
"updated": "20261024203645"
},
"Children": [
{
"Type": "NodeText",
"Data": "If an external program changes content while preserving both file size and modification time, use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data History"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data snapshot"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Full content check"
},
{
"Type": "NodeText",
"Data": ", enter a memo, and confirm. The check reads all local files included in snapshots and creates a snapshot when changes are found. Resources that have not been downloaded retain their existing versions and are not downloaded for the check. Large workspaces may take longer."
}
]
},
{
"ID": "20220615120602-nzrp6gt",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120602-nzrp6gt",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Browse data snapshot"
}
]
},
{
"ID": "20220615120602-13h2vpv",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-13h2vpv",
"updated": "20260914101605"
},
"Children": [
{
"Type": "NodeText",
"Data": "In "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data History"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data snapshot"
},
{
"Type": "NodeText",
"Data": ", wide windows show local and cloud lists side by side, with separate pagination. In narrow windows and on mobile, use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Local snapshot"
},
{
"Type": "NodeText",
"Data": " and "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Cloud snapshot"
},
{
"Type": "NodeText",
"Data": " to switch between them. Use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data snapshot"
},
{
"Type": "NodeText",
"Data": " and "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Tagged snapshots"
},
{
"Type": "NodeText",
"Data": " at the top to switch snapshot categories. Each entry shows its creation time, memo, and tag for comparison."
}
]
},
{
"ID": "20260914101605-ihg861m",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-ihg861m",
"updated": "20260914101605"
},
"Children": [
{
"Type": "NodeText",
"Data": "Local snapshots support searching by file name; searching makes room for the file list and preview. Outside batch management, you can still select two local snapshots to compare them and use individual actions such as tagging, uploading, downloading, and rolling back."
}
]
},
{
"ID": "20260927191121-n45rqtj",
"Type": "NodeParagraph",
"Properties": {
"id": "20260927191121-n45rqtj",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Enter a file name or snapshot ID directly in the search box to search local snapshots. A hexadecimal ID of 7 to 40 characters is matched against snapshot ID prefixes, ignoring case. If multiple snapshots match, all matches are listed from newest to oldest."
}
]
},
{
"ID": "20261024164212-stfrsgs",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-stfrsgs",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "If no snapshot ID matches, the same text is used to search file names. Results retain the usual snapshot actions, including rollback. Clear the search text to return to the full list."
}
]
},
{
"ID": "20260914101605-wf8t6ol",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20260914101605-wf8t6ol",
"updated": "20260914102430"
},
"Children": [
{
"Type": "NodeText",
"Data": "Batch manage tagged snapshots"
}
]
},
{
"ID": "20260914101605-xg5sqge",
"Type": "NodeList",
"ListData": {
"Typ": 1
},
"Properties": {
"id": "20260914101605-xg5sqge",
"updated": "20260914101605"
},
"Children": [
{
"ID": "20260914101605-d2qjgki",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "MS4=",
"Num": 1
},
"Properties": {
"id": "20260914101605-d2qjgki",
"updated": "20260914101605"
},
"Children": [
{
"ID": "20260914101605-hvhwkmb",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-hvhwkmb",
"updated": "20260914101605"
},
"Children": [
{
"Type": "NodeText",
"Data": "Switch to "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Tagged snapshots"
},
{
"Type": "NodeText",
"Data": " and click "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Batch manage"
},
{
"Type": "NodeText",
"Data": " to show checkboxes"
}
]
}
]
},
{
"ID": "20260914101605-xjtvp83",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "Mi4=",
"Num": 2
},
"Properties": {
"id": "20260914101605-xjtvp83",
"updated": "20260914101605"
},
"Children": [
{
"ID": "20260914101605-i4bzcea",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-i4bzcea",
"updated": "20260914101605"
},
"Children": [
{
"Type": "NodeText",
"Data": "Select the local and cloud tags to remove; "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Select all"
},
{
"Type": "NodeText",
"Data": " selects only the tags in that pane’s current list, and the bottom bar shows the selected count for each source"
}
]
}
]
},
{
"ID": "20260914101605-mal6g06",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "My4=",
"Num": 3
},
"Properties": {
"id": "20260914101605-mal6g06",
"updated": "20260914101605"
},
"Children": [
{
"ID": "20260914101605-qmkphsk",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-qmkphsk",
"updated": "20260914101605"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Delete selected tags"
},
{
"Type": "NodeText",
"Data": ", review the names and counts for both sources, and confirm; only explicitly selected tags are removed, without automatically removing same-named tags from the other source"
}
]
}
]
},
{
"ID": "20260914101605-rij64em",
"Type": "NodeListItem",
"ListData": {
"Typ": 1,
"Delimiter": 46,
"Marker": "NC4=",
"Num": 4
},
"Properties": {
"id": "20260914101605-rij64em",
"updated": "20260914101605"
},
"Children": [
{
"ID": "20260914101605-5d6ebmk",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-5d6ebmk",
"updated": "20260914101605"
},
"Children": [
{
"Type": "NodeText",
"Data": "Review the result; failed or unverified items remain selected so you can click "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Delete selected tags"
},
{
"Type": "NodeText",
"Data": " again to retry. Use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Clear selection"
},
{
"Type": "NodeText",
"Data": " to clear the selection or "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Done"
},
{
"Type": "NodeText",
"Data": " to leave batch management"
}
]
}
]
}
]
},
{
"ID": "20260914101605-mzvd2cc",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-mzvd2cc",
"updated": "20260914102430"
},
"Children": [
{
"Type": "NodeText",
"Data": "Removing tags does not immediately delete snapshot data or automatically purge the repository. You can purge the local data repository separately to reclaim space; manual cloud cleanup is available only for S3, WebDAV, and local filesystem sync storage."
}
]
},
{
"ID": "20220615120602-cikdh3o",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120602-cikdh3o",
"updated": "20220615120602"
},
"Children": [
{
"Type": "NodeText",
"Data": "Rollback data snapshot"
}
]
},
{
"ID": "20220615120602-zusc5xs",
"Type": "NodeParagraph",
"Properties": {
"id": "20220615120602-zusc5xs",
"updated": "20220615120602"
},
"Children": [
{
"Type": "NodeText",
"Data": "There is a rollback button on the right side of the snapshot time list entry. After clicking, a confirmation dialog box will pop up. If the rollback is confirmed, the existing data will be completely replaced with the snapshot data."
}
]
},
{
"ID": "20220615120602-nhnnujh",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220615120602-nhnnujh",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Cleanup data snapshot"
}
]
},
{
"ID": "20261016111431-bfqnv4v",
"Type": "NodeParagraph",
"Properties": {
"id": "20261016111431-bfqnv4v",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "Local snapshots are cleaned up automatically according to "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Account & Sync"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Local data repo purge"
},
{
"Type": "NodeText",
"Data": ". The defaults are 180 retention days and 2 snapshots per day. Within that retention window, earlier days are thinned to the daily limit, while today’s snapshots and referenced snapshots, including tags, are retained by automatic cleanup."
}
]
},
{
"ID": "20261024164212-raor55s",
"Type": "NodeParagraph",
"Properties": {
"id": "20261024164212-raor55s",
"updated": "20261024164212"
},
"Children": [
{
"Type": "NodeText",
"Data": "These are local retention rules, not a promise to keep every snapshot for 180 days or a cloud-backup policy. Manual purge below removes all unreferenced snapshots regardless of this retention window."
}
]
},
{
"ID": "20230422101614-mdijztr",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230422101614-mdijztr",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230422101614-5lwp8u3",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230422101614-5lwp8u3",
"updated": "20261011203418"
},
"Children": [
{
"ID": "20230422101614-5kvwhn7",
"Type": "NodeParagraph",
"Properties": {
"id": "20230422101614-5kvwhn7",
"updated": "20261011203418"
},
"Children": [
{
"Type": "NodeText",
"Data": "Click "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Local data repo purge"
},
{
"Type": "NodeText",
"Data": " in the local pane of "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data History"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Data snapshot"
},
{
"Type": "NodeText",
"Data": ", or use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Account & Sync"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Local data repo purge"
},
{
"Type": "NodeText",
"Data": ", and confirm to delete all unreferenced local snapshots and related data objects. Referenced snapshots are those pointed to by references under repo/refs/:"
}
]
},
{
"ID": "20230422101614-ibwplih",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230422101614-ibwplih",
"updated": "20230422102025"
},
"Children": [
{
"ID": "20230422101614-wqxklla",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230422101614-wqxklla",
"updated": "20230422102025"
},
"Children": [
{
"ID": "20230422101614-uwv2229",
"Type": "NodeParagraph",
"Properties": {
"id": "20230422101614-uwv2229",
"updated": "20230422102025"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "latest"
},
{
"Type": "NodeText",
"Data": " points to the latest snapshot"
}
]
}
]
},
{
"ID": "20230422101614-tgrdynv",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230422101614-tgrdynv",
"updated": "20230422102023"
},
"Children": [
{
"ID": "20230422101614-tf542fs",
"Type": "NodeParagraph",
"Properties": {
"id": "20230422101614-tf542fs",
"updated": "20230422102023"
},
"Children": [
{
"Type": "NodeText",
"Data": ""
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "tags/*"
},
{
"Type": "NodeText",
"Data": " point to manually tagged snapshots"
}
]
}
]
}
]
}
]
},
{
"ID": "20260914101605-an302a6",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20260914101605-an302a6",
"updated": "20260914102430"
},
"Children": [
{
"ID": "20260914101605-eu91n0k",
"Type": "NodeParagraph",
"Properties": {
"id": "20260914101605-eu91n0k",
"updated": "20260914102430"
},
"Children": [
{
"Type": "NodeText",
"Data": "When using S3, WebDAV, or a local filesystem as sync storage, use "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Purge cloud storage"
},
{
"Type": "NodeText",
"Data": " in the cloud pane to remove only unreferenced cloud snapshots and related data objects; pause synchronization on other devices beforehand and keep the network connection stable; this action is unavailable for SiYuan’s official cloud, so its cleanup button is hidden"
}
]
}
]
},
{
"ID": "20230422101614-ht2yhm0",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230422101614-ht2yhm0",
"updated": "20261016111431"
},
"Children": [
{
"ID": "20230422101614-lxjcg2j",
"Type": "NodeParagraph",
"Properties": {
"id": "20230422101614-lxjcg2j",
"updated": "20261016111431"
},
"Children": [
{
"Type": "NodeText",
"Data": "To reset the repository, prefer "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Settings"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Account & Sync"
},
{
"Type": "NodeText",
"Data": " - "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Reset data repo"
},
{
"Type": "NodeText",
"Data": ", which checks asset-download completeness. First finish "
},
{
"Type": "NodeTextMark",
"TextMarkType": "block-ref",
"TextMarkTextContent": "Asset downloads",
"TextMarkBlockRefID": "20260905184908-022q2es",
"TextMarkBlockRefSubtype": "s"
},
{
"Type": "NodeText",
"Data": " with "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "Download all"
},
{
"Type": "NodeText",
"Data": ", save the repository key, and back up the entire workspace. Manually deleting "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/repo/"
},
{
"Type": "NodeText",
"Data": " bypasses these checks and removes all local snapshots, including tagged ones; only consider it after these prerequisites and after exiting SiYuan normally"
}
]
}
]
}
]
},
{
"ID": "20210928101257-l27t5uo",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20210928101257-l27t5uo",
"updated": "20260809232000"
},
"Children": [
{
"Type": "NodeText",
"Data": "Ignore files"
}
]
},
{
"ID": "20210928101257-3m7efdr",
"Type": "NodeParagraph",
"Properties": {
"id": "20210928101257-3m7efdr",
"updated": "20260809160000"
},
"Children": [
{
"Type": "NodeText",
"Data": "If you need to ignore some files during synchronization, please create or edit the text file "
},
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "workspace/data/.siyuan/syncignore"
},
{
"Type": "NodeText",
"Data": " on the file system, each line is configured with the relative path of the data folder, which means that the path of the file or folder is ignored and wildcard characters are supported. E.g:"
}
]
},
{
"ID": "20260809160000-3ab2338",
"Type": "NodeCodeBlock",
"IsFencedCodeBlock": true,
"Properties": {
"id": "20260809160000-3ab2338",
"updated": "20260809232000"
},
"Children": [
{
"Type": "NodeCodeBlockFenceOpenMarker",
"Data": "```",
"CodeBlockFenceLen": 3
},
{
"Type": "NodeCodeBlockFenceInfoMarker"
},
{
"Type": "NodeCodeBlockCode",
"Data": "20210808180117-6v0mkxr/**/*\nassets/*.pdf"
},
{
"Type": "NodeCodeBlockFenceCloseMarker",
"Data": "```",
"CodeBlockFenceLen": 3
}
]
},
{
"ID": "20210928101257-apwzr8j",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20210928101257-apwzr8j",
"updated": "20211222190049"
},
"Children": [
{
"ID": "20210928101257-9rghi7d",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20210928101257-9rghi7d",
"updated": "20211222190049"
},
"Children": [
{
"ID": "20210928101257-tjmd13g",
"Type": "NodeParagraph",
"Properties": {
"id": "20210928101257-tjmd13g",
"updated": "20211222190049"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "20210808180117-6v0mkxr/**/*"
},
{
"Type": "NodeText",
"Data": ": Ignore the data/20210808180117-6v0mkxr notebook"
}
]
}
]
},
{
"ID": "20210928101257-egaymco",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20210928101257-egaymco"
},
"Children": [
{
"ID": "20210928101257-jj2836a",
"Type": "NodeParagraph",
"Properties": {
"id": "20210928101257-jj2836a"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "code",
"TextMarkTextContent": "assets/*.pdf"
},
{
"Type": "NodeText",
"Data": ": ignore PDF files under data/assets/"
}
]
}
]
}
]
},
{
"ID": "20220807180431-h2gd37z",
"Type": "NodeHeading",
"HeadingLevel": 3,
"Properties": {
"id": "20220807180431-h2gd37z",
"updated": "20220807180440"
},
"Children": [
{
"Type": "NodeTextMark",
"TextMarkType": "tag",
"TextMarkTextContent": "Note"
}
]
},
{
"ID": "20220807180431-4175cz3",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20220807180431-4175cz3",
"updated": "20220807180431"
},
"Children": [
{
"ID": "20220807180431-97qvi51",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20220807180431-97qvi51",
"updated": "20220807180431"
},
"Children": [
{
"ID": "20220807180431-8hzorql",
"Type": "NodeParagraph",
"Properties": {
"id": "20220807180431-8hzorql",
"updated": "20220807180431"
},
"Children": [
{
"Type": "NodeText",
"Data": "Symlinks and hidden files are not snapshotted"
}
]
}
]
}
]
}
]
}