this post was submitted on 22 Sep 2023
19 points (95.2% liked)
Self Hosted - Self-hosting your services.
11436 readers
2 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
- No harassment
- crossposts from c/Open Source & c/docker & related may be allowed, depending on context
- Video Promoting is allowed if is within the topic.
- No spamming.
- Stay friendly.
- Follow the lemmy.ml instance rules.
- Tag your post. (Read under)
Important
Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!
- Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.
Cross-posting
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed!
- [email protected] is allowed if topic has to do with selfhosting.
- [email protected] is allowed!
If you see a rule-breaker please DM the mods!
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use it for working with my smartphone.
sorting pictures in my pc, have them right in my gallery on my phone. fetched a pdf when doomscrolling why commuting, have it instantly on my pc when Im back home.
I am currently migrating away from tiddlywiki as I want to have my notes integrated into my plain file life as well.
I have a Mealie instance running on a VPS. It has a backup function built in, but it just dumps a .zip locally. I could leverage Syncthing to send that over to my server. Other than that, what you described is exactly how I use Seafile. I have my documents folders on all PCs and my phone synced. Had to print something off downstairs and didn't want to go get the laptop upstairs to either send to myself or print from the laptop, so seafile just let me reach to the server and pull it down via my Linux desktop client.
yeah I see, however in my use case I dont have all the time access to my server (which is also the case wifh syncthimg) plus the mentioned culprit that the seafile datastructure is not able to retrieve the files without seafile.
I mentioned it in another comment but you can use rclone to mount the seafile data structure. And at least in my testing it works really well. I'll have to test with more data and of course remote data. If I ever get the Backblaze B2 backend working then I could more easily test a use case where I didn't have access to the server like you're talking about. I have had great success with rclone mount with Dropbox, but those are not chunked files. :)
I do wonder if folks who are hesitant to use it because of the chunked files are also not using apps like Borg backup or Duplicacy. Both of which also chunk the data. I believe in both cases you can still leverage rclone to mount them as whole files for retrieval.
I indeed do not use borg or duplicacy. ^^
Im not sure if I can follow you. you mean you use rclone to clone the seafile database to you phone and use then nonetheless seafile on the phone to access it?
I mentioned rclone and its
mount
function as it's an alternate method of accessing Seafile's backend. So if Seafile clients and web interface are somehow inaccessible, you can use rclone mount to "reassemble" the chunked data and then recover or copy to another location as needed.The best way I can describe the phone example is that each Seafille client is a portal to the data on the Seafile server. I have it setup like this:
From my phone I can pull any data in any of the 3 libraries without needing to sync the entire thing to each device, which is what Syncthing wants to do by default. I understand there is an
ignore
function but from what I can tell you'd have to manually mark quite a few folders as such so you don't sync all data to each client.One scenario I tested last night was using rclone mount on the server, which "un-chunks" the data back into whole, flat files and mounts it in a temporary folder. I then used rclone to copy it to a Backblaze B2 bucket. Which now has fully assembled flat files sitting as a backup in B2 storage. My thought is to script that function because damned if I can't seem to get database dumps to work properly when performing backups on pretty much any self hosted product that uses them. Still learning though.
That is probably way more info than you needed to answer your question, sorry about that.
Actually I appreciate it. :)
Wasnt aware of the rclone functionality to use datachunks.
But how do you put the cloned data back into seafile?
Syncthing would simply wait until the peer is back online and propagate the update from the phone back to other peers.
But as far as I understand you simply pull a backup from a seafile repo if the server is down?
You don't need to put it back. Rclone mount is another "portal" to the seafile data, but fully assembled. It mounts to a folder you specify. Then you reach in and pull anything you might need if all of the seafile clients and web app are down.
They do have their own tool called Seafuse that will assemble the data as well, but I've not tried it since rclone works great and has a ton of support. It's fantastic.
Ok Now I understand.
Didnt knew that rclone was capable.
Well, that actually changes the situation. maybe I should still look into seafile.
Whats your hardware? i will try it on a RPi4, since I have read about nextcloud being a hog resource wise I hope seafile will be more calm
I have a HP Microserver Gen 8. And about 22 docker containers including Seafile running. I've read folks had good success with it on Rpi, but I haven't tried myself. I ought to spin one up on one I have that's not doing anything.
I'm a recent convert to Rclone. I've struggled with other CLI backup tools like Borg and Restic, but rclone is very approachable.