Remove deprecated comments.
This commit is contained in:
parent
48dfd54b55
commit
bb050ef136
|
@ -11,8 +11,6 @@ dst="rsync://${RSYNC_USERNAME}@${BACKUPSERVER}/${RSYNC_PATH}"
|
||||||
|
|
||||||
|
|
||||||
# List actual incrementals backup.
|
# List actual incrementals backup.
|
||||||
# RSYNC_PASSWORD=ojvafnabOn5 rsync --list-only
|
|
||||||
# rsync://evolix-1vhqa@localhost:8873/evolix-1vhqa_backup/ | sed -E 's#^([^\s]+\s+){4}##'
|
|
||||||
listincs=$(rsync --list-only ${dst} |
|
listincs=$(rsync --list-only ${dst} |
|
||||||
sed -E 's#^([^\s]+\s+){4}##' | sed -e '/\./d' -e '/current/d' | tr -s '\n' ' '
|
sed -E 's#^([^\s]+\s+){4}##' | sed -e '/\./d' -e '/current/d' | tr -s '\n' ' '
|
||||||
)
|
)
|
||||||
|
@ -42,4 +40,4 @@ if [ -s $tmplog ]; then
|
||||||
< $tmplog mailx -s "[info] EvoBackup - deletion of obsolete incrementals" $MAIL_TO
|
< $tmplog mailx -s "[info] EvoBackup - deletion of obsolete incrementals" $MAIL_TO
|
||||||
fi
|
fi
|
||||||
# Cleaning
|
# Cleaning
|
||||||
rm -rf $tmpdir $emptydir $tmplog
|
rm -rf $tmpdir $emptydir $tmplog
|
||||||
|
|
Loading…
Reference in a new issue