Displaying 16 results from an estimated 16 matches for "samba4_private".
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
2014 Sep 21
1
backup script problem with samba 4.0.10
...rdware 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 that, despite we get these errors, the "samba4_private" file is
created each time I run samba_b...
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
2016 Jul 26
1
how to backup samba ad domain
...backups
Which script are you using ?
If it is the standard Samba script, I would think you can only specify
'FROMWHERE' once.
Rowland
> When I run the script , i receive a tar error that said :
>
> tar refuse to create an empty file
> Error while archiving /usr/local/backups/samba4_private.2016_7_26.tar.bz2
> -status=2
>
> I though /usr/local/backups is the destination for backup files that will
> be created.
> For me, It seems that the script is looking for files in /usr/local/backups
> and as it is a empty directory, it is rejected.
>
> Thank you for your ti...
2014 Sep 02
0
Error backupsamba "Error while archiving"
Dear, good day
There is one months the backup script Samba4 only bringing this
samba4_private.020914.tar.bz2. The *sysvol *files *etc* and not vinheram.
The only
error comes in log is: *Error while archiving
/opt/dados01/backupsamba/samba4_private.020914.tar.bz2
*
Someone is going through the same problem?
--
View this message in context: http://samba.2283325.n4.nabble.com/Error-backupsa...
2014 May 15
1
backup
...up* 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/samba4_private.2014-05-15.tar.bz2 ./private
--exclude=*.ldb --warning=no-file-ignored --transform s/.ldb.bak$/.ldb/
realitvedirname:
else: tar cjf /root/backup/etc.2014-05-15.tar.bz2 --warning=no-file-ignored
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for...
2015 Jan 05
2
backup using the packages of Sernet
...in '`find $ relativedirname -name" * .ldb "`'
+ Tdbbackup ./private/privilege.ldb
+ '[' -ne 0 0 ']'
+ For ldb in '`find $ relativedirname -name" * .ldb "`'
+ Tdbbackup ./private/secrets.ldb
+ '[' -ne 0 0 ']'
+ Tar CJF /root/backups/samba4_private.050115.tar.bz2 ./private '--exclude = *. Ldb'
+ '[' -ne 0 0 ']'
+ ./private Find -name '* .ldb.bak' -exec rm '{}' ';'
D + is in '$ SRD'
++ Find. -type d -name etc -prune
+ Relativedirname =
++ Echo etc.
++ Sed 's / \ // _ / g'
+ N = et...
2013 Oct 29
1
samba_backup
...ocket ignored
tar: ./private/smbd.tmp/msg/msg.3248.61: socket ignored
tar: ./private/smbd.tmp/msg/msg.3248.65: socket ignored
tar: ./private/ldapi: socket ignored
tar: ./private/ldap_priv/ldapi: socket ignored
tar: ./private: file changed as we read it
Error while archiving /usr/local/backups/samba4_private.291013.tar.bz2
Best regards
Stefan J?ckel IT und Systemadministration
Martin-Luther-Universit?t Halle Wittenberg
Juristische und Wirtschaftswissenschaftliche Fakult?t
Wirtschaftswissenschaftlicher Bereich
Gro?e Steinstra?e 73
06108 Halle
Telefon: 0345/5523352
2019 Apr 16
2
samba-backup.sh problems - is the /var/lib/samba/etc folder essential in a Samba installation?
...Error while archiving /usr/local/backups/etc.2019-04-16.tar.bz2 - status = 2
The script aborts with status 2 which is apparently an unrecoverable
fatal error. If I now do a quick ls we can examine what the script did
manage to backup prior to it failing:
pi at ad1:~ $ sudo ls /usr/local/backups
samba4_private.2019-04-16.tar.bz2
So we can see that at least ONE of the THREE expected archives has been
created which is a good start. When I examine samba_backup.sh I notice
the following line in the script DIRS="private etc sysvol" which appears
to just be a list of all the directories within /v...
2016 Jul 26
1
how to backup samba ad domain
...:
>
> FROMWHERE=/etc/samba
> FROMWHERE=/var/lib/samba/private
> FROMWHERE=/usr/local/samba/sysvol
> WHERE=/usr/local/backups
>
> When I run the script , i receive a tar error that said :
>
> tar refuse to create an empty file
> Error while archiving /usr/local/backups/samba4_private.2016_7_26.tar.bz2
> -status=2
>
> I though /usr/local/backups is the destination for backup files that will
> be created.
> For me, It seems that the script is looking for files in /usr/local/backups
> and as it is a empty directory, it is rejected.
>
> Thank you for your ti...
2016 Jul 26
3
how to backup samba ad domain
...gt; FROMWHERE=/var/lib/samba/private
>
> FROMWHERE=/usr/local/samba/sysvol
>
> WHERE=/usr/local/backups
>
>
>
> When I run the script , i receive a tar error that said :
>
>
>
> tar refuse to create an empty file
>
> Error while archiving /usr/local/backups/samba4_private.2016_7_26.tar.bz2
> -status=2
>
>
>
> I though /usr/local/backups is the destination for backup files that will
> be created.
>
> For me, It seems that the script is looking for files in
> /usr/local/backups and as it is a empty directory, it is rejected.
>
>
>
&...
2016 Jul 26
0
how to backup samba ad domain
...ust the parameter FROMWHERE=/usr/local/samba to :
FROMWHERE=/etc/samba
FROMWHERE=/var/lib/samba/private
FROMWHERE=/usr/local/samba/sysvol
WHERE=/usr/local/backups
When I run the script , i receive a tar error that said :
tar refuse to create an empty file
Error while archiving /usr/local/backups/samba4_private.2016_7_26.tar.bz2
-status=2
I though /usr/local/backups is the destination for backup files that will
be created.
For me, It seems that the script is looking for files in /usr/local/backups
and as it is a empty directory, it is rejected.
Thank you for your time and helping
Regards
On Tue, Jul...
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 line in the backup script:
tar cjf ${WHERE}/samba4_${n}.${WHEN}.tar.bz2 $relative...
2015 Jan 05
0
backup using the packages of Sernet
...e -name" * .ldb "`'
> + Tdbbackup ./private/privilege.ldb
> + '[' -ne 0 0 ']'
> + For ldb in '`find $ relativedirname -name" * .ldb "`'
> + Tdbbackup ./private/secrets.ldb
> + '[' -ne 0 0 ']'
> + Tar CJF /root/backups/samba4_private.050115.tar.bz2 ./private '--exclude = *. Ldb'
> + '[' -ne 0 0 ']'
> + ./private Find -name '* .ldb.bak' -exec rm '{}' ';'
> D + is in '$ SRD'
> ++ Find. -type d -name etc -prune
> + Relativedirname =
> ++ Echo etc.
> ++ Se...
2016 Jul 26
0
how to backup samba ad domain
...ERE=/usr/local/samba to :
FROMWHERE=/etc/samba
FROMWHERE=/var/lib/samba/private
FROMWHERE=/usr/local/samba/sysvol
WHERE=/usr/local/backups
When I run the script , i receive a tar error that said :
tar refuse to create an empty file
Error while archiving /usr/local/backups/samba4_private.2016_7_26.tar.bz2 -status=2
I though /usr/local/backups is the destination for backup files that will be created.
For me, It seems that the script is looking for files in /usr/local/backups and as it is a empty directory, it is rejected.
Thank you for your time and helping
Re...
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