similar to: How to backup my samba+ldap PDC?

Displaying 20 results from an estimated 10000 matches similar to: "How to backup my samba+ldap PDC?"

2010 Nov 29
1
How to backup/restore printer settings?
Hello All, We have a problem with our samba-based print server (a redhat EL machine, running samba 3.2.8) occasionally getting corrupt ntprinters.tdb files. To combat it, I've been keeping nightly backups of the file, and restoring the latest whenever it crashes. This _almost_ works. When I restore the file, some of the printer settings - such as which driver it is using - seem to restore
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...
2006 Feb 10
1
Samba, LDAP, and unix account
Hi every one! Until now, I used samba as a simple public share server... and now, I would like to use it with many account. I know it's possible, but I would like something particular: I would like to have SAMBA account independent from the unix account system! Here is how I think my system: all files on the server will be owned by a unix account dedicated to samba storage, but I would like
2006 Jan 22
4
SeBackupPrivilege
We're using Samba 3.0.21a-1 on a CentOS 4.2 server (kernel 2.6.9-22.0.2.ELsmp); everything works more or less fine, it's functioning as the PDC with an OpenLDAP back end (setup essentially straight from the Idealx.org playbook), etc. We're trying to mount Windows shares to back them up, and getting "permission denied" errors when trying to read certain files from those
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
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
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 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
2008 Jun 26
1
New domain, Samba PDC, tdbsam, where are the groups?
I'm setting up a new domain with Samba 3.0.30 as the PDC using the tdbsam backend. 'net group' yields an empty list, which is consistent with the cautious appoach that Samba takes: don't do anything automagically. But, a new Windows PDC will come online with several well-known domain users and groups. Did I miss the step where I run some stock script that creates these expected
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 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
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
2010 Mar 30
1
Samba PDC with group using same desktop
My goal is to have a business with multiple locations, all have the same desktop for a certain user group. The quick Launch programs, Start Menu and Desktop icons should all be the same, and be 'read only' -- meaning they can't change them. I'm using ClearOS for the PDC, and I have it working already as the PDC, but I'm not quite sure how to setup the remote profiles and lock
2010 Apr 23
3
Undocumented TDB files
In samba3-3.3.9-40.el4 and samba3-3.4.7-42.el5 there are 3 .tdb files /var/lib/samba/locking.tdb /var/lib/samba/wins.tdb /var/lib/samba/mutex.tdb which are not documented in http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html# tdbdocs. Are they persistent or temporary? Moray. "To err is human.? To purr, feline"
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
2013 Jun 14
1
Backup samba4 using LVM snapshot
Hi all! Is it possible to lock databases in private dir to make consistent LVM snapshot? I know about tdbbackup, but LVM snapshot is preferred way for me, cause it's already used for MySQL backup. --- Alexey Balekhov
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
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 Aug 21
5
Problem with backup of the Samba 4
the script is not complete. It isnt stopping samba and as the wiki says, DONT backup a running samba. Greetz, Louis >-----Oorspronkelijk bericht----- >Van: samba [mailto:samba-bounces at lists.samba.org] Namens >Giuseppe Arvati >Verzonden: vrijdag 21 augustus 2015 11:25 >Aan: Marc Muehlfeld; Marcio Demetrio Bacci; samba at lists.samba.org >Onderwerp: Re: [Samba] Problem