Obatzda keeps 3-4 days in an airtight container in the fridge, though the taste of onion will get stronger over time. If you are planning on making it in advance, leave the onion out and stir it through at the last minute.