Displaying 20 results from an estimated 10000 matches similar to: "Update Wiki for backup script"
2015 Oct 26
0
Update Wiki for backup script
On 26/10/15 14:40, James wrote:
> 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
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 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 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
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
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 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?
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
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 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"
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 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
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
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
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
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
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