Skip to main content

Backing up important files nas

·92 words·1 min
Author
Ian Blockmans
I make things and also virtual things

Just work in NFS share
#

Most of my important files already live in the /nfs/configs/ directory. a remote backup of this would be nice but too expensive for my taste at the moment.

semaphore-ui
#

An application to run periodic task with ansible,terraform, tofu, bash ,powershell, python or terragrunt. I use ansible to copy files from a local drive to my nfs share. See below:

---
- hosts: all

  become: true
  tasks: 
    - name: Backup ssd configs 
      ansible.posix.synchronize:
        src: /disk2/configs/
        dest: /nfs/configs/
        archive: true
        rsync_opts:
          - "-au"
      delegate_to: "{{ inventory_hostname }}"

Related

Dockge dashboard
·54 words·1 min
Adding an iot device to my network
·37 words·1 min
Kubernetes cluster setup
·243 words·2 mins