search for: cmd_rm

Displaying 5 results from an estimated 5 matches for "cmd_rm".

Did you mean: cmd_rc
2018 Apr 13
1
backup-script/backup_samba4
...quot; ]; 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 date $KEEP_DAY1 and $KEEP_DAY2 of the month."     ${CMD_FIND} ${STOREDIR} -name "*.bz2" -mtime +${DAYS} -type f -print...
2014 Feb 15
2
rsync filter rules ignored by rsnapshot
...ther one as well. ok? here is my question: when running rsnapshot, my exclude filter is being ignored, but i don't see why. grep -v "#" /etc/rsnapshot-debx40.conf | grep . gives config_version 1.2 snapshot_root /media/extfp/Backup/rsnapshot-debx40/ no_create_root 1 cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh cmd_logger /usr/bin/logger retain daily 7 retain weekly 4 retain monthly 3 verbose 5 loglevel 5 logfile /var/log/rsnapshot.log lockfile /var/run/rsnapshot.pid rsync_long_args -ev --rsync-path=/home/backupuser/rsync-wrapper.sh exclude "**n...
2016 Nov 22
5
backup_samba4 script failing
...mand 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 contains : /usr/bin/awk Command checks : CMD_SORT c...
2014 Feb 10
2
/usr/bin/ssh not found when rsync is executed within rsnapshot
...4-02-01) i686 ###some greeting lines### $ whoami backupuser here is the result of grep -v "#" /etc/rsnapshot | grep [a-z] i.e. the /etc/rsnapshot minus the comments and the empty lines: config_version 1.2 snapshot_root /media/extfp/Backup/rsnapshot/test/ no_create_root 1 cmd_cp /bin/cp cmd_rm /bin/rm cmd_rsync /usr/bin/rsync cmd_ssh /usr/bin/ssh cmd_logger /usr/bin/logger retain hourly 6 retain daily 7 retain weekly 4 verbose 5 loglevel 5 logfile /var/log/rsnapshot.log lockfile /var/run/rsnapshot.pid rsync_long_args -ev --rsync-path=/home/backupuser/rsync-wrapper.sh ssh_args -i /ho...
2006 Apr 27
3
Permissions causing full backups?
...ssions… .f...p... /cygdrive/c/Documen…. (ok, 3 problems..) 3. I can change a file on in the “daily.#” areas and none of the other (supposedly linked) files get changed. Here are the main points of my rsnapshot.conf: snapshot_root /cygdrive/u/docs_bkup/ #cmd_cp /usr/bin/cp cmd_rm /usr/bin/rm cmd_rsync /usr/bin/rsync interval daily 3 # I’ve tried several configurations…this is the current one… rsync_short_args -arltgoDvzi rsync_long_args --delete --numeric-ids --relative --delete-excluded --modify-window=1 #If tested th...