similar to: Samba 4 DC backups

Displaying 20 results from an estimated 30000 matches similar to: "Samba 4 DC backups"

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
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
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
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
2015 Sep 01
0
Samba 4 DC backups
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 good practice. --Mark -----Original Message----- > Date: Tue, 01 Sep 2015 19:19:31
2015 Sep 01
0
Samba 4 DC backups
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 old installation folder that I should probably
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
2015 Dec 30
3
Samba 4 AD - Samba Fails to Start, hdb_samba4_create_kdc (setup KDC database) failed
<=?windows-1252?Q?L.P.H._van_Belle?=> writes: > > Hai, > > Can be incorrect rights, of corrupted db. > > Can you give the output of > > ls -al /var/lib/samba/ > ls -al /var/lib/samba/private > ls -al /var/lib/samba/private/dns > > Greetz, > > Louis > Hi Louis, thanks for your reply, here is the info you requested: ls -al
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 Sep 01
0
Samba 4 DC backups
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 multiple DC's, we have that already in other scripts. In case of multple DC's, backup
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
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
2
Samba 4 Bind DNS on CentOS 7
Hi Brady, I realise that but the only named.conf to be found on the system is my newly created /etc/named.conf. Either something screwed up when installing the Sernet RPMs, which is really pretty unlikely given that everything else is working, or the file was not included in the package. regards, John On 21/08/15 10:16, Brady, Mike wrote: > On 2015-08-21 11:18, John Gardeniers wrote:
2015 Aug 21
2
Samba 4 Bind DNS on CentOS 7
On 2015-08-21 14:11, Brady, Mike wrote: > On 2015-08-21 12:52, John Gardeniers wrote: >> Hi Brady, >> >> I realise that but the only named.conf to be found on the system is my >> newly created /etc/named.conf. Either something screwed up when >> installing the Sernet RPMs, which is really pretty unlikely given that >> everything else is working, or the file
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 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
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
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
2019 Aug 18
2
Sysvol replication between DC
Hi, I have followed the guidelines outlined in the article: https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory#Built-in_User_.26_Group_ID_Mappings . I had a doubt: When I ran the tdbbackup -s .bak command idmap.ldb which is 2MB generated a 720k-sized idmap.ldb.bak file. I have stopped the samba service on CD 2, replaced the idmap.ldb file with idmap.ldb.bak,
2016 Sep 07
7
Winbind / Samba auth problem after username change
Well, I always get 0 results, whether using cn, full username, wildcards, another existing and working user etc. # cat /etc/passwd | grep 'ren_test' returns nothing # wbinfo -u | grep 'ren_test' returns: ren_test4 I also created a backup of all those ldb files and restarted the samba service. Now there's no new sam.ldb but a file looking similar to it. Here's