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

Displaying 20 results from an estimated 3000 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?
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 >> ./source4/scripting/bin/samba_backup . Although my recent version of >> samba_backup uses tdbbackup on ldb files, it
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
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 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
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
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 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
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
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 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
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
2015 Dec 09
0
Backup Member Server
Ok, "sysvol" won't exist on member servers, of course. Besides that, are all relevant Samba databases located in "private"? -- Btw, regarding the use of the script for DCs: https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC I have to cron this as root: 0 2 * * * root /usr/sbin/samba_backup And I have to put the full path to "tdbbackup"
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
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 10
0
Backup Member Server
Wanted to add that I am using STAR for incremental backups of ZFS snapshots on a member server while preserving ACLs with the -xattr parameter. It is pretty fast (uncompressed, of course). http://linuxcommand.org/man_pages/star1.html Ole Am 09.12.2015 um 13:27 schrieb L.P.H. van Belle: > Hai, > > but dont forget that if you use samba also as print server > you need to backup the
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 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