similar to: samba_backup script doesn't use tdbbackup for tdb files?

Displaying 20 results from an estimated 1000 matches similar to: "samba_backup script doesn't use tdbbackup for tdb files?"

2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
On 10 Dec 2016 20:19:11 UTC Don via samba <samba at lists.samba.org> wrote: > Rowland Penny via samba <samba at lists.samba.org> wrote: > > On 09 Dec 2016 21:52:39 UTC > > Don via samba <samba at lists.samba.org> wrote: > > > >> Greetings, > >> > >> The backup and restore Samba AD DC section of SambaWiki [1] refers > >> to
2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
On 09 Dec 2016 21:52:39 UTC Don via samba <samba at lists.samba.org> wrote: > Greetings, > > The backup and restore Samba AD DC section of SambaWiki [1] refers to > ./source4/scripting/bin/samba_backup . Although my recent version of > samba_backup uses tdbbackup on ldb files, it appears to tar tdb files > "as is." [2] > > What gives? Isn't tdbbackup
2013 Apr 22
0
samba4 backup script
Hi list I recently encountered errors while trying to backup the samba4 AD. Apparently tar had some problems with sockets in the samba4 directory. I modified the samba4 backup script, perhaps this or a similar change is good to include upstream? Cheers Simon Oosthoek -------------- next part -------------- #!/bin/sh ##################################################### # THIS FILE IS
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 ''
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
2013 Aug 12
1
samba 4.0.x : samba_backup wrong path line 54
Hello, (samba 4.0.8 compiled from git source) Just tried the samba_backup from https://wiki.samba.org/index.php/Backup_and_Recovery line 54 mention : tdbbackup $ldb where it should be /usr/local/samba/bin/tdbbackup $ldb Thanks for this nice samba version ! electronico
2014 Jul 22
0
Samba4 Backup and Recovery Tutorial
Hello, Looking to implement the backup script from the Wiki. I hit a snag at this part. *Because this script is very basic at the moment, there are some things to know, if you plan to use it unchanged: * ** * *The script doesn't backup extended ACLs. This results in that you'll lose the permissions e. g. on the SysVol share. If you have a tar version that supports the
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
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 Dec 23
0
samba backup and build
I am replacing my samba 4.1.9 with version 4.1.14. While tarring my /usr/local/samba in preparation for this I got a number of message about not being able to backup a socket. So I switched and used pax to create the tar archive. I got the same message in addition to the message about not backing up the socket I get messages like this: pax: ustar header field is too small for ./var/locks/sysvol/
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
2014 Nov 12
1
backup script exit with error (probably because of tar warning)
Hi dear list members It's some time that we have issue regarding backup script of samba 4.0.10. It exits with error: "Error while archiving /home/a/samba-backup/samba4_private.121114.tar.bz2" After some troubleshooting, I noticed it is PROBABLY because of tar, issuing this warning with the exit code of 1: "tar: ./private: file changed as we read it" It is related to this
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 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
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 Aug 21
0
Problem with backup of the Samba 4
On 21/08/15 10:58, L.P.H. van Belle wrote: > the script is not complete. > It isnt stopping samba and as the wiki says, DONT backup a running samba. Hi Louis, it doesn't say that at all, what it does say is this: Whilst you must never copy a running database, you can backup *.ldb & *.tdb files online with 'tdbbackup' This is a bit ambiguous, what it should say is: You
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
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 @@
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: >
2009 Mar 31
1
Proper use of tdbbackup
I have googled a lot, but I have found no examples of the correct use of the tdbbackup program. I am looking for some advice on how to use tdbbackup. I mean, I know I can simply run "tdbbackup *.tdb", but I was looking for in-depth information on when and how to use it, about best practices on using it, or what NOT to do. The Samba documentations says I should run it in my start/stop