similar to: Offline Backup Error: Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb

Displaying 20 results from an estimated 5000 matches similar to: "Offline Backup Error: Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb"

2019 Jun 18
1
some questsions to online backup and a failiure with offline backup
Hi, first online backup works, but why some parts are missing? Online: root# samba-tool domain backup online --targetdir=/mnt/backup/online/ --server=DC -UAdministrator Backup created 2019-Jun-18 11:04:19 Using samba-tool version: Samba 4.10.2 Domain online backup, using DC 'DOMAIN' Backup for domain DOMAIN (NetBIOS), DOMAIN (DNS realm) Backup contains domain secrets: True missing
2019 Jul 04
3
Error samba backup 4.10.5
Hi, We were using samba_backup from 4.4.5 and after upgrade to 4.10.5 we are trying to configure new method, but is not working, tried: offline with samba stopped: # samba-tool domain backup offline --targetdir=/local/test/ INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5
2020 May 05
1
samba-tool domain backup online fails
Hello List, offline fails also.. root at dc01:~# samba-tool domain backup offline --targetdir=/backup/linux/samba-dom-dc01-offline Creating targetdir /backup/linux/samba-dom-dc01-offline... running backup on dirs: /var/lib/samba/private /var/lib/samba /etc/samba Starting transaction on /var/lib/samba/private/secrets Starting transaction on /var/lib/samba/private/sam.ldb backing up
2015 Sep 01
2
Samba 4 DC backups
Mark Ok so you doing the exact opposite of what the samba_backup script does with regards to ldb and tdb files, but then you are shutting down Samba to do a backup anyway so it doesn't really matter what you are doing in this regard. I want a consistent backup while Samba is running. Regards Mike On 2015-09-01 16:08, Mark Foley wrote: > Here's what I do before tar'ring: >
2015 Sep 01
7
Samba 4 DC backups
I have a few Samba 4.2 DC in production now and figured that I should do something about backups. I have read https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC and had a look through the samba_backup script and have a few questions. Firstly I am using the Sernet packages on Centos7. I am assuming the following mappings from the script for my set up /usr/local/samba/etc is
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
2015 Sep 01
1
Samba 4 DC backups
On 2015-09-01 18:48, L.P.H. van Belle wrote: > and most important... > > If you have 2 DC's ... > ! NEVER USE THE BACKUP SCRIPT TO RESTORE ONE OF THE DC's ! > > This wil corrupt your AD databases.. > Just remove the old DC from the domain and add a new one if needed . > > .. Rowland. > This is also a nice to have in your backup script. > Auto detect
2019 Nov 13
2
"samba-tool backup offline" stuck
On 2019-11-11 09:41, Andrew Bartlett wrote: >>> 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. > > Yes, that's what I need. Please, find it below: (gdb) bt #0 0x0000000800fcdab8 in _fcntl () from /lib/libc.so.7 #1
2015 Sep 01
1
Samba 4 DC backups
On 2015-09-02 08:22, Mark Foley wrote: > Mike, > > I thought I pretty much did the same thing as the backup script: backup > ldb, do > tar. Also, I am stopping Samba for good measure, but I don't think I > need to. > What makes you say I'm doing the "exact opposite" of what the samba > script does? > Please explain, I want to be consistent with
2018 Sep 21
3
backup of tdb files
Hi, how would I go about dumping tdb files in a “neutral” format, preferably JSON? The goal is to have a domain member functional after restoring from a backup without re-joining. Ideally, the backed up version does not depend on the tdb because of concerns about the stability of the format. A backup set must remain usable despite a multi-major version Samba update happening in between. By
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
2018 Sep 24
2
backup of tdb files
Hi Andrew, thanks for addressing all my points. This is rather helpful. -<| Quoting Andrew Bartlett <abartlet at samba.org>, on Friday, 2018-09-21 08:23:26 AM |>- > On Fri, 2018-09-21 at 11:29 +0200, Philipp Gesang via samba wrote: > > how would I go about dumping tdb files in a “neutral” format, > > preferably JSON? > > > > The goal is to have a domain
2019 Nov 08
2
"samba-tool backup offline" stuck
Hello. After upgrading some DCs (in different domains) to 4.10, I'm trying to take backups with samba-tool. I'm not using "online" backups, as they require typing a password, so are not usable in a script. IIUIC, "offline" backups can be used even if Samba is running. However, they seem to get stuck: > root at dc1:~ # samba-tool domain backup offline
2019 Nov 21
1
"samba-tool backup offline" stuck
On Thu, 2019-11-21 at 14:58 +0100, Andrea Venturoli wrote: > On 2019-11-13 13:11, Andrea Venturoli wrote: > > > I'm open to suggestions... > > Some further step... > > It's samba-tool itself that locks the file before calling tdbbackup. > > Running "samba-tool domain backup offline ..." spawns "tdbbackup -s > .copy.tdb
2019 Nov 13
0
"samba-tool backup offline" stuck
On Wed, 2019-11-13 at 09:23 +0100, Andrea Venturoli wrote: > On 2019-11-11 09:41, Andrew Bartlett wrote: > > > > > 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. > > > > Yes, that's what I
2019 Nov 13
2
"samba-tool backup offline" stuck
On 2019-11-13 09:30, Andrew Bartlett wrote: > Regarding your problem, on linux I use lslocks to debug from here, you > can normally work out which process is holding the lock, which lock it > is waiting on (if any, marked with a *) and gdb that to work out what > is the matter with it, and perhaps why it is in that situation. Hmm... I have no lslocks on FreeBSD; will lsof do? In
2015 Jan 05
2
backup using the packages of Sernet
dear, I made the installation of Samba4 in centos6, now I need to back up the structure, tried using the script that samba.org offers more he is giving this error. See the error through the bash -x bash -x samba_backup.sh + FROMWHERE = / var / lib / samba + WHERE = / root / backups + '[' N '' ']' + '[' -n '' -a -d '' ']' + '[' -n
2019 Mar 26
5
Problem achieving manual synchronisation of idmap.ldb and the associated User and Group ID mappings between two Samba 4 AD DCs
Hi everyone, I have two AD DCs that I am experimenting with, hostnames ad1 and ad2 respectively. I am using Raspberry Pi hardware, and accordingly I am using Samba 4.5.16-Debian on Raspbian Linux. I have already had some success so far setting up a second AD DC, ad2, and joining this to my existing Active Directory domain SAMDOM. I have already verified that I can create new user accounts on
2004 Jul 06
2
<myprinter>.tdb spoilt, tdbbackup -v does not see corrupt data
Hi, I am using Version 3.0.2a of samba on Linux 2.4.18 (suse with self-compiled samba from tarball) smb.conf: [IEPRINT] path = /home/htmprint/tmp printable = Yes print command = /home/htmprint/Programme/virtual_printer.sh %s After some weeks with some thousand printjobs generated by a program running as W2k-service the printer was no more available. I checked printing
2019 Dec 05
3
Backing up tdb files
I am trying to determine which tdb files must be backed up in order to perform a proper system restore. I am running Centos's samba-4.9.1-6.el7.x86_64 as a PDC. There is a basic backup routine which backs up all files under /var/lib/samba but this appears to be wasteful, especially as gencache.tdb keeps growing until I delete. I can find a Samba3 reference at