ื“ืœื’ ืœืชื•ื›ืŸ ื”ืจืืฉื™

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โ€‹

PlatformMethod
HubstaffBuilt-in integration sync
UpworkBuilt-in integration sync
TogglCSV export โ†’ Gauzy import
HarvestCSV export โ†’ Gauzy import
CustomUse 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โ€‹

  1. Export data from source system
  2. Transform data to match Gauzy format
  3. Import via API or direct database insert
  4. Verify data integrity
  5. Test functionality with migrated data