Toddy is supposed to be fermented in terracotta pots and drunk fresh. Usually, in villages, they consume it within 24-48 hours of tapping the palm tree or juicing the sugarcane. If you store in a refrigerator, you can extend it to a week. However, if you want to store longer and serve in bottles or cans here is what you need:
Read about how to prevent oxidation in your homebrew. How to use an airlock, siphon, and sanitize your equipment. This will dramatically improve your shelf life. The white color of toddy comes from suspended yeast. If you plan to store it for long, please filter it. You need to improve packaging so that the toddy does not get contaminated. You can also use kegs to make it very bubbly On its own, it will become very alcoholic (10-13% Alcohol) please read about how to reduce alcohol.
If prepared like wine and stored properly, toddy can last for months in glass bottles.