Import & Export Surveys
Community Surveys allows you to export complete surveys for backup, migration, or duplication across Joomla installations. This guide covers everything you need to know about importing and exporting surveys.
Overview
The import/export feature allows you to:
- Backup surveys — Create portable copies of your surveys
- Migrate surveys — Move surveys between Joomla installations
- Duplicate surveys — Copy surveys with all questions and settings
- Share templates — Distribute survey templates to other users
The export includes the complete survey structure: all questions, answer options, conditional rules, page breaks, and survey settings. Responses are not included in the export.
Exporting Surveys
Export a Single Survey
-
Navigate to Components → Community Surveys → Surveys
-
Find your survey and click Edit (or click the title)
-
Click Reports in the toolbar
-
Select Export Survey from the options
-
The survey downloads as a JSON file
What's Included in the Export
| Element | Included | Notes |
|---|---|---|
| Survey settings | ✅ | Title, description, access, dates |
| All questions | ✅ | Text, settings, order |
| Answer options | ✅ | All choices for each question |
| Conditional rules | ✅ | Skip logic, show/hide conditions |
| Page structure | ✅ | Page breaks and grouping |
| Custom CSS | ✅ | Survey-specific styling |
| Notifications | ✅ | Email notification settings |
| Category assignment | ❌ | Assigned on import |
| Responses | ❌ | Use response export for data |
| Media files | ❌ | Uploaded images not included |
| Integration settings | ❌ | Re-configure after import |
Export File Format
The export creates a JSON file structured like:
{
"survey": {
"title": "Customer Satisfaction Survey",
"description": "Annual customer feedback survey",
"settings": { ... },
"questions": [
{
"text": "How satisfied are you?",
"type": 21,
"options": { ... }
}
],
"conditionalRules": [ ... ]
},
"exportVersion": "7.0",
"exportDate": "2025-01-15T10:30:00Z"
}
Importing Surveys
Import a Survey
-
Navigate to Components → Community Surveys → Surveys
-
Click Import in the toolbar
-
Click Choose File and select your exported JSON file
-
Configure import options:
Option Description Category Select destination category Published Set initial publish state Rename Optional: give survey a new title -
Click Import to complete
-
The survey appears in your surveys list, ready to edit
Post-Import Checklist
After importing a survey, verify:
- Category — Assigned to correct category
- Access level — Matches your site's user groups
- Conditional rules — Test skip logic works correctly
- Question order — Pages and questions in correct order
- Integrations — Re-configure Google Sheets/Webhooks
- Email settings — Update notification recipients
- Media files — Re-upload any images if needed
Common Use Cases
Migrating to a New Server
Scenario: Moving your Joomla site to a new host
- Export all surveys from the current installation
- Install Community Surveys on the new server
- Import surveys one by one or use bulk import
- Re-configure integrations and email settings
- Test each survey before going live
Survey exports do not include responses. To migrate response data:
- Export responses as CSV/Excel from the old site
- Keep a database backup for historical reference
Creating Survey Templates
Scenario: Building reusable survey templates
- Create a "master" survey with common questions
- Export the survey
- Import it each time you need a new survey
- Rename and customize for specific needs
Suggested templates:
- Customer satisfaction baseline
- Event feedback template
- Employee engagement core questions
- Product feedback structure
Duplicating Surveys
Scenario: Creating a variation of an existing survey
- Export the original survey
- Import it immediately (same site)
- Rename the new copy (e.g., "Survey Q2 2025")
- Modify questions as needed
You can also duplicate surveys directly from the survey list using the Duplicate option in the Actions menu.
Sharing Between Team Members
Scenario: Sharing survey designs with colleagues
- Export the survey to JSON
- Share the file via email, cloud storage, etc.
- Colleague imports on their Joomla installation
- Each site has its own independent copy
Troubleshooting
Import Fails
| Issue | Cause | Solution |
|---|---|---|
| Invalid file format | Not a valid JSON file | Ensure file is unchanged from export |
| Version mismatch | Exported from newer version | Upgrade Community Surveys first |
| Missing fields | Corrupted export file | Re-export from original site |
| Upload error | PHP upload limits | Increase upload_max_filesize |
Questions Missing After Import
- Check the JSON file contains all questions
- Verify no special characters causing parse errors
- Try importing to a fresh Community Surveys installation
Conditional Rules Not Working
After import, conditional rules may need adjustment if:
- Question IDs differ between installations
- Referenced questions were not imported
- Rule references missing answer options
Solution: Review and re-save conditional rules in the question editor.
Styling Not Applied
Custom CSS styles are included in the export, but:
- CSS may reference external resources not available
- Template conflicts may override styles
- Custom CSS needs review after import
Bulk Operations
Export Multiple Surveys
Currently, surveys export individually. For multiple surveys:
- Export each survey separately
- Create a ZIP archive of all JSON files
- Name files descriptively (e.g.,
customer-feedback-2025.json)
Bulk Import
For bulk imports:
- Import surveys one at a time
- Verify each import before proceeding
- Keep a log of imported surveys
Bulk import/export is on our feature roadmap. Please submit feedback for priority requests.
Version Compatibility
| Export From | Import To | Compatible |
|---|---|---|
| 7.x | 7.x | ✅ Yes |
| 7.x | 6.x | ✅ Yes |
| 6.x | 7.x | ✅ Yes |
| 5.x | 7.x | ✅ Yes |
*6.x surveys can import to 7.x but may require manual adjustment of new features.
Upgrading Exported Surveys
If you have surveys from older versions:
- Install the old version on a test site
- Import your surveys there
- Upgrade to the latest version
- Re-export from the upgraded installation
Best Practices
Backup Strategy
- Regular exports — Export important surveys monthly
- Before major changes — Export before editing complex surveys
- Version naming — Include dates in filenames (e.g.,
survey-2025-01-15.json) - Multiple locations — Store exports in different locations
Export Naming Convention
{survey-name}-{version}-{date}.json
Examples:
customer-satisfaction-v2-2025-01-15.json
employee-survey-annual-2024.json
event-feedback-template-v1.json
Documentation
Keep notes with your exports:
- Purpose of the survey
- Target audience
- Key conditional logic
- Required integrations
- Custom configuration needed