Data Migration Guide
Migrate data between Gauzy instances or from other platforms.
Exporting Dataβ
API Exportβ
curl -H "Authorization: Bearer $TOKEN" \
https://api.example.com/api/export?entities=Employee,Task,TimeLog \
-o gauzy-export.json
Database Exportβ
pg_dump -h $DB_HOST -U $DB_USER gauzy > gauzy_full_backup.sql
Importing Dataβ
From JSONβ
curl -X POST -H "Authorization: Bearer $TOKEN" \
-F "file=@gauzy-export.json" \
https://api.example.com/api/import
From Other Platformsβ
| Platform | Method |
|---|---|
| Hubstaff | Built-in integration sync |
| Upwork | Built-in integration sync |
| Toggl | CSV export β Gauzy import |
| Harvest | CSV export β Gauzy import |
| Custom | Use the REST API |
CSV Import Formatβ
Employeesβ
firstName,lastName,email,startedWorkOn
John,Doe,john@example.com,2024-01-15
Jane,Smith,jane@example.com,2024-02-01
Time Logsβ
employeeEmail,startedAt,stoppedAt,projectName,taskTitle
john@example.com,2024-01-15T09:00:00Z,2024-01-15T17:00:00Z,Project A,Task 1
Migration Stepsβ
- Export data from source system
- Transform data to match Gauzy format
- Import via API or direct database insert
- Verify data integrity
- Test functionality with migrated data
Related Pagesβ
- Import/Export β import/export guide
- Database Backup β backup strategy