Displaying 5 results from an estimated 5 matches for "storedir".
Did you mean:
store_dir
2018 Apr 13
1
backup-script/backup_samba4
...# Remove any files over $DAYS days old from backup dir, keep the
$KEEP_DAY1 and $KEEP_DAY2 of the month.
if [ ${KEEP_DAYS} = "yes" ]; then
${DEBUG} "Deleting any backup files over ${DAYS} days old, keeping
date $KEEP_DAY1 and $KEEP_DAY2 of the month."
${CMD_FIND} ${STOREDIR} -name "*.bz2" -mtime +${DAYS} -type f
-print | xargs -0 | egrep -v '\-$KEEP_DAY1\-|\-$KEEP_DAY2-' | xargs
${CMD_RM} >/dev/null 2>&1
fi
should be
if [ ${KEEP_DAYS} = "yes" ]; then
${DEBUG} "Deleting any backup files over ${DAYS} days old, keeping...
2016 Jul 26
3
how to backup samba ad domain
...master/backup-script
>
>
>
> and only change these 2.
>
>
>
> This one is generated by the script, it speeds up the cron job.
>
> SCRIPT_COMMANDS_FILE="/etc/samba/backup_samba4_commands"
>
>
>
> And the location of where your backups go.
>
> STOREDIR=/home/backups/`hostname –s`
>
>
>
> Run it and it works ;-) , if not i ow you.. ;-)
>
>
>
>
>
> Greetz,
>
>
>
> Louis
>
>
>
>
>
>
> ------------------------------
>
> *Van:* Jules Houantonon [mailto:juleshoueto at gmail.com]
>...
2016 Jul 26
0
how to backup samba ad domain
...script from github..
https://github.com/thctlo/samba4/tree/master/backup-script
and only change these 2.
This one is generated by the script, it speeds up the cron job.
SCRIPT_COMMANDS_FILE="/etc/samba/backup_samba4_commands"
And the location of where your backups go.
STOREDIR=/home/backups/`hostname –s`
Run it and it works ;-) , if not i ow you.. ;-)
Greetz,
Louis
Van: Jules Houantonon [mailto:juleshoueto at gmail.com]
Verzonden: dinsdag 26 juli 2016 17:01
Aan: L.P.H. van Belle
CC: samba at lists.samba.org; Kevin Davidson
Onderwerp: Re: [Sam...
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
2024 Jun 27
3
Online AD Backup fails with "no auth" in 4.20?
Hallo lovely samba-people,
did something change in regards to the online AD Backup in 4.20?
We're using this CLI command to create a backup of our domain:
??? /usr/bin/samba-tool domain backup online --targetdir="/my/path"
--server="rad-2.ad.ellerhold.lan"
--use-krb5-ccache="/opt/samba-ad-backup/ad-backup.krb5cc" -N
This ran successfully on a member server