Sorry I don't know if it will store your data for that long.
I have an Animas Vibe and it stores the data whilst I change the battery but I have not tried any longer than 5 minutes.
However, I try to maintain a record of all my pump settings.
For me, this is possible on Diasend.
When my pump was damaged, I had to set up the replacement pump which would have been a nightmare if I had not recorded the settings.
Therefore, regardless of whether your settings would remain during a 2 week pumping holiday, I would always recommend making a note of all your pump settings. You never know when you may need them.