What is your favourite way to transfer files in your homelab?
What is your favourite way to transfer files in your homelab?
Hello selfhosted! Sometimes I have to transfer big files or a large amounts of small files in my homelab. I used rsync but specifying the IP address and the folders and everything is bit fiddly. I thought about writing a bash script but before I do that I wanted to ask you about your favourite way to achieve this. Maybe I am missing out on an awesome tool I wasn't even thinking about.
Edit: I settled for SFTP in my GUI filemanager for now. When I have some spare time I will try to look into the other options too. Thank you for the helpful information.
Not gonna lie, I just map a network share and copy and paste through the gui.
Same lol, somebody please enlighten me on a faster way!
Yeah, I mean I do still use rsync for the stuff that would take a long time, but for one-off file movement I just use a mounted network drive in the normal file browser, including on Windows and MacOS machines.
Sounds very straight forward. Do you have a samba docker container running on your server or how do you do that?
I just type
sftp://[ip, domain or SSH alias]
into my file manager and browse it as a regular folderI have two servers, one Mac and one Windows. For the Mac I just map directly to the smb share, for the Windows it's a standard network share. My desktop runs Linux and connects to both with ease.
Do you really need a container for Samba?
I see the benefits of containers, but a use would be overkill.
I dont have a docker container, I just have Samba running on the server itself.
I do have an owncloud container running, which is mapped to a directory. And I have that shared out through samba so I can access it through my file manager. But that's unnecessary because owncloud is kind of trash.
Set up smb on my file share VM.
My dedicated docker host accesses it through an NFS mount.