search for: samba_backup

Displaying 20 results from an estimated 142 matches for "samba_backup".

2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
...wland 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 appears to tar tdb files >> "as is." [2] >> >> What gives? Isn't tdbbackup specifically designed to backup tdb >> files? Is it now possible to simply copy open tdb files into...
2016 Dec 10
0
samba_backup script doesn't use tdbbackup for tdb files?
...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 appears to > >> tar tdb files "as is." [2] > >> > >> What gives? Isn't tdbbackup specifically designed to backup tdb > >> files? Is it now possible to simply...
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 i...
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 itse...
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 for Group Policies are all working fine, but this...
2015 Aug 21
5
Problem with backup of the Samba 4
...a.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 ? >> >> >> I think $PATH differs in your situation from when you run it manually >> and when cron does. You can add a >> export $PATH=$PATH:... >> to the top of the script, where you add all directories, us...
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 specifically designed to backup tdb > files? Is it now possible to simply copy open tdb files into an > archive? &...
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
2019 Jul 07
2
Error samba backup 4.10.5
...5:35 AM, Trenta sis wrote: > Hi, > > IT seems that a bug has been opened, thanks! > one question samba 4.10.6 appears delayed when will be released? Will > include a solution for this > https://bugzilla.samba.org/show_bug.cgi?id=14027 > > > As workaround is correct to use samba_backup ols script wirh 4.10, it > seems that works.. > Thanks > It's unlikely that bug 14027 will be in 4.10.6. The bug has only just be raised, and I don't think that 4.10.6 will be delayed for long enough to fix it. 4.10.6 should contain the fix for bug #13917 though. So it would be he...
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
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 i...
2005 Sep 03
3
Accents in filenames on vfat filesystem
...like the following: "test?.txt" E212: Can't open file for writing I have made a 'modprobe nls_cp850' and 'modprobe nls_iso8859-1' to load those needed modules. Then I mounted my FAT32 partition like this: mount -t vfat -o iocharset=iso8859-1,codepage=850 /dev/hdb1 /samba_backups The mount succeeded but I still cannot create or copy a file that has an accent in it's filename. Of course I can create without any problem a file without any accent once the filesystem mounted the same way. It seems that other people on other systems are having no problems. Does somebod...
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 realitvedirname: ./private if: tar cjf /root/backup/sa...
2015 Sep 01
1
Samba 4 DC backups
...a] 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 /etc/samba >> /usr/local/samba/private is /var/lib/samba/private >&g...
2014 Dec 23
0
samba backup and build
...socket I get messages like this: pax: ustar header field is too small for ./var/locks/sysvol/ ad.heritageacademyaz.com/Policies/{6AC1786C-016F-11D2-945F-00C04FB984F9}/GPT.INI So my question is -- 1) can the socket file be safely erase I did see the following diff --git a/source4/scripting/bin/samba_backup b/source4/scripting/bin/samba_backup index 75ebec6..e34981e 100755 --- a/source4/scripting/bin/samba_backup +++ b/source4/scripting/bin/samba_backup @@ -48,6 +48,10 @@ cd $FROMWHERE for d in $DIRS;do relativedirname=`find . -type d -name "$d" -prune` n=`echo $d | sed '...
2014 Sep 21
1
backup script problem with samba 4.0.10
...0.10 and using it as the only domain controller and LDAP server (please note that our server's hardware crashed 10 months ago and we did restore a bit old backups and rejoin all computers to the domain). To backup the samba database, I stop samba service at 2:00 AM every night and backup using samba_backup script and re-run samba4 service with the help of crontab. It could always create "samba4_private" file but "sysvol" and "etc" files were not created in some days! (both "etc" and "sysvol" files are created once in every 3 or 4 days) Please note th...
2015 Sep 01
1
Samba 4 DC backups
...>> Date: Tue, 01 Sep 2015 19:19:31 +1200 >> From: "Brady, Mike" <mike.brady at devnull.net.nz> >> To: samba at lists.samba.org >> Subject: Re: [Samba] 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....
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 /etc/samba /usr/local/samba/private is /var/lib/samba/private /usr/local/samba/sysvol is /var/lib/samba/sysvol Does this...
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...
2015 Jan 21
4
recreating domain with existing gid and uid
Okay, I gave up fixing that raspberry and going to use some conventional legacy PC instead and reinstall it all. Is there a way I can use the group, user and domain controller IDs from the backups I created to reinstall a new Samba4 DC without the clients noticing? I don't like to rejoin everything yet another time. - Axel