Is this safe going from 3.2 to version 4 with the --drop option? When I did my migration I did not use --drop, and it caused a few issues. I’m wondering if using --drop across versions would have caused more.
mkdir /var/tmp/backup
mongodump --db graylog --out /var/tmp/backup/
tar czvf /var/tmp/graylog_backup.tgz /var/tmp/backup/graylog
copy backup to local
cd /var/tmp
tar xzvf graylog_backup.tgz
mongorestore -d graylog --drop ./graylog