Commit 36db9a07 authored by Simone Piccardi's avatar Simone Piccardi
Browse files

Rimossa riga residua inutile

parent e9a93532
fuss-backup (2.2-2) buster; urgency=medium
* Rimossa riga residua
-- Simone Piccardi <piccardi@truelite.it> Thu, 05 Mar 2020 19:30:43 +0100
fuss-backup (2.2-2) buster; urgency=medium
* Aggiunte ulteriori esclusioni e aggiunto logging.
......
......@@ -275,7 +275,6 @@ if which pg_dumpall > /dev/null; then
FILEBACK=dumpall-`date +%F`.sql.gz
su postgres -c "pg_dumpall" | $GZ > $FILEBACK
echo "* pg_dumpall dump in $FILEBACK"
tranfencrypt $FILEBACK
if [ $(ls dumpall-*.sql.gz|wc -l) -gt $MINCOPIES ]; then
find . -name "dumpall-*.sql.gz" -mtime +$MAXDAYS -exec rm -f \{\} \;
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment