search for: cmd_find

Displaying 3 results from an estimated 3 matches for "cmd_find".

Did you mean: cdb_find
2017 Dec 19
3
notice backup script update!
Hai,   For the people using my modified backup script.  Found here: https://github.com/thctlo/samba4/tree/master/backup-script    I've updated it, due to bug https://bugzilla.samba.org/show_bug.cgi?id=13088   netlogon_creds_cli.tdb will be excluded from the backup. Due to this the script exits and does not backup anything since netlogon_creds_cli.tdb is the first it wanted to backup. ( in
2018 Apr 13
1
backup-script/backup_samba4
...are kept... # 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 o...
2016 Nov 22
5
backup_samba4 script failing
...me Command checks : CMD_CAT contains : /bin/cat Command checks : CMD_GREP contains : /bin/grep Command checks : CMD_ECHO contains : /bin/echo Command checks : CMD_AWK contains : /usr/bin/awk Command checks : CMD_SED contains : /bin/sed Command checks : CMD_DATE contains : /bin/date Command checks : CMD_FIND contains : /usr/bin/find Command checks : CMD_RM contains : /bin/rm Command checks : CMD_GETFACL contains : /usr/bin/getfacl Command checks : CMD_TAIL contains : /usr/bin/tail Command checks : CMD_CUT contains : /usr/bin/cut Command checks : CMD_WC contains : /usr/bin/wc Command checks : CMD_AWK co...