Web lists-archives.com

[Samba] samba-tool backup online Not enough virtual memory or paging file quota is available to complete the specified operation.




Hi i installed samba 4.9.1 from source on centos 7.

 

I need to setup backup script .

 

I cannot use samba-tool:

 

Command:

samba-tool domain backup offline --targetdir=/backupdir

 

Gives me :

 

Usage: samba-tool domain backup <subcommand>

 

samba-tool domain backup: error: no such option: --targetdir

 

 

Command: 

 

Samba-tool domain backup -h

 

Gives me:

 

Usage: samba-tool domain backup <subcommand>

 

Create or restore a backup of the domain.

 

 

Options:

  -h, --help  show this help message and exit

 

 

Available subcommands:

  online   - Copy a running DC's current DB into a backup tar file.

  rename   - Copy a running DC's DB to backup file, renaming the domain in
the process.

  restore  - Restore the domain's DB from a backup-file.

For more help on a specific subcommand, please type: samba-tool domain
backup <subcommand> (-h|--help)

 

There is no offline subbcomand L

 

 

Command:

 

samba-tool domain backup online --targetdir=/root --server=localhost
-UAdministrator

Password for [SAD\Administrator]:

workgroup is SAD

realm is sad.local

Calling bare provision

Looking up IPv4 addresses

Looking up IPv6 addresses

No IPv6 address will be assigned

Setting up share.ldb

Setting up secrets.ldb

Setting up the registry

Setting up the privileges database

Setting up idmap db

Setting up SAM db

Setting up sam.ldb partitions and settings

Setting up sam.ldb rootDSE

Pre-loading the Samba 4 and AD schema

Unable to determine the DomainSID, can not enforce uniqueness constraint on
local domainSIDs

 

A Kerberos configuration suitable for Samba AD has been generated at
/root/tmpNsJPab/private/krb5.conf

Merge the contents of this file with your system krb5.conf or replace it
with this one. Do not create a symlink!

Provision OK for domain DN DC=sad,DC=local

Starting replication

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.')

  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 177, in _run

    return self.run(*args, **kwargs)

  File
"/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain_backup.p
y", line 227, in run

    dns_backend='SAMBA_INTERNAL', targetdir=tmpdir)

  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line
1517, in join_clone

    ctx.do_join()

  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line
1623, in do_join

    ctx.join_replicate()

  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line
942, in join_replicate

    repl = ctx.create_replicator(repl_creds, binding_options)

  File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line
914, in create_replicator

    ctx.lp, repl_creds, ctx.local_samdb, ctx.invocation_id)

  File "/usr/local/samba/lib64/python2.7/site-packages/samba/drs_utils.py",
line 194, in __init__

    self.drs = drsuapi.drsuapi(binding_string, lp, creds)

 

 

What i can do for that message ?

 

 

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