× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Copying from root to share

jimmy_breeze
Aspirant

Copying from root to share

Hello,

 

I am trying to save my Plex Media Server settings to move to a different server.

 

I have accessed the settings containing the folders via SSH and Putty. But now I'm trying to copy those files and save them somewhere. Another share, my computer's desktop, anywhere. How do I access the ReadyNAS shares from within root? I've tried things like:

 

copy /apps/plexmediaserver/MediaLibrary/Plex Media Server /mynas/Software

 

but it can't find the address of that share.

 

What would the correct directory name be?

 

Thanks!

Message 1 of 8

Accepted Solutions
jimmy_breeze
Aspirant

Re: Copying from root to share

I have figured it out. I was able to get to /mynasname/Videos. I swear I did this yesterday and it said it was not a directory. But now I am finally copying over my plex data! Thanks!

View solution in original post

Message 5 of 8

All Replies
Sandshark
Sensei

Re: Copying from root to share

Asuming OS6.x, the shares are in /data.  So the Videos share is /data/Videos.  Don't forget to change ownership and/or permissions so you can access them using a user other than "root".

 

If it's an older NAS, please specify.

Message 2 of 8
jimmy_breeze
Aspirant

Re: Copying from root to share

Thanks, Sandshark. And yes, I am on OS6.6.1.

 

It is saying /data/Videos is not a valid directory. (And yes, I do have a share named Videos.)

Message 3 of 8
jak0lantash
Mentor

Re: Copying from root to share

Maybe your volume isn't called data?

btrfs fi sh
mount | grep md127
Message 4 of 8
jimmy_breeze
Aspirant

Re: Copying from root to share

I have figured it out. I was able to get to /mynasname/Videos. I swear I did this yesterday and it said it was not a directory. But now I am finally copying over my plex data! Thanks!

Message 5 of 8
Sandshark
Sensei

Re: Copying from root to share

If you are normally a DOS/Windows person (as I am) then you have to be diligent about the direction of the slashes and case sensitivity.  I'm always doing a Homer Simpson "Duh!" when I get under the hood on a Linux system.  Glad you figured it out.

Message 6 of 8
StephenB
Guru

Re: Copying from root to share


@Sandshark wrote:

I'm always doing a Homer Simpson "Duh!" when I get under the hood on a Linux system.  


Nice to hear it's not just me.

 

Don't know why Bill Gates reversed the slashes back in the day, but I really wish he hadn't.

Message 7 of 8
jak0lantash
Mentor

Re: Copying from root to share


@StephenB wrote:

@Sandshark wrote:

I'm always doing a Homer Simpson "Duh!" when I get under the hood on a Linux system.  


Nice to hear it's not just me.

 

Don't know why Bill Gates reversed the slashes back in the day, but I really wish he hadn't.


If you want to push it one step further:

1. Install Git SCM for Windows: https://git-for-windows.github.io/

2. Add "C:\Program Files\Git\usr\bin" to your %PATH%.

3. Enjoy using Linux commands with Windows style path:

 

C:\>ls -1sh "C:\Program Files\Git"
total 2.7M
 20K LICENSE.txt
 96K ReleaseNotes.html
   0 bin
4.0K cmd
   0 dev
4.0K etc
140K git-bash.exe
148K git-cmd.exe
   0 mingw64
   0 tmp
1.1M unins000.dat
1.3M unins000.exe
 24K unins000.msg
   0 usr

C:\>cat "%ProgramFiles%\Git\etc\install-options.txt"
Path Option: Cmd
SSH Option: OpenSSH
CURL Option: OpenSSL
CRLF Option: CRLFAlways
Bash Terminal Option: ConHost
Performance Tweaks FSCache: Enabled
Use Credential Manager: Disabled
Enable Symlinks: Disabled

 

Message 8 of 8
Top Contributors
Discussion stats
  • 7 replies
  • 2863 views
  • 0 kudos
  • 4 in conversation
Announcements