vault backup: 2025-04-02 23:07:23
Affected files: .obsidian/workspace.json 2 Personal/Home Lab/Repairshop/Data Recovery from corrupted Harddisks.md Temporary/Untitled 4.md
This commit is contained in:
10
.obsidian/workspace.json
vendored
10
.obsidian/workspace.json
vendored
@@ -55,12 +55,12 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "0 Journal/0 Daily/2025-04-02.md",
|
"file": "2 Personal/Home Lab/Repairshop/Data Recovery from corrupted Harddisks.md",
|
||||||
"mode": "source",
|
"mode": "source",
|
||||||
"source": false
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-file",
|
"icon": "lucide-file",
|
||||||
"title": "2025-04-02"
|
"title": "Data Recovery from corrupted Harddisks"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -327,9 +327,11 @@
|
|||||||
},
|
},
|
||||||
"active": "b61acafdb7bde436",
|
"active": "b61acafdb7bde436",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"Temporary/Untitled 4.md",
|
||||||
|
"2 Personal/Home Lab/Repairshop/Data Recovery from corrupted Harddisks.md",
|
||||||
|
"0 Journal/0 Daily/2025-04-02.md",
|
||||||
"Attachments/Pasted image 20250402091926.png",
|
"Attachments/Pasted image 20250402091926.png",
|
||||||
"0 Journal/0 Daily/2025-03-31.md",
|
"0 Journal/0 Daily/2025-03-31.md",
|
||||||
"0 Journal/0 Daily/2025-04-02.md",
|
|
||||||
"Attachments/Pasted image 20250331151348.png",
|
"Attachments/Pasted image 20250331151348.png",
|
||||||
"0 Journal/0 Daily/2025-03-28.md",
|
"0 Journal/0 Daily/2025-03-28.md",
|
||||||
"Attachments/IMG_5894.jpeg",
|
"Attachments/IMG_5894.jpeg",
|
||||||
@@ -343,7 +345,6 @@
|
|||||||
"3 Knowledge/Machine Learning.md",
|
"3 Knowledge/Machine Learning.md",
|
||||||
"2 Personal/Lists/Business Ideas.md",
|
"2 Personal/Lists/Business Ideas.md",
|
||||||
"2 Personal/Home Lab/Repairshop/Repair Climbing Light.md",
|
"2 Personal/Home Lab/Repairshop/Repair Climbing Light.md",
|
||||||
"2 Personal/Home Lab/Repairshop/Data Recovery from corrupted Harddisks.md",
|
|
||||||
"2 Personal/Home Lab/NAS/Photo Apps.md",
|
"2 Personal/Home Lab/NAS/Photo Apps.md",
|
||||||
"Attachments/image 16.jpg",
|
"Attachments/image 16.jpg",
|
||||||
"Attachments/image 18.jpg",
|
"Attachments/image 18.jpg",
|
||||||
@@ -367,7 +368,6 @@
|
|||||||
"Attachments/Virtual Swashplate.md/Exported image 20231126172013-15.png",
|
"Attachments/Virtual Swashplate.md/Exported image 20231126172013-15.png",
|
||||||
"Attachments/Tutorial Webapp.md/Exported image 20231126172008-5.png",
|
"Attachments/Tutorial Webapp.md/Exported image 20231126172008-5.png",
|
||||||
"Attachments/Helicopter.md/Exported image 20231126172013-0.png",
|
"Attachments/Helicopter.md/Exported image 20231126172013-0.png",
|
||||||
"Attachments/IMG_3618.jpeg",
|
|
||||||
"99 Work/0 OneSec/OneSecNotes/30 Engineering Skills/Computer Science/Untitled.canvas",
|
"99 Work/0 OneSec/OneSecNotes/30 Engineering Skills/Computer Science/Untitled.canvas",
|
||||||
"Scripts/days_since.js",
|
"Scripts/days_since.js",
|
||||||
"99 Work/0 OneSec/OneSecNotes/Multimedia/Recording 20231003153042.webm",
|
"99 Work/0 OneSec/OneSecNotes/Multimedia/Recording 20231003153042.webm",
|
||||||
|
|||||||
@@ -39,3 +39,77 @@ sudo ddrescue -d -r3 /dev/disk3 /Volumes/Data/valeria_hdd.img /Volumes/Data/vale
|
|||||||
|
|
||||||
If everything worked out we should now have a disk image that we can mount on our system and browse the files which are still on there.
|
If everything worked out we should now have a disk image that we can mount on our system and browse the files which are still on there.
|
||||||
|
|
||||||
|
|
||||||
|
## Rescue of Valerias Harddisk
|
||||||
|
|
||||||
|
> [!NOTE]- Bash History of Rescue Process
|
||||||
|
> ```bash
|
||||||
|
> sudo port install ddrescue
|
||||||
|
ddrescue -h
|
||||||
|
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.diskarbitrationd.plist
|
||||||
|
diskutil list
|
||||||
|
diskutil unmountDisk /dev/disk4
|
||||||
|
diskutil list
|
||||||
|
sudo ddrescue -f -n /dev/disk4 /Volumes/extra_storage/backup_images/valeria_hdd.img /Volumes/extra_storage/backup_images/valeria_hdd.log
|
||||||
|
sudo ddrescue -d -r3 /dev/disk4 /Volumes/extra_storage/backup_images/valeria_hdd.img /Volumes/extra_storage/backup_images/valeria_hdd.log
|
||||||
|
diskutil list
|
||||||
|
ls -al /dev/
|
||||||
|
diskutil unmountDisk /dev/disk4
|
||||||
|
diskutil list
|
||||||
|
sudo ddrescue -d -r3 /dev/disk4 /Volumes/extra_storage/backup_images/valeria_hdd.img /Volumes/extra_storage/backup_images/valeria_hdd.log
|
||||||
|
sudo ddrescue -d -r3 /dev/rdisk4 /Volumes/extra_storage/backup_images/valeria_hdd.img /Volumes/extra_storage/backup_images/valeria_hdd.log
|
||||||
|
sudo ddrescue -r3 /dev/disk4 /Volumes/extra_storage/backup_images/valeria_hdd.img /Volumes/extra_storage/backup_images/valeria_hdd.log
|
||||||
|
ls
|
||||||
|
rsync -h
|
||||||
|
cd /Volumes/
|
||||||
|
ls
|
||||||
|
ls
|
||||||
|
cd PortableSSD/
|
||||||
|
mkdir backup
|
||||||
|
cd backup/
|
||||||
|
pwd
|
||||||
|
..
|
||||||
|
cd ..
|
||||||
|
ls
|
||||||
|
cd ..
|
||||||
|
ls
|
||||||
|
rsync -av --progress --ignore-errors /Volumes/Seagate\ Backup\ Plus\ Drive/ /Volumes/PortableSSD/backup/
|
||||||
|
cd Seagate\ Backup\ Plus\ Drive
|
||||||
|
ls
|
||||||
|
..
|
||||||
|
cd ..
|
||||||
|
ls
|
||||||
|
cd Seagate\ Backup\ Plus\ Drive\ 1/
|
||||||
|
ls
|
||||||
|
cd ..
|
||||||
|
rsync -av --progress --ignore-errors /Volumes/Seagate\ Backup\ Plus\ Drive\ 1/ /Volumes/PortableSSD/backup/
|
||||||
|
rsync -h
|
||||||
|
rsync -n -av --progress --ignore-errors /Volumes/Seagate\ Backup\ Plus\ Drive\ 1/ /Volumes/PortableSSD/backup/
|
||||||
|
cd /
|
||||||
|
l
|
||||||
|
ls
|
||||||
|
cd Volumes/
|
||||||
|
l
|
||||||
|
ls
|
||||||
|
cd extra_storage/
|
||||||
|
ls
|
||||||
|
mkdir test
|
||||||
|
pwd
|
||||||
|
mkdir backup_images
|
||||||
|
cd backup_images/
|
||||||
|
pwd
|
||||||
|
diskutil list
|
||||||
|
diskutil list
|
||||||
|
diskutil list
|
||||||
|
diskutil list
|
||||||
|
pwd
|
||||||
|
cd
|
||||||
|
cd Desktop/
|
||||||
|
nano rsync_output.txt
|
||||||
|
l
|
||||||
|
ls
|
||||||
|
cat rsync_output.txt
|
||||||
|
clean
|
||||||
|
clear
|
||||||
|
cat rsync_output.txt```
|
||||||
|
|
||||||
|
|||||||
0
Temporary/Untitled 4.md
Normal file
0
Temporary/Untitled 4.md
Normal file
Reference in New Issue
Block a user