Skip to content
Sebastian Schlicht edited this page Jul 7, 2020 · 1 revision

You can always check the latest usage instructions by running backupnas -h

Usage: backupnas [OPTIONS] [CONFIG_FILE [MAPPING_FILE]]

NAS Backup Script is a tool to backup your personal data to local or remote locations.

The config file configures the backup destination and provides possibly required credentials. Defaults to '/.nb/config'. The mapping file maps local paths to paths at the backup destination. Defaults to '/.nb/mapping'

Options: -h, --help Display this help message and exit. -i, --include-file Specify the path to an include file. Local directories matching a pattern specified in the given file will always be included in the backup. Defaults to '/.nb/include'. See man rsync for details. -e, --exclude-file Specify the path to an exclude file. Local directories matching a pattern specified in the given file will be excluded from the backup. Defaults to '/.nb/exclude'. See man rsync for details. -n, --dry-run Perform a dry run. No changes will be made. -q, --quiet Supress all output.

Clone this wiki locally