similar to: notice backup script update!

Displaying 20 results from an estimated 4000 matches similar to: "notice backup script update!"

2018 Apr 13
1
backup-script/backup_samba4
Hi! i am testing Louis van Belle backup script. it works quite well. Thank you for sharing this! https://github.com/thctlo/samba4/blob/master/backup-script/backup_samba4 but i think there is an error in the KEEP_DAYS code as the string '\-$KEEP_DAY1\-|\-$KEEP_DAY2-' is not interpolated so the egrep does exclude anything from rm call. So no files older than $DAYS are kept... # Remove
2016 Nov 22
5
backup_samba4 script failing
I am testing the backup script found at https://github.com/thctlo/samba4/tree/master/backup-script on Ubuntu 16.04.1LTS with Samba 4.5.0 (from source) running. When I run: root at dtdc03:/usr/sbin# ./backup_samba4 --debug Command checks : CMD_SAMBA contains : /usr/local/samba/sbin//samba Command checks : CMD_TDBBACKUP contains : /usr/local/samba/bin//tdbbackup Command checks : CMD_LOGGER
2016 Nov 22
2
backup_samba4 script failing
On Tue, 22 Nov 2016 17:07:14 +0400 Mike Lykov via samba <samba at lists.samba.org> wrote: > 22.11.2016 16:12, Bob of Donelson Trophy via samba пишет: > > I am testing the backup script found at > > https://github.com/thctlo/samba4/tree/master/backup-script on Ubuntu > > 16.04.1LTS with Samba 4.5.0 (from source) running. > > Are this backup method useful only for
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 Jan 11
1
Thoughts on samba backup script for DCs
Hello, possibly the author of the samba backup script will read this. I customized the script myself due to some things: 1. At the end the script looks for samba4_* files to rotate the backups. But only backups of the private folder get this prefix with the original script. sysvol and etc backups will remain. 2. The wiki of backup and restore advises to restore on the same version of samba the
2014 Aug 18
1
samba_backup script
Hi, I am trying to backup a samba DC with the samba_backup script as described in https://wiki.samba.org/index.php/Backup_and_Recovery (BTW there's a typo in a chapter title which should be samba_backup instead of backup_samba) . It works ok except that it backups also all files in the ./lib/private/ dir , which are all library files. I suspect that it is wrong , isn't it ? Regards
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
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
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: >
2016 Nov 22
0
backup_samba4 script failing
On 22/11/2016 13:22, Rowland Penny via samba wrote: > On Tue, 22 Nov 2016 17:07:14 +0400 > Mike Lykov via samba <samba at lists.samba.org> wrote: > >> 22.11.2016 16:12, Bob of Donelson Trophy via samba пишет: >>> I am testing the backup script found at >>> https://github.com/thctlo/samba4/tree/master/backup-script on Ubuntu >>> 16.04.1LTS with Samba
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
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 Apr 16
2
samba-backup.sh problems - is the /var/lib/samba/etc folder essential in a Samba installation?
Hi everyone, I am running Samba 4.5.16-Debian on Raspbian OS and I am currently attempting to deploy the provided samba-backup.sh script within my existing SAMBA installation to implement disaster recovery on my AD DC servers. Following the documentation provided here https://wiki.samba.org/index.php/Using_the_samba_backup_script I have so far managed a partial success on my backup: pi at
2016 Oct 20
3
CTDB and locking issues in 4.4.6 (Classic domain)
Hi list We recently upgraded our fileservers from Centos supplied 4.2.10 to Sernet 4.4.6, and then our DCs from 3.6.x to 4.4.6. It seems that since then we've had problems with locks not being obeyed on all nodes - they only seem to work when a second client opens a file on the same node as the first client. For example, when a user opens an Excel file I will see something like this
2018 Jun 06
2
Why am I getting login failures for domain members?
No ideas on this? Anybody? --Mark -----Original Message----- Date: Tue, 29 May 2018 09:27:36 -0400 Organization: Ohio Highway Patrol Retirement System To: samba at lists.samba.org Subject: [Samba] Why am I getting login failures for domain members? Every so often I get a message in /var/log/samba/log.samba as follows: 2018/05/26 13:44:25.172415, 2] authentication for user [HPRS/LABRAT$] FAILED
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
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
2015 Jan 05
0
backup using the packages of Sernet
On 05/01/15 12:04, Gabriel Franca wrote: > 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 ''
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
2017 Jun 05
3
Samba backup script retention question
Hello, I'm using the 'samba_backup' script with the self compiled version. I noticed the retention period not being applied to etc and sysvol tar.bz2 files. Looking at the script it appears to only list the following at the end 'find $WHERE -name "samba4_*bz2" -mtime +$DAYS -exec rm {} \;' Can I also include the etc and sysvol tars in the command? Any