Displaying 20 results from an estimated 1000 matches similar to: "samba_backup script"
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
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 Aug 19
3
Problem with backup of the Samba 4
Hi,
I followed the tutorial below to do backup of the Samba4:
https://wiki.samba.org/index.php/Backup_and_Recovery
When I execute the backup script manually, it is executed perfectly, but
when I execute in the crontab, it isn't work.
It is my crontab on Debian 7:
0 1 * * 1-5 /usr/sbin/samba_backup
Does somebody have an idea ?
Regards,
Márcio
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
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 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
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
2013 May 23
2
Backup Samba4
Dear,
Can anyone help me?
I'm having trouble backing up the Samba4.
When I run the command /usr/sbin/samba_backup, it brings the following
error: Error while
archiving /usr/local/backups/samba4_private.210513.tar.bz2
Thanks,
Rodrigo
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 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/
2013 Oct 29
1
samba_backup
Hallo,
i tried to backup samba4 by using the samba_backup script. I removed
?>/dev/null 2>&1?-Pipe from the tar-commands. Tar could not archive the
temporary msg-files, because they where open. My question is, do I need the
temporary msg-files for a complete samba4 database-backup? Thank you.
tar: ./private/smbd.tmp/msg/msg.31043.1: socket ignored
tar:
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 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
2016 Jan 03
2
Samba 4 AD - Samba Fails to Start, hdb_samba4_create_kdc (setup KDC database) failed
Rowland penny <rpenny <at> samba.org> writes:
>
> On 03/01/16 06:00, JS wrote:
> > <=?windows-1252?Q?L.P.H._van_Belle?=> writes:
> >
>
> One of your problems is that you are using the stock Ubuntu samba, this
> is getting a bit long in the tooth now, can I suggest you use either the
> latest freely available samba from Sernet or better still,
2019 Jul 08
1
Error samba backup 4.10.5
On 8/07/19 6:21 PM, Trenta sis wrote:
> Hi,
>
> OK, perfect, is correct to use old samba_backup script as workround to
> make backups until no solution about this bug?
> Thanks
>
Try using online backup on samba v4.10.6 first (it's now been released).
Note that you can run an online backup from any machine (you don't
necessarily have to change the samba version on the DC
2014 Mar 31
1
backup / restore question
Hi all,
I am following https://wiki.samba.org/index.php/Backup_and_Recovery to
create backups of my wheezy DC's.
On SysVol we need the extended ACLs, and we need to backup those as
well. The source4/scripting/bin/samba_backup script does not do this,
since wheezy's tar doesn't seem to understand --xattr. :-(
So, now I installed metastore to create a dump of the metadata,
2017 Sep 12
2
AD-DC configuration backup
Hi,
Samba-AD-DC is working great for us here. All integration working as
expected.
However one small issue. We attempted to use "samba_backup" script to
backup the configuration data. It works fine. However, when we set it as
a cronjob, the cron triggers at the given time during the day, but the
samba_backup script fails to execute. No logs either.
All other cronjobs, like rsync
2014 May 15
1
backup
I just installed samba4 on ubuntu 14.04 from de repositories:
# samba --version
Version 4.1.6-Ubuntu
I wanted to make a backup but *samba_backup* was missing, so I download
4.1.7 using Git and configured it.
The problem is it isn't working, tar is stopping because it refuses to
create and empty file. I tracked it to the second *tar* in the script, and
*echoed* it:
# samba_backup