title: Woocommerce: downloadable files disappear after database restore
body: <p>After restoring my WordPress WooCommerce database, all the <strong>Downloadable Files</strong> for my virtual products have disappeared.</p>
  
  <p>I have queried the <code>wp_postmeta</code> table and see that the <code>_downloadable_files</code> entries are still there and I have verified that the URL's in the table are still valid. </p>
  
  <p>However, the files no longer appear as links in order emails, no longer appear  in the <strong>My Account</strong> page, and no longer appear in the <strong>Downloadable Files</strong> section in the <strong>Product Data</strong> in the <strong>Edit Product</strong>.</p>
  
  <p>The only fix that I know works is to manually re-enter all the files.</p>
  
  <p>I'm using Apache2 and MySQL. The files are stored on the same Apache server that is serving WordPress.</p>
  
  <p>I am trying to copy a development database from a different development server to a new environment
  and am trying to find an efficient way to do this without having to manually re-enter all the downloadable files.</p>