So following on from the thread opened by Gary:
https://forums.koozali.org/index.php/topic,54879.0.htmlA recent update to rsync that fixed a number of security holes in it broke Affa backup.
If you have recently updated your Affa server your backups of remote servers are now failing - only your logs will tell you.I have rewritten some of Affa - which is a great big sprawling monolithic perl script - to cope with the changes, and whilst there I found a few other bugs too. The scripts have been added to the bug.
https://bugs.koozali.org/show_bug.cgi?id=12165PLEASE help test.
Onwards.
One thing Affa can do is back up generic linux servers - SME was an add-on originally.
In rewriting the script I have essentially left out generic linux servers and just focused on SME.
By question was whether anyone still uses it to back up generic linux boxes?
If so I need to go back and think about how to manage that.
A bit more explanation.
Before you affa could run rsync in this format:
rsync ip.address.of.target: /etc/templates /etc/templates-custom /home/e-smith
You can no longer do that and have to make each directory of file specific like this:
"rsync ip.address.of.target:/etc/templates" "ip.address.of.target:/etc/templates-custom" "ip.address.of.target:/home/e-smith"
Now, SME has some backup routines which were used by Affa, but they used the LOCAL directories on the Affa server as a reference for directories to back up on the REMOTE server. Not great and a bit of a bug really, but it got away with things.
However, a recent change to the SME Backup routines means that it now includes directories for contribs as well, and they may not be the same on the remote server as the local server.
So part of the rewrite was to run the Backup routine on the remote sever, find the directories it wanted backed up, and then made a note of that with the backup so it would correctly restore them as well - you have to specify each directory to restore.
So I have done all that.
However, I have have modified the usage of the Included/Excluded directories as well. rsync uses them for pattern matching but for SME I just use them as literal include/exclude on top of directories that the Backup routine automatically suggests. (I still need to add the exclude part but that is trivial).
And this brings me to the main point. Standard Linux boxes.
It has no backup routines.
Do I drop the old Include/Exclude meaning like SME and say use / as default and then Include/Exclude as per the configuration file?
Or something else? Does anyone even care?
Any suggestions appreciated before I go out and break all your installs.