backup giornaliero

This commit is contained in:
Michele 2018-06-12 15:27:04 +02:00
parent ee55ecd2f2
commit 1535b27918

View file

@ -72,7 +72,7 @@ fi
mikif70/mongotools:3.4.5 mongoexport \ mikif70/mongotools:3.4.5 mongoexport \
--host "${MONGODB}" \ --host "${MONGODB}" \
--db $DB \ --db $DB \
--collection "lastlogin_${CNAME}" \ --collection "ll_${FNAME}" \
--type "csv" \ --type "csv" \
--fields "_id,user,protocol,ip,date,insert,country" \ --fields "_id,user,protocol,ip,date,insert,country" \
--query "${QUERY}" \ --query "${QUERY}" \