[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-03。"],[],[],null,["# Restore specific data with snapshots\n\nThis page provides details about restoring specific data you select from a\nsnapshot.\n\nAbout snapshot-based data restoration\n-------------------------------------\n\nYou can use snapshots to restore deleted or corrupted files and directories\nusing file access operations based on your operating system.\n\nRestore data using a Linux client\n---------------------------------\n\nSnapshots are accessible using the UNIX-like file system on Linux operating\nsystems. To restore data using a Linux client, enable the\n**Make snapshot directory visible** option in the volume snapshot schedule section.\nA `.snapshot` directory appears in the mount point of the volumes.\n\n### Example of data restoration on a Linux client\n\nThe following example shows a sequence of file operations on a volume mounted\nto a Linux client. The volume contains two files and one snapshot. In this\nexample, the user deletes a file and uses the snapshot to restore the latest\nversion of the file from the newest snapshot: \n\n $ df -h .\n\n Filesystem Size Used Avail Use% Mounted on\n 10.31.240.4:/example-volume-1 1.0T 4.5M 1.0T 1% /netapp\n\n $ ls\n\n chinook.db readme.txt\n\n $ rm chinook.db\n\n $ ls -la .\n\n total 12\n drwxrwxrwx 2 root root 4096 May 31 15:02 .\n drwxr-xr-x 20 root root 4096 May 31 13:42 ..\n drwxrwxrwx 3 root root 4096 May 31 14:35 .snapshot\n -rw-rw-r-- 1 ubuntu ubuntu 14 May 31 14:24 readme.txt\n\n $ ls .snapshot\n\n hourly.2022-05-31_1435\n\n $ ls .snapshot/hourly.2022-05-31_1435\n\n chinook.db readme.txt\n\n $ cp .snapshot/hourly.2022-05-31_1435/chinook.db .\n\n $ ls\n\n chinook.db readme.txt\n\nRestore data using a Windows client\n-----------------------------------\n\nTo restore data using a Windows client, enable the\n**Make snapshot directory visible** option in the volume snapshot schedule\nsection. You can then access snapshots using the **Previous Versions** tab\nof the File Explorer property window. To restore a file, drag it\nfrom a snapshot folder to its original location.\n\n### Example of data restoration on a Windows client\n\nThe following example shows you how to access snapshots using the `~snapshot`\nfile path: \n\n Z:\\dir z:\\~snapshot\n Volume in drive Z is restore-example-1\n Volume Serial Number is 8080-F15D\n\n Directory of z:\\~snapshot\n\n 05/31/2022 04:08 PM \u003cDIR\u003e ..\n 05/31/2022 03:59 PM \u003cDIR\u003e hourly.2022-05-31-1600\n 05/31/2022 04:02 PM \u003cDIR\u003e hourly.2022-05-31_1605\n 0 File(s) 0 bytes\n 3 Dir(s) 0 bytes free\n\n Z:\\\u003e\n\nWhat's next\n-----------\n\n[About backups](/netapp/volumes/docs/protect-data/about-backups)."]]