How to Recover Data from RAID 5 Based on NAS QNAP TS-412
Tags: datascience, beginners, linux, computerscience
Published: 2021-06-14 08:35:06

Have you accidentally deleted some information, formatted the hard disk or realized your NAS device is out of order? Read this article to find out how to recover data from a RAID system based on NAS QNAP TS-412.

![How to Recover Data from RAID 5 Based on NAS QNAP TS-412](https://hetmanrecovery.com/pic/blog/a252/how-to-recover-data-from-raid5-created-on-nas-qnap-ts-412.png)

A QNAP NAS storage system consists of several hard disks. To improve resilience and data safety, such devices enable you to create RAID systems of various types. However, even the most reliable storage systems may encounter emergencies like accidental deletion of files, formatting or damaging the hard disk, system errors, controller failures and other hardware issues, which may result in loss of important data.

![QNAP NAS](https://hetmanrecovery.com/pic/blog/a252/01-nas-qnap-ts-412.png)

##Recovering Deleted Files From The Network Recycle Bin
If NAS works properly and you just removed some important files by accident, you can try restoring them from the Network Recycle Bin.

YouTube: {% youtube OhzrPInWMyo %}

You can configure the Network Recycle Bin or check its settings by accessing Control Panel – Network & File Services – Network Recycle Bin.

![Network Recycle Bin](https://hetmanrecovery.com/pic/blog/a252/03-nas-files-recycle-bin.png)

Check if this option is enabled.

![Check if this option is enabled](https://hetmanrecovery.com/pic/blog/a252/04-network-recycle-bin-settings.png)

Then make sure it is enabled for the specific folder from where the data was deleted. Click on this Shared folder link, find the required directory in the list and click on the Folder Property button to modify its settings. The option to Enable Network Recycle Bin must be checked.

![Enable Network Recycle Bin](https://hetmanrecovery.com/pic/blog/a252/05-network-recycle-bin-activation.png)

Now that the shared folder option is enabled, the deleted files must be in that folder, and they can be recovered.

![Shared folder option is enabled](https://hetmanrecovery.com/pic/blog/a252/06-check-in-files-from-the-network-recycle-bin.png)

Open File Station and go to the directory where the removed files used to be stored; you will see a folder with the name @Recycle which contains all files deleted from this directory.

![File Station](https://hetmanrecovery.com/pic/blog/a252/07-recycle-catalog.png)

Select them and click Recover to have them reappear in their original location.

![Recover](https://hetmanrecovery.com/pic/blog/a252/08-recovering-data-from-the-network-recycle-bin.png)

##Replacing a QNAP Device
If your QNAP system won’t turn on, it may be out of order. But what can you do with all the data that’s still on the disks? There is no way to access the files by just connecting the disks to the computer. You can try replacing the device itself, but there’s no guarantee that the information will still be intact after you configure the new server.

Take the disks out of the QNAP device, and remember the order in which they were arranged: this is something you’ll need for the recovery process.

![QNAP device](https://hetmanrecovery.com/pic/blog/a252/09-nas-qnap-ts-412.png)

Usually disk bays have corresponding factory markings.

![Disk bays have corresponding factory markings](https://hetmanrecovery.com/pic/blog/a252/10-nas-qnap-ts-412.png)

After that, put the drives into the new QNAP, observing the correct order. If the damage has not affected the storage devices and their contents, your new system is likely to work as if nothing happened.

However, you should take into account the chances of the new device overwriting the data still remaining on the disks.

That is why it is better to use specialized data recovery tools and avoid taking unnecessary risks. There’s Hetman RAID Recovery to give you a helping hand, so you can restore files both from healthy RAID systems, and from separate disks within such arrays. Even if several disks are damaged and the remaining data cannot be identified, the utility will read the data from other disks which are still healthy.

##How To Use Hetman RAID Recovery
For illustration purposes, we’ve got a NAS device with four disks, three of them combined into a RAID 5 system.

![NAS device with four disks](https://hetmanrecovery.com/pic/blog/a252/10-storage-manager.png)

As to the file system, for many years all disks in QNAP devices tend to be formatted into EXT FS. Let’s simulate a scenario when the controller or another hardware element breaks down suddenly.

![all disks in QNAP devices](https://hetmanrecovery.com/pic/blog/a252/11-storage-manager.png)

Before you start the recovery process, make sure you have a storage device with the capacity equal to or larger than the amount of data stored on your RAID system.

The next step is to connect the hard disk to a Windows computer.

![Hard disk to a Windows computer](https://hetmanrecovery.com/pic/blog/a252/12-sata.png)

The usual problem with connecting multiple disks is that your computer may not have enough SATA ports or power connectors. However, this can be fixed with various power splitter adapters and expansion cards.

Make sure that everything is connected properly, power on the computer, download [Hetman RAID Recovery](https://hetmanrecovery.com/raid-data-recovery-software) from the official website, install and run it.

When started, the utility will scan the disks automatically and will also try to build the RAID system and then display all available information. Right-click on the array icon, and select Open from the list.

![RAID system and then display all available information](https://hetmanrecovery.com/pic/blog/a252/13-hetman-raid-recovery.png)

One by one, select the files to be recovered, and then click Recovery. Specify the directory to save the files to, and click Recovery again. All the recovered data will be saved to the directory you have chosen.

Many users are wondering how to recover an array when only one disk is down. In theory, the broken disk in your RAID 5 needs to be replaced, and everything should be fine again.

However, things may go wrong from time to time, and during the recovery process you may encounter an error or some other nasty thing that will inevitably result in loss of data. QNAP uses a Linux md-raid driver to manage the disk array. If these records are damaged, the operating system cannot access a RAID volume any longer, and to the user, this situation looks like a typical scenario of losing all of their data.

##Conclusion

![NAP supports a lot of third-party tools to back up](https://hetmanrecovery.com/pic/blog/a252/17-nas-qnap-ts-412.png)

It should be remembered that the best way to avoid data loss is to back up your information regularly. QNAP supports a lot of third-party tools to back up your files and even entire disks to external storage devices, remote servers or cloud services.