Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Backup Methods for VPS without Snapshots functionality from Provider

Heya!

Calling those of you who have VPS without Snapshots functionality from your Provider!

Can you share your current backup method used and able to restore back quickly when you encounter an issue?

Thanks!

Comments

  • SpeedBusSpeedBus Member, Host Rep

    one option that comes to mind is,

    If you can boot into a rescueCD/GRML type operating system, you can technically create a disk image copy (via DD) and directly scp it to a remote backup server. That way you have a full disk image available for restore as well.

    If you want to backup on a service level basis, you can use chatGPT to backup the configuration changes to git and then similarly bash scripts to backup things like databases etc every X hours or days too.

    Thanked by 1hapkido
  • tentortentor Member, Host Rep

    Also it is common to use Docker/podman - basically all your services stored in a single configuration file (or multiple if you have different application deployed separately). In most cases, services settings are stored in .env files within the same directory as compose yaml definition. You can easily backup both config and data in this approach.

    Alternatively, you can use btrfs/zfs that offer snapshots on their own, so you can have full system backups without support from provider itself.

    As for backup tools, I recommend you to look into https://torsion.org/borgmatic/

    Thanked by 1hapkido
Sign In or Register to comment.