Web lists-archives.com

Re: [Samba] Online Backup fails




Hi,

> I think your problem is that '/mnt/backupsamba/' just isn't big enough.

47G Free

when i dont use localhost its not working:


phoenix /mnt/backupsamba # samba-tool domain backup online --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator Failed to connect to ldap URL 'ldap://phoenix' - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED Failed to connect to 'ldap://phoenix' with backend 'ldap': LDAP client internal error: NT_STATUS_CONNECTION_REFUSED ERROR(ldb): uncaught exception - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py", line 228, in run
    dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1509, in join_clone
    include_secrets=include_secrets)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1584, in __init__
    dns_backend=dns_backend)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 98, in __init__
    credentials=ctx.creds, lp=ctx.lp)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 64, in __init__
    options=options)
File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line 115, in __init__
    self.connect(url, flags, options)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 79, in connect
    options=options)


phoenix /mnt/backupsamba # samba-tool domain backup online --server=phoenix.aixtema.de --targetdir=/mnt/backupsamba/ -U Administrator Failed to connect to ldap URL 'ldap://phoenix.aixtema.de' - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED Failed to connect to 'ldap://phoenix.aixtema.de' with backend 'ldap': LDAP client internal error: NT_STATUS_CONNECTION_REFUSED ERROR(ldb): uncaught exception - LDAP client internal error: NT_STATUS_CONNECTION_REFUSED File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain_backup.py", line 228, in run
    dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1509, in join_clone
    include_secrets=include_secrets)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1584, in __init__
    dns_backend=dns_backend)
File "/usr/lib64/python2.7/site-packages/samba/join.py", line 98, in __init__
    credentials=ctx.creds, lp=ctx.lp)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 64, in __init__
    options=options)
File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line 115, in __init__
    self.connect(url, flags, options)
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 79, in connect
    options=options)



Am 13.11.18 um 11:34 schrieb L.P.H. van Belle via samba:
Hai,

First thing i would do is try the real hostname of the server and not localhost.
Your ad domain controler hostname is not localhost.

I cannt test it yet, im not yet on 4.9.2 with the DC's.

But I would try it like this:

samba-tool domain backup online --server=$(hostname -s) --targetdir=/mnt/backupsamba/ -U Administrator

Greetz,

Louis


-----Oorspronkelijk bericht-----
Van: samba [mailto:samba-bounces@xxxxxxxxxxxxxxx] Namens
Rowland Penny via samba
Verzonden: dinsdag 13 november 2018 10:52
Aan: samba@xxxxxxxxxxxxxxx
Onderwerp: Re: [Samba] Online Backup fails

On Tue, 13 Nov 2018 10:36:08 +0100
admins aixtema via samba <samba@xxxxxxxxxxxxxxx> wrote:

Hi,
when i try to create a online backup via samba 4.9.2 at
gentoo (in my
test envoirment) i get the following errors:

samba-tool  domain backup online --server=localhost
--targetdir=/mnt/backupsamba/ -U Administrator

Where is '/mnt/backupsamba/' mounted from ?
Could it by any chance be a Windows machine ?

Using DS_BIND_GUID_W2K3
ERROR(runtime): uncaught exception - (3221225495, '{Not
Enough Quota}
Not enough virtual memory or paging file quota is available to
complete the specified operation.')

That appears to be a Windows error message.

Try running the backup to a local directory.

Rowland




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




Mit freundlichen Grüßen,
René Fuchs


--
***********************************************
aixtema GmbH
René Fuchs
Philipsstr. 8, 52068 Aachen, Germany
Tel.: +49 241 70515-1323, Fax: +49 241 70515-15
mailto:r.fuchs@xxxxxxxxxx

WWW: http://www.aixtema.de
Shop: http://shop.aixtema.de

Geschaeftsfuehrer: Oliver Rossbruch
HRB 8201, Amtsgericht Aachen
USt.-Id-Nr. DE 210 906 744
St.-Nr. 201/5942/3737, Finanzamt Aachen Stadt
***********************************************


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba