ikifar2012 / remote-backup-addon

Automatically create and backup HA snapshots using SCP
30 stars 4 forks source link

[FR] Add ability to remove folders / files from back-up thru rsync #28

Closed SirGoodenough closed 2 years ago

SirGoodenough commented 2 years ago

While running rsync in the add-on It goes thru and backs-up several files that do not necessarily need to have a backup. DB files and some log files in config, cache files from the TDM add-on, and others.

Since rsync has the ability natively to exclude files. I would make good use of a line on the config that would feed this info to the rsync command-line to ignore certain folders and files.

Some of these files are cache files in the TDM add-on, for instance, that are never needed to be backed up.

Screenshot_2021-11-06_00-11-47

The issue is 3 fold.

SirGoodenough commented 2 years ago

Beginning of my run log from the backup add-on...

Screenshot_2021-11-06_00-26-08