1. Sauté shallots in oil until soft, deglaze with vinegar, add sugar and stir to dissolve.
2. Add remaining ingredients and bring to a soft boil. Reduce heat and simmer for 20-30 minutes or until apricots are plump, soft and mixture is thickened.
3. Taste and adjust seasoning if needed.
4. Cool completely. Store in appropriate container.