Skip to main content
Last Reviewed: 2022-12-12

Upload Files


Files refer to everything stored inside sites/default/files. This usually consists of uploaded images, generated stylesheets, aggregated scripts, etc. Files are not under Git version control and are stored separately from the site's code.

You can use the Pantheon Dashboard, SFTP, or Rsync to upload your site's files.

Follow the steps below to export a tar.gz or .zip file of your directory files.

  1. Navigate to your Drupal site's root directory to run this command:

    Now you have created an archive file in your user's home directory.

  1. Select the Dev environment in the Site Dashboard.

  2. Select Database / Files.

  3. Click Import and then add your archive (based on file size) by following the steps below.