Skip to content

Documentation of option DEFAULT_EXCLUDE_LIST  #407

Description

@mcm1957

I tried to exclude the directory /media/pi from backup as I have problems with ACLS and Synology NAS a backup target.

So I edited the following line at /usr/local/etc/raspiBackup.conf and added the directory

DEFAULT_EXCLUDE_LIST="/media/pi"

This did not work. I had to use the syntax

DEFAULT_EXCLUDE_LIST="--exclude=/media/pi"

to make it work.

I'm not sure wether this is the desired behavior or a bug. So I created this issue as question. If no change is desired (i.e. cause of compatibility) maybe a example with the correct syntax could be added to the config file.

Extract from logfile when the error occures following:

20211206-174005 DBG 2273: --> executeCmd Command: rsync --exclude="/backup" --exclude="/home/@user@/raspiBackup.log" --exclude="/home/@user@/raspiBackup.msg" --exclude='.gvfs' --exclude=/proc/* --exclude=/lost+found/* --exclude=/sys/* --exclude=/dev/* --exclude=/boot/* --exclude=/tmp/* --exclude=/run/* --exclude=/@HOSTNAME@-backup.img --exclude=/@HOSTNAME@-backup.tmg --exclude=/@HOSTNAME@-backup.sfdisk --exclude=/@HOSTNAME@-backup.mbr --exclude=/raspiBackup.log --exclude=/raspiBackup.msg /media/pi --numeric-ids -aHAx --delete / "/backup/@hostname@/@hostname@-rsync-backup-20211206-173935"


Sorry, maybe I should have posted in english:

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-issue-activityInactive issues will be closed afetr 2 weeksquestionSome question about raspiBackup

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions