For years I have been backing up systems using tar and the -X (or --exclude) options. Now that I have upgraded some systems to Stretch, I find that it no longer works -- on any of these systems.
Normall I'd do something like this:
Code: Select all
tar -cpjvf /mnt/smbmountedfolder/mysystem.tar.bzw ./* -X /etc/xcludedfiles
Code: Select all
./sys
./tmp
./mnt
I tried using dozens of combinations of wildcards, quotes, escape characters, regex options... nothing works. I cannot find anything on google about this either.
It looks like the version on Stretch is 1.29b-1.1. I don't get any help from the man pages or from google.
Can anyone confirm this? Did they change the syntax, or is this just plain broken?
Thanks.
G