You just finished setting up all your services and it works fine - how do you now prepare for eventual drive failure?

I know that for data storage the best bet is a NAS and RAID1 or something in that vein, but what about all the docker containers you are running, carefully configured services on your rpi, installed *arr services on your PC, etc.?...

https://kbin.social/m/selfhosted@lemmy.world/t/636937

You just finished setting up all your services and it works fine - how do you now prepare for eventual drive failure? - selfhosted - kbin.social

I know that for data storage the best bet is a NAS and RAID1 or something in that vein, but what about all the docker containers you are running, carefully configured services on your rpi, installed *arr services on your PC, etc.?...

  • Most systems are provisioned in proxmox with terraform.
  • Configuration and setup is handled via ansible playbooks after the server is available. 2.a) Do NOT make changes on the server without updating your ansible scripts - except during troubleshooting. 2.b) Once troubleshooting is done delete and re-create the VM from scratch using only scripts to ensure it works.
  • VM storage is consider to be ephemeral. All long-term data/config that can’t be re-created with ansible is stored on an NFS server with a RAID5 dive configuration.
  • NFS server is backed-up nightly to backblaze using duplicacy.
  • Any other non-VM systems like personal laptops and the like are backed up nightly to the file-server using rsnapshot. Those snapshots are then backed up to backblaze using duplicacy.
  • Great summary. How does work the provision with terraform? Do you have some guide? Is possible to provision LXC/VM on proxmox with ansible instead?

    I use the bpg/proxmox module to manage proxmox with terraform.

    LXC was pretty straight forward. Use the proxmox_virtual_environment_container module and set parameters.

    Basically I have an image that is based on a cloudinit image for Ubuntu (which I create and upload to proxmox with Ansible - but it wouldn’t be hard to do manually in case of a disaster recovery). I then clone that image to create new VMs using the proxmox_virtual_environment_vm module.

    Terraform Registry