WD Community

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

Could someone please help me run this script? This is what I put in lines 4 to 6:

db=‘admin:///media/ubuntu/7a022c2e-a741-4383-82e9-9815c2a61195/restsdk/data/db/index.db’ #where the file DB is stored example: /data/db/index.db
filedir=‘admin:///media/ubuntu/7a022c2e-a741-4383-82e9-9815c2a61195/restsdk/data/files’ #where the files are stored example: /restsdk/data/files
dumpdir=‘/media/ubuntu/Backup Hard Disk Drive/My Cloud Home’ #where you want the new files dumped example:/EXTERNAL/FILES

And this is what the Ubuntu terminal gave me in return:

Opening database…/rError opening database at admin:///media/ubuntu/7a022c2e-a741-4383-82e9-9815c2a61195/restsdk/data/db/index.db

Edit: For those who encountered my error, I finally got it to work by typing sudo -i first and then running the script.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.