Is there a way to export the IP list so it can be imported at another site?

Comments

bfr’s picture

Good idea, but unfortunately there is no such feature currently. However, you can just export / import the ip_ranges table straight from the database, it contains everything.

Lakeside’s picture

Was hoping that it IP Ranges could be used with Features.

Is there a way it could be made compatible?

bfr’s picture

Yes there is. The best way to integrate with features is to make the module compatible with CTools export API.
I will look in to this, but if you are in a hurry and want to make it yourself, read this.

However, if you make a patch, please note that all new features will go to branch 2.x, the 1.x will stay as it is and get's only security fixes and such.

Lakeside’s picture

Thanks for looking into it. I think it would be a good addition for IP Ranges module.

When you're ready I'd be happy to test.

Lakeside’s picture

You're right... On second thought copying the table is probably just as easy.

It's a very helpful module. Thanks for creating it.

Leeteq’s picture

Version: 7.x-1.1 » 7.x-2.x-dev
Component: Miscellaneous » Code

Would be very practical if this supported the exportables functionality of the Features/Strongarm modules.