Browse Source

photorec, ddrescue: add page (#3625)

jspickard 5 years ago
parent
commit
59185a7ec9
2 changed files with 25 additions and 0 deletions
  1. 12 0
      pages/linux/ddrescue.md
  2. 13 0
      pages/linux/photorec.md

+ 12 - 0
pages/linux/ddrescue.md

@@ -0,0 +1,12 @@
+# ddrescue
+
+> Data recovery tool that reads data from damaged block devices.
+> More information: <https://www.gnu.org/software/ddrescue/>.
+
+- Take an image of a device, creating a log file:
+
+`sudo ddrescue {{/dev/sdb}} {{path/to/image.dd}} {{path/to/log.txt}}`
+
+- Clone Disk A to Disk B, creating a log file:
+
+`sudo ddrescue --force --no-scrape {{/dev/sda}} {{/dev/sdb}} {{path/to/log.txt}}`

+ 13 - 0
pages/linux/photorec.md

@@ -0,0 +1,13 @@
+# photorec
+
+> Deleted file recovery tool.
+> It is recommended to write recovered files to a disk separate to the one being recovered from.
+> More information: <https://www.cgsecurity.org/wiki/PhotoRec>.
+
+- Run PhotoRec on a specific device:
+
+`sudo photorec {{/dev/sdb}}`
+
+- Run PhotoRec on a disk image (image.dd):
+
+`sudo photorec {{path/to/image.dd}}`