Since you have data from mongo 2.6, the index field restriction has already been implemented. Mongo 3.2 will restore this backup without any problems.
Another way you can update your db (if you have a set of replicas) is to replace one member of 2.6 with 3.2 and wait for synchronization, then another ... This will give you business continuity :-)
source share