First, I have to say that I very rarely have to store cookies for more than a few days...
However, if it must be done, then I find that they keep well for 7-10 days (depending on the recipe) in an airtight container on the counter. I've never tried vacuum sealing the container. I think that that would lead to explosive cookie crumbles when you tried to open it.
If you simply want fresh cookies over a long period of time, the best way in my opinion is to make the dough, roll into balls, and freeze the balls. They will last for 2-3 months in the fridge, and you can bake as many or as few as you like straight from frozen (add an extra minute to the baking time). There will be freshly baked cookies in the amount of time it takes you to make the coffee.