search for: tdbbackup

Displaying 20 results from an estimated 209 matches for "tdbbackup".

2015 Jan 05
2
backup using the packages of Sernet
...+ Echo private ++ Sed 's / \ // _ / g' + N = private + '[' Private = private ']' + ./private Find -name '* .ldb.bak' -exec rm '{}' ';' ++ ./private Find -name '* .ldb' + For ldb in '`find $ relativedirname -name" * .ldb "`' + Tdbbackup ./private/idmap.ldb + '[' -ne 0 0 ']' + For ldb in '`find $ relativedirname -name" * .ldb "`' + Tdbbackup ./private/hklm.ldb + '[' -ne 0 0 ']' + For ldb in '`find $ relativedirname -name" * .ldb "`' + Tdbbackup ./private/sam.ldb +...
2020 Jul 23
3
samba-tool domain backup offline stalls
On Thu, July 23, 2020 15:56, Andrew Bartlett wrote: > > Clearly there is, as otherwise we could not be in waitpid on it. > The process is not a python process, it will be tdbbackup. The > command line arguments to that process will be instructive. Here it is: root 36800 0.8 0.0 12556 2788 1 SJ 16:49 0:00.01 /usr/local/bin/tdbbackup -s .copy.tdb /var/db/samba4/private/secrets.ldb -- *** e-Mail is NOT a SECURE channel *** Do NOT trans...
2010 Oct 08
2
tdbbackup with bouncing/shutting down samba possible?
Hi, We are a small company, which has just started using samba. Recently we have faced a few issues regarding the TDBs getting corrupted. I have read that the only way of getting around this issue, is to regularly take tdbbackups. But, this process needs a downtime of my samba server, which we would not want. Instead, is there a way where I can take the tdbbackup with out shutting down samba server. That is, perhaps a way by which we just effectively shutdown TDBs one by one, taking there backups. If that is possible, the...
2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
...Dec 2016 21:52:39 UTC > Don via samba <samba at lists.samba.org> wrote: > >> Greetings, >> >> The backup and restore Samba AD DC section of SambaWiki [1] refers to >> ./source4/scripting/bin/samba_backup . Although my recent version of >> samba_backup uses tdbbackup on ldb files, it appears to tar tdb files >> "as is." [2] >> >> What gives? Isn't tdbbackup specifically designed to backup tdb >> files? Is it now possible to simply copy open tdb files into an >> archive? >> >> Note. >> >> 1. htt...
2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
...n via samba <samba at lists.samba.org> wrote: > > > >> Greetings, > >> > >> The backup and restore Samba AD DC section of SambaWiki [1] refers > >> to ./source4/scripting/bin/samba_backup . Although my recent > >> version of samba_backup uses tdbbackup on ldb files, it appears to > >> tar tdb files "as is." [2] > >> > >> What gives? Isn't tdbbackup specifically designed to backup tdb > >> files? Is it now possible to simply copy open tdb files into an > >> archive? > >> > >...
2003 Oct 20
1
[patch] Samba 3.0.1pre1 : unable to link tdbbackup on Solaris 9
Hi to all, On Solaris 9 (and below I think), Samba 3.0.1pre1's tdbbackup now needs snprintf which is not included in Solaris. The following patch on master Makefile.in (~samba/source) should ease the compilation of tdbbackup : diff -u Makefile.in.orig Makefile.in --- Makefile.in.orig Mon Oct 20 11:06:54 2003 +++ Makefile.in Mon Oct 20 11:07:09 2003 @@ -629,7 +629,7 @...
2015 Jan 05
0
backup using the packages of Sernet
...\ // _ / g' > + N = private > + '[' Private = private ']' > + ./private Find -name '* .ldb.bak' -exec rm '{}' ';' > ++ ./private Find -name '* .ldb' > + For ldb in '`find $ relativedirname -name" * .ldb "`' > + Tdbbackup ./private/idmap.ldb > + '[' -ne 0 0 ']' > + For ldb in '`find $ relativedirname -name" * .ldb "`' > + Tdbbackup ./private/hklm.ldb > + '[' -ne 0 0 ']' > + For ldb in '`find $ relativedirname -name" * .ldb "`' > +...
2009 Mar 31
1
Proper use of tdbbackup
I have googled a lot, but I have found no examples of the correct use of the tdbbackup program. I am looking for some advice on how to use tdbbackup. I mean, I know I can simply run "tdbbackup *.tdb", but I was looking for in-depth information on when and how to use it, about best practices on using it, or what NOT to do. The Samba documentations says I should run it in...
2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
On 09 Dec 2016 21:52:39 UTC Don via samba <samba at lists.samba.org> wrote: > Greetings, > > The backup and restore Samba AD DC section of SambaWiki [1] refers to > ./source4/scripting/bin/samba_backup . Although my recent version of > samba_backup uses tdbbackup on ldb files, it appears to tar tdb files > "as is." [2] > > What gives? Isn't tdbbackup specifically designed to backup tdb > files? Is it now possible to simply copy open tdb files into an > archive? > > Note. > > 1. https://wiki.samba.org/index.php/Bac...
2012 Jun 06
2
Restore tdbbackup files?
Hi Samba 3.5.10 centos 5.x. I can backup with tdbbackup, read samba doc but haven't found how to restore them? Any info will appreciated, thanks!!! -- LIving the dream...
2019 Jun 18
1
some questsions to online backup and a failiure with offline backup
...XTEMA,DC=DE.ldb backing up locked/related file /var/lib/samba/private/sam.ldb.d/CN=SCHEMA,CN=CONFIGURATION,DC=AIXTEMA,DC=DE.ldb backing up locked/related file /var/lib/samba/private/sam.ldb.d/DC=AIXTEMA,DC=DE.ldb Starting transaction on solo db: /var/lib/samba/private/hklm.ldb running tdbbackup on the same file Starting transaction on solo db: /var/lib/samba/private/share.ldb running tdbbackup on the same file Starting transaction on solo db: /var/lib/samba/private/DC=DOMAINDNSZONES,DC=AIXTEMA,DC=DE.ldb running tdbbackup on the same file running tdbbackup on lone tdb file /var/li...
2016 Oct 02
5
GID mappings of built-in groups when addin additional dc
Hi, I have a samba 4.4.5 AD domain and is working perfect, but now I need to add a second samba 4 AD, I have found that in https://wiki.samba.org/index.php/Join_an_additional_Samba_DC_to_an_existing_Active_Directory is detailed the correct steps, my question is about step related with winbind (tdbbackup) builtin groups, appears a message "*NOTE: Only do this if you are running a version of Samba before 4.2.0 or are using the built-in winbind.*" but I'm not sure if in my environment I have to make this step. I have installed and configured samba 4.4.5 from sources and only added http...
2003 Nov 04
1
Solaris, Samba-3.0.1pre1 Compile error
Hello all, I currently run Samba 3.0 on a Solaris 9 machine in a production environment. I'm happy with it. I tried compiling samba-3.0.1pre1 using ./configure --with-ldap=no. However when it gets to linking bin/tdbbackup it fails. This is the error it gives: Using FLAGS = -O -I./popt -Iinclude -I/scratch/build/samba-3.0.1pre1/source/include -I/scratch/build/samba-3.0.1pre1/source/ubiqx -I/scratch/build/samba-3.0.1pre1/source/smbwrapper -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/scratch/build/samba-3...
2003 Dec 10
4
you'd better fix this before releasing 3.0.1
Solaris 2.6 gcc 2.95.3 Compiling tdb/tdbbackup. Linking bin/tdbbackup Undefined first referenced Symbol in file smb_snprintf tdb/tdbackup.o I thought we'd fixed this already.
2007 Dec 06
2
How to repair corrupt ntprinters.tdb?
Hi, we are using samba 3.0.24 as a printspooler for 80 network printers with a 500kB ntprinters.tdb for some years now. When we recently restarted samba we noticed that the ntprinters.tdb automatically shrinked to 24kB and printing was no longer possible. tdbdump of the original tdb-file is impossible too: "Failed to open ntprinters.tdb" The strange thing about this: we can solve
2015 Sep 01
1
Samba 4 DC backups
...le Samba is running. >> >> Regards >> >> Mike >> >> On 2015-09-01 16:08, Mark Foley wrote: >> > Here's what I do before tar'ring: >> > >> > find / -mount -type d -path /etc/samba-JMF -prune -o -name \*.tdb >> > -exec tdbbackup {} \; >> > find / -mount -name \*.tdb.bak -exec ls -l {} \; # (log .bak updates) >> > >> > This gets all the tdb files on the root filesystem, excluding mounted >> > drived >> > (-mount) and excluding tdb files I have in /etc/samba-JMF which is an >...
2019 Nov 11
2
"samba-tool backup offline" stuck
On 2019-11-10 21:41, Andrew Bartlett wrote: > Is this unpatched Samba Yes and no. Yes: it's the stock FreeBSD's Samba port. No: the FreeBSD port has itself several patches WRT the original Samba distribution. > and what is the full backtrace on that tdbbackup? You mean: compile with debug symbols, attach gdb and get stack trace? If so, I'll do it, but I'll need some time. > It looks like tdbbackup cannoto proceed due to outstanding locks held > by other parts of Samba, I too guess so. > however the referece to lockf makes me wor...
2023 Nov 16
1
Offline Backup Error: Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb
...ivate/netlogon_creds_cli.tdb". is this an issue or can it be safely ignored? I ask because the offline process appears to otherwise run without issue. Server is Ubuntu 22.04 with Samba 4.19.2 built from source. Starting transaction on solo db: /usr/local/samba/private/hklm.ldb running tdbbackup on the same file running tdbbackup on lone tdb file /usr/local/samba/private/netlogon_creds_cli.tdb tdb_mutex_open_ok[/usr/local/samba/private/netlogon_creds_cli.tdb]: Can use mutexes only with MUTEX_LOCKING or NOLOCK Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb Starting trans...
2019 Nov 08
2
"samba-tool backup offline" stuck
...ne --targetdir /var/tmp/DC1_Backup > Creating targetdir /var/tmp/DC1_Backup... > running backup on dirs: /var/db/samba4/private /var/db/samba4 /usr/local/etc > Starting transaction on /var/db/samba4/private/secrets After half an hour, no news... If I press [ctrl-t]: > load: 0.38 cmd: tdbbackup 39264 [lockf] 3138.57r 0.00u 0.00s 0% 2560k Any hint? (This is a FreeBSD 11.3/amd64 jail). bye & Thanks av.
2004 Jul 06
2
<myprinter>.tdb spoilt, tdbbackup -v does not see corrupt data
...ex_by_hnd (268) > find_printer_index_by_hnd: Printer handle not found: _spoolss_writeprinter: Invalid handle (OTHER:25527:25530) > [2004/07/05 17:48:39, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) > free_pipe_context: destroying talloc pool of size 24576 I tried to check with tdbbackup -v /usr/local/samba/var/locks/printing/IEPRINT.tdb I got returncode 0 , but that ~.tdb was spoilt . Moving the file IEPRINT.tdb away makes the printer IEPRINT running. Some weeks ago I had the same error, but could not find any reason. So I removed samba and installed it again. So I deleted the...