[SOLVED] My Cloud Home PCB burned! How to extract data out from HDD?

Sorry, there is no video.
Basically you just need to edit restsdk_public.py,
change the below data:

db=‘/restsdk/data/db/index.db’ #where the file DB is stored example: /data/db/index.db
filedir=‘/restsdk/data/files’ #where the files are stored example: /restsdk/data/files
dumpdir=‘/location/to/dump/files/to’ #where you want the new files dumped example:/EXTERNAL/FILES

then run the python script
i think as long as u have those PATH right, it will copy and recover to “dumpdir”

Thanks. My question, and sorry … how can o run the script ? Wich commands I have to do on terminal on Linux ? (Ubuntu) ? This will make a copy where ? I decide where I want the copy changing the paths ?

help me pls.


Could you please help me check the script?
After I tried to run your script (python restsdk_public.py) I found some error as png files attached.
What’s wrong with this script?

use python3 instead of python to overcome that error

thx

Thanks! Appreciate you pointing me in the right direction.

Hello i have same problem with wd my cloud 4tb disk function perfectly
but i have a problem with python script
when i modify path
run script python but exit this message:
RESTART: /Users/mariozottoli/Desktop/mycloud-restsdk-recovery-script-master/restsdk_public.py
Opening database…/rError opening database at /Desktop/index.db

can help me?

1 Like

Conac2c have you then solved? I get the same error, if so how did you do it?

italyassistance: unfortunately, the case still can’t solved.

Hi @chrixtopher, I have My Cloud Home 6TB (WD My Cloud Home: Best Cloud Storage for Photos (2 TB - 8 TB) | Western Digital), out of warranty and I removed the drive hooked up to Ubuntu 20.04.1LTS GNOME ver. 3.36.3.

Do see partitions from sdb1 to sdb24 of which I was able to mount only 18 to 22, altogether 5 partitions out of 24.
sdb18 - 34MB - fat32
sdb19; sdb20; sdb21 - all three partitions each are of 839MB - Ext4
sdb22 and sdb22 - both are of equal size 2.1GB - Ext4
The biggest partition sdb24 - 1.4TB and sdb23 - 2.1GB were not able to mount

I have around 250GB of data to be restored. I am not able to find ‘/restsdk/data/db/index.db’ and ‘/restsdk/data/files’, from partitions 18 to 23. Appreciate if you could help me where to find these. Thank you for your time.

it should be attached to the last partition which in your case is under partition 24.
once you mount it you will see the restsdk folder.

I’ve also updated the code to change the way its copy the data so it could include the metadata.
while also I’ve created a way to recover files which provided some error during the copy process
Furthermore there is an option to create an email notification once the recovery process is completed.

http://home.khalid.us:5000/d/s/582455062905797907/AsR-pvwi1P6dRclX9eLjDMNBp7f6YcRg-LL0A5tNLFQg_

@KHALiDiSH Thank you and appreciate for sharing the updated script and for your inputs.

I am unable to mount /dev/sdb24 which is of 5.45TB, could you please help me how to mount this partition?

You should be able to mount it easily… maybe some limitations of ubuntu desktop…
try to unmount other drives like the 2 systems both are not need it.

i found the below link which can help you in partition fix without formatting incase it was damaged.

That Python script worked for me too. My son managed to run this under Windows with the drivers from Paragon (10 day trial) and some edit in the script.

1 Like

Hi @KHALiDiSH, appreciate for all your help. testdisk could not recover my harddisk. May be last option for me is to go to Data recovery guys. If you know any other software pls advise.

Not I’m aware of at the moment but I would recommend using Paragon software to try to remount the last partition, where it might solve the last partition mounting issue due to maybe a bad sector. Once that worked then you might run the python script to recover your data.

Hello All,
I have the same problem. I have a 4TB mycloud home and it stopped working after a firmware update.
I want to use @chrixtopher method to backup my data but i wasnt able to mount the sdb24 drive. I get this can’t read superblock error when it try to mount. Has anyone faced this issue.
Any help would be greatly appreciated.

Thank you

Download Ubuntu to access the drive and retrieve files.

I tried Ubuntu but I couldn’t access the files. I tried to mount the drive but I go this “Can’t read Superblock” error.