similar to: Backup samba4 using LVM snapshot

Displaying 20 results from an estimated 10000 matches similar to: "Backup samba4 using LVM snapshot"

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 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
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
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
2023 Nov 16
1
Offline Backup Error: Failed to open /usr/local/samba/private/netlogon_creds_cli.tdb
Hello, Below you will find a snippet from the output of running an offline backup. I'm specifically concerned with "Failed to open /usr/local/samba/private/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
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
2012 Feb 02
1
Error in provisioning Samba4 Alpha 18 from git
Hi, I have a problem. The prerequisites are: * Vanilla Ubuntu 10.04 install * Followed the http://wiki.samba.org/index.php/Samba4/HOWTO In step 4, after running the command: ./source4/setup/provision --realm=samdom.example.com --domain=SAMDOM --adminpass=SOMEPASSWORD --server-role='domain controller' i get the following error when the provisioning run tdbbackup from the script
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
2012 Feb 15
1
samba4 provision error
git checkout dd5868d when I try to provision I get the following: Populating ForestDnsZones partition bin/tdbbackup: /home/samba-master/bin/shared/private/libtdb.so: version `SAMBA_4.0.0ALPHA18_DEVELOPERBUILD' not found (required by bin/tdbbackup) Failed to setup database for BIND, AD based DNS cannot be used Traceback (most recent call last): File "./source4/setup/provision",
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
2010 Dec 07
3
Samba4 LDAP LDB Indexes
I have a system running Samba 4 Alpha 11, and I seem to have a corrupted LDB file in my directory. (Probably the result of taking a backup without using tdbbackup). Right now, running tdbbackup on the file produces an error message similar to the following: Failed to insert into DC=WWW,DC=EXAMPLE,DC=COM.ldb.bak.tmp failed to copy DC=WWW,DC=EXAMPLE,DC=COM.ldb If I run ldbsearch -H
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
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
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
2011 Oct 06
1
Porting samba setup to backup server
I must set up a backup server for failover and have used tdbbackup to create backup files from the functioning primary server. I then copied the files to the backup server and used tdbbackup to restore all the databases, along with copying the smb.conf and other text files from /etc/samba. This does not seem to work and I was hoping someone could assist. Primary server is RHEL 5.4 with Samba
2015 Dec 08
3
Backup Member Server
Besides, obviously, the potential shared data on file servers, can't you just use the script that is introduced for backing up DCs? At least if the complete Samba installation is in "/usr/local/samba"... https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC Am 02.12.2015 um 20:06 schrieb Marc Muehlfeld: > Hello James, > > Am 02.12.2015 um 15:57 schrieb
2015 Dec 09
2
Backup Member Server
Hai, but dont forget that if you use samba also as print server you need to backup the /var/lib/samba/drivers en printing also. ( and in my case a different folder. ) In /var/cache/samba is the file printer_list.tdb I dont think that recreated, and if it is, you probely will loose the printer settings. I'll have to look that up. Maybe its an option to let the backup scrip detect if it
2015 Oct 26
2
Update Wiki for backup script
Hello, I notice the script expects to have $PATH include '/usr/local/samba/bin'. Script will fail if it can't find tdbbackup. It was obvious to me but others may stumble. Maybe someone could add under the 'About the samba_backup script' section. "/This requires that your whole samba installation is on one place (like /usr/local/samba/). This script assumes you
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 @@
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