You must not use the program "GNUTAR", you must use the application
"amsamba"
program "APPLICATION {
application {
plugin "amsamba"
}
GNUTAR will never be fixed, stop using it.
Jean-Louis
On 19/01/17 08:23 AM, Tobias Köck wrote:
Hi Jean-Louis,
tried it with 3.3.9 and both your patches.
For amstatus I get
localhost:// someurl.something.com
/kunden 1 32678k dump failed:
dumper: [no backup size line], finished (21:26:48)
I am sure that the password is right …
sendbackup.20170118212630.debug file
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: pid 14662
ruid 34 euid 34 version 3.3.9: start at Wed Jan 18 21:26:30 2017
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: Version 3.3.9
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: pid 14662
ruid 34 euid 34 version 3.3.9: rename at Wed Jan 18 21:26:30 2017
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: Parsed
request as: program `GNUTAR'
Wed Jan 18 21:26:30 2017: thd-0x55727b096000:
sendbackup: disk `//someurl.something.com/kunden'
Wed Jan 18 21:26:30 2017: thd-0x55727b096000:
sendbackup: device `//someurl.something.com/kunden'
Wed Jan 18 21:26:30 2017: thd-0x55727b096000:
sendbackup: level 1
Wed Jan 18 21:26:30 2017: thd-0x55727b096000:
sendbackup: since NODATE
Wed Jan 18 21:26:30 2017: thd-0x55727b096000:
sendbackup: options `'
Wed Jan 18 21:26:30 2017: thd-0x55727b096000:
sendbackup: datapath `AMANDA'
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: start:
localhost://someurl.something.com/kunden lev 1
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: gnutar:
backup of \\someurl.something.com\kunden
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: Spawning
"/usr/bin/smbclient smbclient "\\\\someurl.something.com\\kunden" -U
backup -E -d0 -Tqcg -" in pipeline
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: gnutar:
/usr/bin/smbclient: pid 14666
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: Started backup
Wed Jan 18 21:26:30 2017: thd-0x55727b096000: sendbackup: Started
index creator: "/bin/tar -tf - 2>/dev/null | sed -e 's/^\.//'"
Wed Jan 18 21:26:31 2017: thd-0x55727b096000: sendbackup: 118:
strange(?): Error reading password from file descriptor 7: empty password
Wed Jan 18 21:26:31 2017: thd-0x55727b096000: sendbackup: 118: strange(?):
Wed Jan 18 21:26:31 2017: thd-0x55727b096000: sendbackup: 114:
normal(|): Domain=[SOMESOFT] OS=[Unix] Server=[Samba 4.1.18]
Wed Jan 18 21:26:33 2017: thd-0x55727b096000: sendbackup: 118:
strange(?): tar:948 Fatal: Can't translate pathname
'./Schwego/SOMESOFT-Aufwände SCHWEGO Stand 06.05 .xlsx' to UTF-8
Wed Jan 18 21:26:33 2017: thd-0x55727b096000: sendbackup: 118:
strange(?): NT_STATUS_UNSUCCESSFUL listing \Stego\*
Wed Jan 18 21:26:33 2017: thd-0x55727b096000: sendbackup: 118:
strange(?): tar:712 Total bytes received: 34028475
Wed Jan 18 21:26:33 2017: thd-0x55727b096000: sendbackup: Index
created successfully
Wed Jan 18 21:26:33 2017: thd-0x55727b096000: sendbackup: critical
(fatal): error [no backup size line]
/usr/lib/x86_64-linux-gnu/amanda/libamanda-3.3.9.so(+0x2a327)[0x7ff702964327]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x1e4)[0x7ff7016095c4]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x8f)[0x7ff7016097cf]
/usr/lib/amanda/sendbackup(parse_backup_messages+0x2a1)[0x5572792f8341]
/usr/lib/amanda/sendbackup(main+0x157f)[0x5572792f5cef]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7ff7009832b1]
/usr/lib/amanda/sendbackup(_start+0x2a)[0x5572792f6dba]
---
It is probalby because I use the GNUTAR dumptype in that case? Isn't
it supported anymore and/or won't be fixed?
For the next round I'll try the amsamba dumptype.
Greetings,
Tobias
*Von:*owner-amanda-us...@amanda.org
[mailto:owner-amanda-us...@amanda.org] *Im Auftrag von *Jean-Louis
Martineau
*Gesendet:* Dienstag, 10. Januar 2017 15:00
*An:* Mike Höhn; 'amanda-users@amanda.org'
*Betreff:* Re: need to have samba-4.2.11 on amanda server
Hi All,
The attached patch fix amsamba in 3.4.1 to works with newer version of
samba.
In 3.3.9 you also need the patch from
https://github.com/zmanda/amanda/commit/585b2139153f8d4a93ccc796983eedfa5a38e6ce
Jean-Louis
On 06/01/17 09:08 AM, Jean-Louis Martineau wrote:
On 06/01/17 07:18 AM, Mike Höhn wrote:
> Am Freitag, 6. Januar 2017, 11:40:44 schrieb Stefan G. Weichinger:
>> Anyone using smbclient for backups with late amanda?
>> If yes, which version of samba?
> Stefan,
>
> I've had the same problems with samba 4.4.5 and amanda 3.3.9 on
Slackware.
> I had found this:
>
> http://www.backupcentral.com/forum/16/267955
>
> It's not amanda related, but describes the problem smbclient has
with a non-
> UTF locale.
>
> IIRC I tried to set LANG like described before starting amdump.
Unfortunately
> it didn't work for me. But perhaps this is where to look for a
solution.
>
> Mike
>
If setting an environment variable is required, try setting it in the
amsamba script before all exec call
$ENV{'LANG'} = 'en_US.UTF-8'
Jean-Louis
*Disclaimer*
The information contained in this communication from the sender is
confidential. It is intended solely for use by the recipient and
others authorized to receive it. If you are not the recipient, you
are hereby notified that any disclosure, copying, distribution or
taking action in relation of the contents of this information is
strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have
been automatically archived by *Mimecast Ltd*, an innovator in
Software as a Service (SaaS) for business. Providing a *safer* and
*more useful* place for your human generated data. Specializing
in; Security, archiving and compliance. To find out more Click
Here <http://www.mimecast.com/products/>.
*Disclaimer*
The information contained in this communication from the sender is
confidential. It is intended solely for use by the recipient and
others authorized to receive it. If you are not the recipient, you are
hereby notified that any disclosure, copying, distribution or taking
action in relation of the contents of this information is strictly
prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been
automatically archived by *Mimecast Ltd*, an innovator in Software as
a Service (SaaS) for business. Providing a *safer* and *more useful*
place for your human generated data. Specializing in; Security,
archiving and compliance. To find out more Click Here
<http://www.mimecast.com/products/>.
Disclaimer
The information contained in this communication from the sender is
confidential. It is intended solely for use by the recipient and others
authorized to receive it. If you are not the recipient, you are hereby notified
that any disclosure, copying, distribution or taking action in relation of the
contents of this information is strictly prohibited and may be unlawful.
This email has been scanned for viruses and malware, and may have been
automatically archived by Mimecast Ltd, an innovator in Software as a Service
(SaaS) for business. Providing a safer and more useful place for your human
generated data. Specializing in; Security, archiving and compliance. To find
out more visit the Mimecast website.