mysqldump -u user -p dbname | gzip -c | cat > ~/backup/db-dev-$(date +%Y-%m-%d-%H.%M.%S).sql.gz