Paths generator for Borg backup tool

Paths generator for borg backup tool

backup-files walks through filesystem and print all files that should be sent to backup. Pipe this command output to borg create --path-from-stdin {borg-repository} (Borg version 1.2 or newer required) to perform backup.

backup-files lists only files from home directory (~/), ignores some "cache" directories (like ~/.cache) and some "generated" directories (like node_modules if package.json is also present).

Currently backup-files does not provide any configuration possibilities. All configuration must be done in the source code.

This script is early stage of development. Nevertheless it does its job well for me right now.