sukria / Backup-Manager

Versatile yet easy to use command line backup tool for GNU/Linux. Suitable for desktop and servers.
http://www.backup-manager.org/
GNU General Public License v2.0
277 stars 88 forks source link

BlackList too long #92

Open MartinCh1 opened 7 years ago

MartinCh1 commented 7 years ago

Hi,

We are using BM in a system where we need to do a backup only for the code files (.ipynb). To do this we use the tarball_blacklist variable:

_export BM_TARBALLBLACKLIST="$(find /var/sds/intelligence/workspaces/administration -type f ! -iname "*.ipynb")"

This works but the problem is when the number of files that match this condition increase a lot. BM returns this error: /usr/share/backup-manager/sanitize.sh: line 91: /bin/env: Argument list too long /usr/share/backup-manager/actions.sh: line 160: /bin/date: Argument list too long /usr/share/backup-manager/files.sh: line 163: /bin/grep: Argument list too long /usr/share/backup-manager/files.sh: line 163: /bin/awk: Argument list too long

Someone knows why or knows an alternative?

Thanks