- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Copying from root to share
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Copying from root to share
Maybe your volume isn't called data?
btrfs fi sh mount | grep md127
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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