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

Forum Discussion

Sput's avatar
Sput
Aspirant
Sep 01, 2020
Solved

Readynas rn202 copy folder to windows via ssh

Hi,

 

I have my NAS running a plex server, and after a failed update to plex and a loss of the plex database not media, I am looking at backing up some items a bit.

 

I have found where the plex data is stored and found that I can get access to the data via powershell however I am struggling to copy said data.

 

I wish to copy the following location \.apps\plexmediaserver\medialibrary\plex media server\ to my windows PC

 

Using powershell I have mapped T: to the readynas and done:

copy-item "t:\.apps\plexmediaserver\medialibrary\plex media server\" -destination "C:\plexbackup\"

 

It creates a folder called plexbackup on the W10 C drive however it does not copy the contents of the \.apps\plexmediaserver\medialibrary\plex media server\ folder

 

How should I go about copying this data?

 

Thanks

Sput

  • Sput's avatar
    Sput
    Sep 02, 2020

    Hi StephenB 

     

    Thanks for the suggestion, I am clealy getting something simple wrong as I know its possible, I resorted to using WinSCP to give me a GUI to get to the required folder and download the plex database data.

     

    Thankyou so much for the perseverance with me and helpful advice.

     

    Sput

8 Replies

Replies have been turned off for this discussion
  • Where is the mapping to the ReadyNAS actually pointing (not sure you can map directly to that folder). I think you may need to copy the interested files to a 'share' that is mappable.

    • Sput's avatar
      Sput
      Aspirant

      The folder that I have mapped to is not one of the shares which are visible / made from within the GUI of the nas, but a folder for one of the apps that I have running on the nas.

       

      I installed Plex from the admin gui, and as per the following link 

      https://support.plex.tv/articles/202915258-where-is-the-plex-media-server-data-directory-located/

       

      There is a folder where the database etc for plex is stored on the nas.  After SSH into the nas I was able to find that there is a .apps folder, and I used powershell to map a folder to \\nas\.apps\ as the T: drive, and from there I was able to use powershell to navigate the folder structure to find the plex data that is mentioned in the link above.

       

      Many thanks

      Sput

      • aks-2's avatar
        aks-2
        Apprentice

        I don't think you can reach that folder via (SMB) shares, which is what your copy is doing. You can see it via SSH, but to reach the data you will need to first copy it to a visible location (I hasten to add, I think). I have a RN214, but not reachable right now to try.

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