https://bugs.koozali.org/show_bug.cgi?id=12165
--- Comment #10 from John Crisp <[email protected]> ---
OK, one part I have discovered is that Affa gets its basic source directories
from the SME defaults on the Affa server, not the destination server.
Since JP has started adding contribs directories to the backup, the law of
unintended consequnces reared its ugly head which means we are getting the
wrong directories for the remote server.
That may or may not be a part of the issue.
While testing I saw this (split for easier reading)
rsync --archive --hard-links --stats --delete-during --ignore-errors
--delete-excluded --relative --partial --inplace --timeout=900
--compress --numeric-ids --rsync-path="/usr/bin/rsync"
--rsh="ssh -p 2222 -i /root/.ssh/id_rsa_affa -o CheckHostIP=no
-o StrictHostKeyChecking=no -o HostKeyAlias=ibay210
-o UserKnownHostsFile=/root/.ssh/knownhosts-ibay210"
--link-dest='/var/affa/ibay210/scheduled.0'
[email protected]:'"/home/e-smith" "/etc/e-smith/templates-custom"
"/etc/e-smith/templates-user-custom" "/etc/ssh" "/root"
"/etc/sudoers" "/etc/passwd" "/etc/shadow" "/etc/group"
"/etc/gshadow" "/etc/samba/secrets.tdb" "/etc/samba/smbpasswd"
"/etc/backup-data.d" "/etc/openvpn/bridge/priv" "/var/log/openvpn-bridge"
"/etc/openvpn/bridge/pub" "/etc/affa" "/home/e-smith/files/ibays/general"'
/var/affa/ibay210/scheduled.running/
Thought that looked a bit odd as I didn't have openvpn on the remote server I
was testing with!
This section here does it for SME boxes:
if ( $job{'SMEServer'} ne 'no' ) {
my @SourceDirs = ();
# reetp for reference here we use the esmith standard backup routine
# to get the standard dirs for backup
my $b = new esmith::Backup or die "Error: Couldn't create Backup
object\n";
Technically we already have ssh setup so potentially we could run Backup as a
remote command like SendKeys to check the remote directories required. JP might
have a brighter idea.
I think you can temporarily modify this for testing by setting:
SMEServer=no
Then set your include and exclude directories.
You can also get a bit more info with:
Debug=yes
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/