this post was submitted on 05 Mar 2024
31 points (94.3% liked)

Selfhosted

40219 readers
965 users here now

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!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] crony@lemmy.cronyakatsuki.xyz 2 points 8 months ago* (last edited 8 months ago) (1 children)

I would just use rsync on the whole folder.

Rsync is smart enough to be able to only send files you didnt' have previously like a regular mv command.

Or you can sync the whole directory and have it also delete removed files.

Edit: If you wan't something to automatically "sync/backup" the data, why don't you try and use syncthing? P2P syncing solution that might be exactly what you need in your hse case.

[–] legoraft@reddthat.com 2 points 8 months ago (1 children)

I'm now considering syncing my minecraft world with syncthing, I already use it for some things but don't know why I didn't think of doing that.

On the other hand, if I have a 100+ gb media library, it seems kinda over the top to also have it fully copied on my local machine. Do you do this?

[–] crony@lemmy.cronyakatsuki.xyz 2 points 8 months ago (1 children)

When it comes to media like my music library and comics for example I just use rsync to move new ones to the server every time I collect some new (I have about 60gb of it)

[–] legoraft@reddthat.com 2 points 8 months ago (1 children)

so you basically have a copy of your media library on a local machine?

[–] crony@lemmy.cronyakatsuki.xyz 1 points 8 months ago (1 children)

No, I only have new files on my local machine, and as I collect new stuff I move them to my server with rsync and just remove it onthe local machine.

Rsync is more than smart enough to, if you keep same folder structure to easilly move the files to the server without you having to manually copy other each file.

[–] legoraft@reddthat.com 2 points 8 months ago (1 children)

sounds good, do you have any docs on how to do that?

[–] crony@lemmy.cronyakatsuki.xyz 1 points 8 months ago (1 children)

Don't really have some rn. Will make a page on my wiki and link it to you later with some basic examples.

[–] crony@lemmy.cronyakatsuki.xyz 1 points 8 months ago (1 children)

Here is the link to the wiki page I created: rsync

The most important part for you is the last one, but I would recomend to read it whole to understand how rsync works a bit.

[–] legoraft@reddthat.com 2 points 8 months ago

Great! Thanks a lot, this will help