I am using rsync to backup data nightly, and it has been working well. While reviewing some of the data stored on the company server, I am finding there is a great deal of personal data, programs, etc. which has been saved to the company server. In order to save backup time, and tape, I am trying to limit what files rsync backs up.
Basically, I want to exclude everything, except what I have in the include-from file.
My initial though was to add --exclude "*" --include-from=/aaa/bbb/include_files.txt t the command line. However, that excluded all of the files and did not backup anything. Looking back, I see rsync did exactly what I told it to.
What should the command line options be to accomplish this?