• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle
  • 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.




  • 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).