Skip to content

Latest commit

 

History

History

usb-backup

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

usb-backup (Home Assistant Addon)

Plug in a usb drive and backup home assistant. This uses rsync and is based on the amazing work of Poeschl and his rsync local

Addon Stage Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

Add repository on my Home Assistant Install on my Home Assistant

How-to

  1. Plug in a usb drive large enough to fit your files
  2. Run the addon once with the external device config setting empty, check the log and note the /dev/sd** of the usb drive you want to use. Copy this into the external device section. (typically /dev/sda1 for rpi, and /dev/sdb1 for x86 - double check!)
  3. Click start and check logs. Don't Start at boot or run with Watchdog. By default this backs up all folders available to the addon. Note: if you have network drive mounted to media/share/backup it will be backed-up as well.
  4. It only runs if you click start. So write an automation to trigger it automatically/regularly - (see automation example at the bottom of this doc)

Requirements

  • USB drive (or thumb drive) formatted with a linux native filesystem - for best results use EXT3, EXT4 or BTRFS (this addon only has access to the first 3 partitions, so try to use fewer). Other filesystems may work, but could have issues.
  • The drive should be at least ~30% larger than your install if you're using snapshots
  • A Home Assistant device that can power a usb drive*

*if you're using rpi, make sure its with a powered drive or powered usb hub. Some rpi usb ports are a little underpowered - underpowered drives cause write errors (a usb thumb drive uses less energy, so might be a good option if you're not backing up too often).

MORE INFO HERE: DOCS.md