You will still have plenty of bacteria and good stuff on the rocks.
And i would put all the sand in a bucket, put a hoze in there and let the water flow. Stir the sand until the water flowing off the bucket is clear.
You are going to lose quite a bit of micro fauna, but its better than losing everything if you cause a cycle in your tank.