Skip to content

Backup

MIO

is Mio's internal module for managing system backups uses Borg Backup.

Config Files#

Name Default Type Description
BORG_SHA256 TODO /^[0-9a-f]$ SHA256sum of binary
BORG_URL TODO /^http/ location of borg binary

Use#


TODO
  • merge backup; files/backup; session/backup into external tool
  • ease and update creation flow, consider multiple storage backends
    • Hetzner
    • borgbase
    • self
    • mount folder
  • refactor to simplify overlay level of depth
  • FILE ./etc/backup.pat
  • FILE ./etc/backup.rc
  • FILE ./etc/backup.known_hosts
  • FILE ./backup
  • FILE ./backup-create
  • FILE ./backup-job
  • FILE ./borg-sig-key.pub
  • verify signature
  • use borg config dir with backup class to support multiple repos. at least check if its needed
  • abstract into backupctl wrapper to support
  • can curl replace rsync and even sftp
  • mitigate StrictHostKeyChecking=accept-new
  • rewrite hidden blocking API and await action