Copy a Firestore collection between databases
Copy or move Firestore documents with their subcollections. Choose the destination and review the operation report.
Prepare the copy
- Open the source collection and choose Opérations → Copier des documents.
- Choose the destination database and enter the collection path. Select individual rows, the query results or the entire collection, depending on the open tab.
- Check Inclure les sous-collections to preserve nested paths. Start the job from the queue and review the result for each document.
Choose Ignorer to keep existing documents at the destination. Reference fields keep their original paths.
Move a collection and its subcollections
To remove the source documents after the transfer, choose Déplacer des documents and confirm the source database ID. With subcollections included, QueryCanopy verifies the destination copies before it begins deleting the source documents. With Ignorer, a collision leaves that branch in the source database.
Select the operation in the queue to see completed, skipped and failed records or download their JSON report.
Identify the source and destination
Check the name, color and ID of each database in the explorer before preparing a transfer.
Organize databases by environment