Displaying 20 results from an estimated 2000 matches similar to: "samba 4.0.x : samba_backup wrong path line 54"
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
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
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
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
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
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
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 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
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 Mar 11
2
Users and groups named in Russian disappeared after upgrade samba4 PDC
Thanks for the answer.
> Did you got errors during the classicupgrade?
I didn't do classicupgrade. My Samba AD DC was installed from scratch some
months ago using the instructions from this page
https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO and everything had been
working well. I just upgraded some deb-packages with samba to the same version
but different buid-release. Regarding
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
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 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 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
2017 Aug 29
3
AD DC and Fileserver
On Tue, 2017-08-29 at 08:48 -0300, Flávio Silveira wrote:
>
> On 29/08/2017 01:10, Andrew Bartlett wrote:
> > On Tue, 2017-08-29 at 00:06 -0300, Flávio Silveira via samba wrote:
> > > Hi Andrew, thanks for your quick reply!
> > >
> > > On 28/08/2017 21:32, Andrew Bartlett wrote:
> > > > On Mon, 2017-08-28 at 21:01 -0300, Flávio Silveira via
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
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
2015 Dec 08
3
Backup Member Server
Besides, obviously, the potential shared data on file servers, can't you
just use the script that is introduced for backing up DCs? At least if
the complete Samba installation is in "/usr/local/samba"...
https://wiki.samba.org/index.php/Backup_and_restore_an_Samba_AD_DC
Am 02.12.2015 um 20:06 schrieb Marc Muehlfeld:
> Hello James,
>
> Am 02.12.2015 um 15:57 schrieb
2014 Dec 20
1
sysvol /etc /private replication/backup via git
Just to mention and because I'm in doubt: The samba_backup script contains tdbdump for private folder to create online dumps of all ldb. But the dumps are smaller than the original. Is that ok?
I'm in doubt regarding integrity.
Am 20. Dezember 2014 10:59:59 MEZ, schrieb Marc Muehlfeld <mmuehlfeld at samba.org>:
>Hello Johannes,
>
>Am 18.12.2014 um 12:23 schrieb johannesa: