On 2018-10-30 08:04, Holger Parplies wrote:
Hi,
Jaime Fenton wrote on 2018-10-24 16:17:24 +0000 [Re: [BackupPC-users]
Weird backup commands]:
Also, my apologies if my tone came across as snippy or rude [...]
I???m just
frustrated with the issues I???m having [...]
well ...
[...]
If I thought samba was not going to work, then I would dump it.
Believe it or not, Samba *can* never work properly, presuming you want
both
incremental and exact backups. As Craig pointed out, Samba *can* never
give
you the in-/exclude options rsync does. If you're fine with all of
that, then
go ahead. The only benefit Samba gives you is presumably the ease of
setup,
and you're apparently not getting much out of that, because it doesn't
"just
work". You're going to have to put in some work one way or the other.
There
is simply no way around that.
Let me amplify this: samba can also easily miss incremental files whose
timestamp is not as expected, something rsync is not subject to.
There's a set of issues surrounding open and locked files, which I won't
attempt to cover in detail here, except to point out that it's suited to
a use case where the files you care about are expected to be static
during the backup period.
[...]
Out of curiosity, has anyone else had a problem with samba 4.7.1? I
did see
one mention in a forum somewhere that there issues were resolved with
samba
4.7.3. Thoughts?
Between 4.7.1 and 4.7.3 of Samba, there were a number of server changes
around vulnerabilities, particularly using the SMB1 protocol. smbclient
(the only relevant portion) is largely unchanged. So, my main thoughts
are:
1) No, this isn't relevant
2) Reading the release notes is a good way to find out if a minor
version change would be important or not
It seems highly unlikely that one Samba version changes the command
line
BackupPC passes to it. Much more likely is an issue with your BackupPC
configuration. That is why Craig asked:
[...]
What are your settings for $Conf{SmbClientFullCmd},
$Conf{SmbShareName},
$Conf{BackupFilesOnly} and $Conf{BackupFilesExclude} on the two
machines?
So, my thought is: answer the question. Without that information, the
only
help we can give you is, "there's probably something wrong with your
configuration".
I might add that each of these settings individually might be global or
host specific. How do you manipulate the settings? Do you edit the
config
file or use the web interface?
[...]
??? Good example: Running: /usr/bin/smbclient
\\\\computername.domainname\\C\$<file:///\\computername.domainname\C\$>
-U AL\\backuppc -E -d 1 -c tarmode\ full -TcN /data/backuppc/pc/
computername.domainname /timeStamp.level0 - Users\\username\\AppData
Users\\ username \\Documents<file:///\\Documents> Users\\ username
\\Downloads<file:///\\Downloads> Users\\ username \\My\<file:///\\My\>
Documents Users\\ username \\Desktop<file:///\\Desktop>
??? Error example: Running: /usr/bin/smbclient \\\\
computername.domainname \\C\$<file:///\\C\$> -U AL\\backuppc -E -d 1
-c tarmode\ full -Tc - Users\\\*\\AppData\\\* Users\\\*\\Documents\\\*
Users\\\*\\Downloads\\\* Users\\\*\\Desktop\\\* Users\\\*\\My\
Documents\\\*
This seems to be badly mangled by both your MUA as well as yourself -
I'm
guessing the spaces around "computername.domainname" as well as
"username"
are probably not there (they're not escaped, so they would separate
arguments,
basically meaning the good example command would be nonsense, even with
the
file tags removed).
In any case, the confusion Windoze path separators introduce is a pain.
I'm
not sure this is better with rsync, but it probably is - at least you
*should
be* able to consistently use "/", which doesn't need escaping. Oh, and
you
can use both in- and excludes with rsync. You can't with Samba. You
know that,
right?
My reaction, at least, is, I'm not taking a closer look at any of that,
because it's bogus, confusing, and irrelevant. We need the
configuration
details.
Hope that helps.
Also, my apologies if my tone came across as snippy or rude, I'm just
frustrated with questions (and followups) that prevent the possibility
of meaningful help.
Regards,
Holger
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:
https://u2182357.ct.sendgrid.net/wf/click?upn=rBK8reUlX8Sxr7Iz1fV-2F7azDepoKsO2pWuEqaZQXziclOk1C3J1HK5ryLm0UkwauF8WGAbPQPulkw6jGlj-2BNdMKzyS4-2BY7RcC51XaueEjwE-3D_OypFYCWzG5ApGW-2FFpGTxc4RCS9eud0Dl1htN5rYoUZ8To4zeNUFBkAGI3hzer91CEbovT0uHKS5g6KcNPIwMvz-2FNHTng-2BY-2Fax7k3U0jEfJ4khOUNpv4xYynMLaHyxmTerj3jFw-2Bui1DjreafkyZNbF13q0FCpXMO-2BkU30rYL4BFUhpQdloIJolYBx98kSKV6Si5OG65P5DVrUHgPc6LaNrpk8YuZ2xROf0KMXCdIK-2BrOIG-2FnKM7dAc2-2BcgK5YDnQ
Wiki:
https://u2182357.ct.sendgrid.net/wf/click?upn=YahQ8tVjTExAt0gOS-2Bui2Mixv9MMU5sk9-2B870pGjW1AnKM7ab4hD66FpxtTa0zRK_OypFYCWzG5ApGW-2FFpGTxc4RCS9eud0Dl1htN5rYoUZ8To4zeNUFBkAGI3hzer91CEbovT0uHKS5g6KcNPIwMvzKvaMDykOb62fKOAdwz-2BHTD88N-2BCPVdzY58tJsZarPGypSKMVisaUCd-2FdahZwWOom0xL1d71KAVyUPd4kJzF6Z5bqfDdN4xjFp44MY-2BqQxjseq21aYAnWg4uovM8hnm5nU5zJNlSKqhdO-2BJZ9KCAr0i-2FIrSgiLUtPRHwXYPZ6bq
Project:
https://u2182357.ct.sendgrid.net/wf/click?upn=YahQ8tVjTExAt0gOS-2Bui2No4X-2FoaUvRonuUjUtJd4Qaeqdswo1k-2Bm1Ez13Mv9mt3_OypFYCWzG5ApGW-2FFpGTxc4RCS9eud0Dl1htN5rYoUZ8To4zeNUFBkAGI3hzer91CEbovT0uHKS5g6KcNPIwMv6Pi9cRzzfQRhEXXBq6Pdu5tdkMhQG-2FS6ll9E-2B-2BSFktVolxPtofJGGiYZXWc2cZONqfVb5SWQbYIFBvwARVKuaVuF2Lkyith1fW-2BFoBt1n8sYesVXpNVLiEJO8T2FFfX3wu29Dzhllmbcyczn-2BUciPGo-2FCtxQEePkY-2FJIKLWL4ea
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/