N.B.:
This webapp will backup all your existing contacts on your SD-card, in the path contacts2xml. Unplug any USB wire before doing a backup.
For more security, don't forget to copy all backup files outside of your phone, using the USB capabilities of Firefox OS.
To restore your contacts, simply download the xml2contacts webapp.
This program has been tested with hundreds of contacts, but is still under development.