I want to move my drupal site to different vhost, but only necessary files (content, modules, configuration). Drupal on my old vhost is 6.16, the new one is 6.17 (just installed, no configuration done) so I do not want to overwrite new drupal installation with my old one.
I suppose permissions should not be big problem. These are actually two virtual hosts on the same apache server, so pure "mv" should do the job just fine. Is there anything more I should be aware of?
As you're essentially upgrading from 6.16 to 6.17 I would follow the update instructions on which files to save and move those over to the new vhost then run update.php once everything is moved over and you should be good.