I’m currently debating on how to manage files on my servers. I have a jellyfin and a minecraft server on which I need to add, remove or download files quite often. I don’t really want to use scp for everything, so I was wondering what everyone uses.

Edit: I’m looking for a gui solution, but a somewhat automated process of backups etc. is also nice

Edit 2: For anyone wondering what my final solution was: I am currently using a wireguard vpn on a raspberry pi to access my servers. I use Xpipe as a gui interface to transfer my files. I also just use tmux and ssh to execute commands and run services.

14 points

Linux?

I just use sshfs to mount ssh shares and move files between them like any other folder.

Same with samba shares (windows).

permalink
report
reply
5 points

You can do the same on Windows (mount ssh shares), there is an Fuse like project for Windows: WinFsp.

permalink
report
parent
reply
2 points

SSHFS also has a windows release.

permalink
report
parent
reply
13 points

IDK what OS you are on but on Linux most file managers have support for remote filesystems. SFTP (SSH-FTP, not to be confused with FTPS which is FTP-secure) is ubiquitous and if you use scp then you already have SSH set up.

If you need Windows support it is more of a pain. You may need to set up Samba or WebDAV and permissions can suck. But you can also download a third-party file browser that supports remote protocols.

So basically SFTP, and I fairly regularly just use a graphical file manager when I am doing one-off operations.

permalink
report
reply
3 points

I’m using debian, so sftp would be an option, do you use a graphical client?

permalink
report
parent
reply
6 points

Right now I am just using nautilus (default GNOME file manager) but in past I was using Thunar (default XFCE file manager). I’d be pretty surprised if whatever file manager you are currently using doesn’t support SFTP out of the box. Typically you can just enter something like sftp://myhost.example into the location bar. They may also have a dedicated network connection section with a wizard to add it.

permalink
report
parent
reply
1 point

I’m considering this, as I can see by your example, you can add a domain name to the server. How would you go over doing this?

permalink
report
parent
reply
3 points

nemo for a gui, or midnightcommander after logging in via ssh for managing/moving files on the server.

permalink
report
parent
reply
11 points

NFS comes to mind, naturally.

I remember some years ago scp had a big issue, can’t recall what, though. But that made me have a look at rsync, and I’ve been using that ever since. Flags are a bit atteocious, but I’ve aliases rsync -avz status=progress to copy and it’s been happy days. One other benefit - incremental copy. Helps in cases where a copy procedure had been stopped for whatever reason.

permalink
report
reply
2 points

I wouldn’t really recommend NFS unless you need to remote mount as a “true filesystem” with full support for things like sockets, locking and other UNIX filesystem features or you need top performance. It is so difficult to do authentication and UID mapping that it typically isn’t worth it for simpler use cases like “add, remove or download files”.

scp can be slow with large numbers of small files. rsync is much better at that and can do differential transfers if you need that. Since rsync can also run over SSH it can be very easy to just use it as a default.

permalink
report
parent
reply
9 points

Sftp using the KDE file browser Dolphin. Keeps it simple for my monkey brain as if I’m accessing the drive locally.

permalink
report
reply
8 points

Plex/Jellyfin is automatically managed by Sonarr/Radarr so I don’t touch those.

But for game servers I use Pterodactyl which has a nice WebUI to manage the server and its files, and has automated backups.

permalink
report
reply
2 points

pterodactyl looks really neat, will definitely look into that. I have a manual system for my media library, so I want to add the directories with artwork and movies manually to the directory which jellyfin reads.

permalink
report
parent
reply
1 point
*

https://github.com/filebrowser/filebrowser might be what you want for that, just a basic web based file management tool.

But you could also just use SMB and access the shares directly from file explorer.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5K

    Monthly active users

  • 3.6K

    Posts

  • 81K

    Comments