NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

BR0KK's avatar
BR0KK
Aspirant
Aug 05, 2020
Solved

ReadyNAS 2304 data Recovery on machine?

Hi,

 

one of my customes uses a RN 2304 with 2x 4 TB in X-RAID. Everything works fine (no errors or downtime so far) 

but today i was asked to retrieve an defective *.xlsx file from that nas.

The file itself is still there but i can't open it with excel (straight from that nas) nor can i open this file on my local computer.

 

What i want to know is:

 

Can i somehow scan the "array" for older not jet deleted fiiles?

 

On windows i can use some recoverytool (revuva etc.) to do exactly this and sometimes with a little luck i am able to recover at least an older file.

 

I was wondering if this clould be done on the NAS itself? 

What OS (linux i assume) runs on these Netgear devices?

Is it possible to SSH into the nas and get shell access?

 

Snapshots are not enabled so not avalable :(

 

Thank you

 

 

  • The underlying operating system is Debian Jessie.  Yes, you can SSH into the unit.  It has to be enabled on the Settings screen of the GUI, then you log in as user root using the NAS admin password.  Note that since you are root, you can do things you shouldn't.  The warning you get when you enable SSH is based on that -- Netgear will not help you out of a mess you created yourself via SSH.  They will not automatically deny support because it is enabled.

     

    With the BTRFS file system that the NAS uses, a lot of undelete tools won't work, and I think what you need to do is recover a delected old version.  Here is one that claims it does, though I have no experience with it: btrfs-undelete on GitHub.   If Copy on Write is enbled, that may help things out.

     

    Have you tried workbook repair (Repairing-a-corrupted-workbook )?  It's probably best to work on a local copy, not the original.  There are some other recovery tools for Excel around, too.

6 Replies

Replies have been turned off for this discussion
  • Marc_V's avatar
    Marc_V
    NETGEAR Employee Retired

    BR0KK

     

    Welcome to the Community!

     

    if you have enabled snapshots for the share where your files are in, it is possible to roll back using the Snapshots but there are things to note though if you will be doing this, one is that any snapshot or data created after the chosen snapshot has been rolled back will be deleted.

     

    https://kb.netgear.com/23405/How-do-I-roll-back-to-a-snapshot-on-my-ReadyNAS-OS-6-storage-system

     

    Not really sure if ReCLAIMe can be used on a working array, perhaps other members will be able to share. You can do SSH via Tech Support mode or by enabling SSH access but only do it if you are comfortable using it.

     

    However, getting the file to open may not need to do recovery. What error are you getting when trying to use the file?

     

     

    • Sandshark's avatar
      Sandshark
      Sensei - Experienced User

      The underlying operating system is Debian Jessie.  Yes, you can SSH into the unit.  It has to be enabled on the Settings screen of the GUI, then you log in as user root using the NAS admin password.  Note that since you are root, you can do things you shouldn't.  The warning you get when you enable SSH is based on that -- Netgear will not help you out of a mess you created yourself via SSH.  They will not automatically deny support because it is enabled.

       

      With the BTRFS file system that the NAS uses, a lot of undelete tools won't work, and I think what you need to do is recover a delected old version.  Here is one that claims it does, though I have no experience with it: btrfs-undelete on GitHub.   If Copy on Write is enbled, that may help things out.

       

      Have you tried workbook repair (Repairing-a-corrupted-workbook )?  It's probably best to work on a local copy, not the original.  There are some other recovery tools for Excel around, too.

      • BR0KK's avatar
        BR0KK
        Aspirant

        Well snapshots are not enabled ....

         

        I tried many ways to recover the excel file but none so far worked.

         

        As of now i just get a blank view of excel 2019. Nothing is visible (no Worksheets etc.)

        There were errors before but i can not reproduce them. And the customer aparently deleted the dead excel file from the nas and from the server already..... The copy i have just opens to a blank excel page ....

         

        I might look into one of our backups to restore the defective excel file once more (He copied the excel file to the server wich has a continously running backup and now it seems as if he deleted thie copied file already)

         

        I'll ask him if i should pursue this for any longer before i start breaking into the NAS

         

        The SSH Featue can be disabled again?

        And does one time cativation of ssh void the warranty?

         

        Thx in advance

         

         

         

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More