SiloCityLabs / lochnas

Docker configuration for all-in-one nas setup
https://lochnas.com
GNU General Public License v3.0
51 stars 3 forks source link

Backup USB drive on insert #51

Open ldrrp opened 2 years ago

ldrrp commented 2 years ago

Problem

Want to backup flashdrives or external drives on insert withouth having to shell in, mount and move data around.

Solution

Configuration

- backups:
  - path: /docker-nas/home/backups
  - notification:
            enabled: true

Notify may be "true", "false" or "email" etc. Parsed as string. True will use server default.

ldrrp commented 1 year ago

https://github.com/google/gousb