Hiya mass,
If you make a small amount of sauce and leave it in the fridge you can expect it to last for a week or two depending on the ingredients.
If you want to preserve a sauce you have to cook every ingredient, so shove it all in a pot and cook it down a bit.
If you add in vinegar or...