location.rst 1016 B

1234567891011121314151617181920212223242526272829
  1. .. _datadir_location:
  2. Data directory default location
  3. ===============================
  4. If GeoServer is running in **standalone** mode (via an installer or a binary) the data directory is located at ``<installation root>/data_dir``.
  5. .. list-table::
  6. :header-rows: 1
  7. * - Standalone platform
  8. - Default/typical location
  9. * - Windows (except XP)
  10. - |data_directory_win|
  11. * - Windows XP
  12. - |data_directory_winXP|
  13. * - Mac OS X
  14. - |data_directory_mac|
  15. * - Linux (Tomcat)
  16. - |data_directory_linux|
  17. If GeoServer is running as a **web archive** inside of a custom-deployed application server, the data directory is by default located at ``<web application root>/data``.
  18. Creating a new data directory
  19. -----------------------------
  20. The easiest way to create a new data directory is to copy an existing one.
  21. Once the data directory has been located, copy it to a new location. To point a GeoServer instance at the new data directory proceed to the next section :ref:`datadir_setting`.