Share folder removed

my share folder accidentally deleted , how to get back my shared?

Did you remove a “Share” or a folder within a Share? If you removed the “Share” you likely would have had to access the My Cloud Dashboard in order to do that, and be warned when doing the actual Share removal. If you have previously enabled the Recycle Bin option on a Share through the My Cloud Dashboard, it may be possible to restore the deleted folder in that Share by accessing the Share’s Recycle Bin and restoring the folder/files.

If you have been backing up your My Cloud using the My Cloud Dashboard Backup feature one could restore the latest backup of the deleted folder or Share from that backup location.

Otherwise you will have to use file recovery software to attempt recovery of the data you have deleted. Generally using recovery software programs to recover deleted files or folders may result in not being able to restore some or all of the deleted data. Depending on the software and My Cloud version, one may have to extract the internal My Cloud hard drive and connect it to the computer running the recovery software. Or one could send their My Cloud out to a professional recovery service.

Alternate 3rd Party Data Recovery
https://support-en.wd.com/app/answers/detailweb/a_id/18754

Note: If one uses recovery software they should immediately stop using their My Cloud before attempting to use that recovery software to scan for deleted files on the My Cloud. Reason being, writing more data to the My Cloud may overwrite the area where the deleted file information is stored making recovery of the deleted file data harder.

One can use the forum search feature (magnifying glass icon top right) to search for many past discussions on how to recover deleted files and folders from a My Cloud device.

these are not deleted , actually some shares are automatically removed that contained spatial symbols (like $,@,&…) I’m not sure weather it removed or hide … but I need to get back

Access the My Cloud using SSH and change the name of the “missing” (likely hidden) folders so they don’t contain special characters. Generally the My Cloud will hide files or folders that use certain special characters as the first character of the file or folder name.

So, How can get back and rename my folders?

As indicated, connect to the My Cloud using SSH. One can use a program like WinSCP (https://winscp.net/eng/index.php) to access the My Cloud using SSH to check that the folders exist; and if they do but are hidden due to using special characters in the name, rename the folder(s). If you don’t know what SSH is, use your favorite internet search engine to learn about it and how to issue Linux commands using it. There are other SSH client programs besides WinSCP one can find using an internet search. One enables SSH through the My Cloud Dashboard > Settings > Network. When first toggled on one will see a warning screen that should include the SSH login information.

My Cloud: Access Using SSH (Secure Shell)
https://support-en.wd.com/app/answers/detailweb/a_id/26497

NOTE: One uses SSH at their own risk!!! One can easily brick (render unusable) their My Cloud by issuing the incorrect SSH command!!!

1 Like

As stated above you will need to connect to your MyCloud device through SSH.

  • Enable SSH through the MyCloud Dashboard (Settings > Network)
  • Open the Terminal program on your pc.
  • Run this command (replace the IP address with that of your MyCloud):
    ssh sshd@192.168.0.123
  • After you entered your Admin user password run this command:
    ls -la /shares

What is the output of the last command?
Do you see your folder?

1 Like

OMG…
Thank you so much Mr. Bennor I found my whole hidden files and share folders but I don’t know how to make it visible again. however I have downloaded whole files and I created folders without containing any specials characters and move on into that. thank you once again…

Did you try renaming the folder(s) that were hidden to remove the special characters? Using WinSCP it should be as simple as just double clicking on the folder name or right clicking on the folder name and selecting “rename” or select the folder and hit the F2 key. If using the command line interface of a program like Putty there are various ways to rename a folder. For example using the mv command:
mv [old directory name] [new directory name]

One may have to reboot their My Cloud if the changes are not reflected immediately.

1 Like