Your best bet for preserving DNA/RNA samples for long term storage is to keep them at -20 or -80 C in a neutral buffer or MilliQ water, avoiding frequent freeze/thaw cycles. Even better is to lyophilize your samples first and store them as dry solids.