This FAQ is relevant to server moves, upgrades, fresh installs ... any time you transfer files to/from the server:
https://www.zen-cart.com/tutorials/index.php?article=82