• 5 Posts
  • 87 Comments
Joined 10 months ago
cake
Cake day: June 11th, 2024

help-circle
  • Most of the time the VPS provider offers some backup solution. It’s not only about your configuration files which can easily be recreated, but about all the user data like pictures databases, etc. Which once lost can’t be recovered.

    Best practice is a 3-2-1 backup: https://www.backblaze.com/blog/the-3-2-1-backup-strategy/

    But you could back up your stuff on your laptop if you want, it’s not such a bad idea actually. For that you trigger the backup script from your laptop, you can do it automatically there too. This makes sure that the laptop is on while you’re doing the backup.

    The easiest way is a crown job and a bash file which runs a couple of rsync commands to get specific files and directories from the server via ssh.

    A more involved way would be a backup system like restic, which does a lot of things for you but is a bit more involved to set up.