Skip duplicates import #1116

Closed
opened 2025-12-29 16:29:08 +01:00 by adam · 2 comments
Owner

Originally created by @loopodoopo on GitHub (Jul 18, 2017).

I'm migrating from an old IPAM tool to Netbox. For the migration, I'm writing a migration script which parses the old tool and creates a CVS which I can import in Netbox.

While writing the script I would like to import all data once and do a sync (by manually pasting all records again) once I'm ready to switch over.

Problem is that Netbox will import all items as duplicate, for that reason I would like to have a checkbox on import to ignore duplicates.

For example, I'm trying to import IP addresses:

address,status,description
1.0.0.3/32,Active, description

and then a second time:

address,status,description
1.0.0.3/32,Active, description
1.2.3.4/32,Active, description

Now I have 2 entries for 1.0.0.3/32. This behavior I would like to overwrite with a 'ignore duplicates' on import checkbox.

This feature would be useful on all import pages.

Originally created by @loopodoopo on GitHub (Jul 18, 2017). I'm migrating from an old IPAM tool to Netbox. For the migration, I'm writing a migration script which parses the old tool and creates a CVS which I can import in Netbox. While writing the script I would like to import all data once and do a sync (by manually pasting all records again) once I'm ready to switch over. Problem is that Netbox will import all items as duplicate, for that reason I would like to have a checkbox on import to ignore duplicates. For example, I'm trying to import IP addresses: ``` address,status,description 1.0.0.3/32,Active, description ``` and then a second time: ``` address,status,description 1.0.0.3/32,Active, description 1.2.3.4/32,Active, description ``` Now I have 2 entries for 1.0.0.3/32. This behavior I would like to overwrite with a 'ignore duplicates' on import checkbox. This feature would be useful on all import pages.
adam added the status: duplicate label 2025-12-29 16:29:08 +01:00
adam closed this issue 2025-12-29 16:29:08 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 18, 2017):

You'll need to correct your data before importing it into NetBox. Some people need the ability to import duplicate prefixes/IPs. Please see the discussion in #1353.

@jeremystretch commented on GitHub (Jul 18, 2017): You'll need to correct your data before importing it into NetBox. Some people need the ability to import duplicate prefixes/IPs. Please see the discussion in #1353.
Author
Owner

@loopodoopo commented on GitHub (Jul 18, 2017):

Some people need to import duplicates, some people don't for that reason I suggest a checkbox. I think the user who submitting #1353 would be helped just as much as I would with this feature.

@loopodoopo commented on GitHub (Jul 18, 2017): Some people need to import duplicates, some people don't for that reason I suggest a checkbox. I think the user who submitting #1353 would be helped just as much as I would with this feature.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1116