Services that need a lot of storage, I host at home (Gonic, Jellyfin, Audiobook Shelf etc). Services where I care about availability when I’m away from home, I host on a VPS (Vaultwarden, Synapse, Wordpress, DokuWiki etc).
Services that need a lot of storage, I host at home (Gonic, Jellyfin, Audiobook Shelf etc). Services where I care about availability when I’m away from home, I host on a VPS (Vaultwarden, Synapse, Wordpress, DokuWiki etc).
Personally, I always use rsync for these sorts of jobs. Works over SSH so don’t need anything on the server except SSH, if the trasfer gets interrupted it will resume from where it left of. Overhead from SSH is pretty minimal, but if you really want thigns to go as fast as possible, you can setup an rsync server …
If you don’t want to use rsync, just use SFTP or SCP.
Use bind mounts instead of docker volumes. Then you just have normal directories to back up, the same as you would anything else.
In general, it’s not a problem to back up files while the container is running. The exception to this is databases. To have reliable database backups, you need to stop the container (or quiesce/pause the database if it supports it) before backing up the raw database files (including SQLite).
Oh cool, I thought Raneto was dead.
If you’ve actually been hacked you want to get your data off to another computer and then wipe the hacked server. You can try and run a rootkit to see if it can detect any signs of being hacked.
Before using any files from the serer, check them carefully for virus and trojans.
If you just locked yourself out of the server by mistake, boot into single-user mode and reset your password.
Either way, unplug the network cable until you figure out if you’ve been hacked or not.