similar to: Thoughts on samba backup script for DCs

Displaying 20 results from an estimated 2000 matches similar to: "Thoughts on samba backup script for DCs"

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
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 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
2016 Jul 26
1
how to backup samba ad domain
I have one DC in Samba 4.3.9-Ubuntu Server I set the backup script and it is working properly! The restore test it is OK for me! I scheduled via CRON and the backup takes one minute only to run *#!/bin/bash* *####################################* *#* *# Samba_AD backup script* *#* *####################################* *# Stop Samba* */etc/init.d/samba stop* *# What to backup*
2016 Jul 26
5
how to backup samba ad domain
Hai Kevin, I to have more dc's but same as what your saying.. > In general that's fine if all you care about is being able to recreate a > failed DC (after hardware failure or bad system update). It's no use in > protecting you against user/sysadmin error where you make large, but > unwanted changes to your directory (like accidentally deleting 200 users) > and you
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
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
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
2016 Jul 26
1
how to backup samba ad domain
On 26/07/16 16:01, Jules Houantonon wrote: > Hi all, > > as for samba sernet installation, the etc direction is located in to /etc > and the private in to /var/lib/samba, as the sysvol to /var/lib/samba also, > > i adjust the parameter FROMWHERE=/usr/local/samba to : > > FROMWHERE=/etc/samba > FROMWHERE=/var/lib/samba/private > FROMWHERE=/usr/local/samba/sysvol >
2017 Dec 19
3
notice backup script update!
Hai,   For the people using my modified backup script.  Found here: https://github.com/thctlo/samba4/tree/master/backup-script    I've updated it, due to bug https://bugzilla.samba.org/show_bug.cgi?id=13088   netlogon_creds_cli.tdb will be excluded from the backup. Due to this the script exits and does not backup anything since netlogon_creds_cli.tdb is the first it wanted to backup. ( in
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
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 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 Jul 26
3
how to backup samba ad domain
My friend, you ow me a lot then. :D I receive an error on the line 179 ${CMD_AWK} -F '.' '{print $2}') if [ -n "${TARVERSION}" ] && [ " ${TARVERSION}" -ge "27" ]; then It is about Incorrect syntaxt. A syntax where not expected before the then. I am using Centos 7.2 and samba-sernet 4.2 Thank you again On Tue, Jul 26, 2016 at 4:11 PM,
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 ''
2012 Aug 25
3
Sysvol Replication in Samba4
Hi, We installed a samba4 AD controller using Gpo for a small group of users (5 users), everything is OK. (Samba4 beta 7 on Ubuntu 12.04) We installed another Samba4 AD controller as a BDC of the first one with the command "samba-tool domain join" with succes. After checking this new installation, we saw that the sysvol share was not replicated from the PDC and all the Policies are
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/
2010 Aug 12
2
tar - ssh - standard out
Hi I have a process that creates 'some data' and outputs this to standard out and i want to shift this data over ssh to a remote box without ever writing anything locally. I have been experimenting with tar to create the archive as the i dont know what the contents of 'some data' might be so i just need to capture it and output it on the other side. I have been trying with $ tar
2015 Sep 26
6
Hidden files problem in R CMD check
Dear Dirk, Yes, I know, however forget for one moment R. If I use tar independent of R it still should not create these hidden files. BTW, do you know where these hidden files are stored on the Mac? Best regards, Christian On 09/26/15 23:01, Dirk Eddelbuettel wrote: > > On 26 September 2015 at 22:41, cstrato wrote: > | Dear Simon, > | > | Thank you very much for your help, it
2002 Aug 12
5
Why does this logon-script not work under Win9x ?
Hi, i'm having a serious problem with the following logon-script. It works under W2k, but not under W98, although W98 tells it is running startup-script .. First my smb.conf (only interesting parts) : ---snipp--- [global] server string = Samba-PDC %v on %h workgroup = WORKGROUP encrypt passwords = yes netbios name = 486dx66 domain master = Yes