Migrate your FiveM server to HebergTonServ
Migrating a FiveM server may seem complex, but by following this step-by-step guide, youโll transfer your server safely while optimizing transfer time through data compression.
๐ฏ Why migrate to HebergTonServ?
- โ Optimal performance: Latest generation hardware
- โ Anti-DDoS protection: Maximum security included
- โ Responsive support: 24/7 technical team available
- โ Competitive pricing: Unbeatable value for money
- โ Intuitive panel: Simplified server management
๐ Prerequisites before migration
Before starting, make sure you have:
- โ Full access to your old server (FTP/SFTP)
- โ MySQL database backup (SQL export)
- โ HebergTonServ account created and server ordered
- โ FTP client installed (FileZilla, WinSCP, or Cyberduck)
- โ Compression software (7-Zip, WinRAR, or tar on Linux)
- โ Sufficient disk space on your PC for temporary files
โ ๏ธ IMPORTANT: Donโt delete ANYTHING on your old server until youโve verified everything works on HebergTonServ!
๐๏ธ Step 1: Inventory your files
1.1 Identify critical files
Connect to your old server and identify:
๐ Your FiveM server/
โโโ ๐ resources/ โ Scripts and resources (ESSENTIAL)
โ โโโ ๐ [esx]/
โ โโโ ๐ [qb-core]/
โ โโโ ๐ [custom]/
โ โโโ ๐ [mapping]/
โโโ ๐ server-data/ โ Configuration files
โ โโโ ๐ server.cfg โ Server configuration (CRITICAL)
โโโ ๐ cache/ โ TO DELETE (can be regenerated)
โ โโโ ๐ files/
โ โโโ ๐ http-cache/
โ โโโ ๐ priv/
โโโ ๐ server.cfg โ Sometimes at root
โโโ ๐ txData/ โ cfx.re data (KEEP)
โโโ ๐ logs/ โ Logs (optional, often large)1.2 Estimate total size
# On Linux (SSH)
du -sh /path/to/server/*
# Example result:
# 2.4G resources
# 850M cache โ TO DELETE before compression
# 120M server-data
# 45M txData
# 1.2G logs โ Optional๐งน Step 2: Cleanup and optimization (CRUCIAL)
2.1 Delete cache (huge time saver!)
The cache/ folder can reach several GB and significantly slow down transfer. It will be automatically recreated by FiveM on startup.
Via FTP (FileZilla/WinSCP)
- Navigate to your server root folder
- Right-click on
cache/folder โ Delete - Confirm deletion
Via SSH (Linux)
# Go to server root
cd /path/to/your/server
# Delete cache
rm -rf cache/
# Verify deletion
ls -la | grep cache
# (should return nothing)๐ก Time saving: Deleting an 800 MB cache can reduce transfer time by 15-30 minutes!
2.2 Clean old logs (optional)
If your logs are large and non-critical:
# On Linux
cd logs/
rm -f *.log.1 *.log.2 *.log.old
# Keep only recent logs
find . -name "*.log" -mtime +7 -delete2.3 Remove temporary files
# Common temporary files
rm -rf *.tmp
rm -rf *.temp
rm -rf .DS_Store
rm -rf Thumbs.db๐ฆ Step 3: Data compression
Compression significantly reduces transfer time (50-70% size reduction).
3.1 Compression on Windows
With 7-Zip (recommended - free)
- Download 7-Zip: https://www.7-zip.org/
- Transfer all files to your PC via FTP
- Right-click on server folder โ 7-Zip โ Add to archive
- Recommended configuration:
Archive format: .7z Compression level: Ultra Compression method: LZMA2 Dictionary size: 64 MB Word size: 64 - Name the archive:
fivem-server-backup.7z - Click OK (may take 5-15 minutes depending on size)
Expected result:
Original size: 2.5 GB
Compressed size: 850 MB (66% reduction)With WinRAR
- Right-click โ Add to archive
- Format: RAR
- Compression method: Best
- Create solid archive: Checked
3.2 Compression on Linux/macOS (SSH)
With tar + gzip (fast)
# Go to parent directory
cd /path/to/parent/
# Compress with gzip (fast, medium compression)
tar -czf fivem-server-backup.tar.gz server-folder-name/
# Check size
ls -lh fivem-server-backup.tar.gzWith tar + xz (maximum compression)
# Maximum compression (slower but better ratio)
tar -cJf fivem-server-backup.tar.xz server-folder-name/
# Show progress
tar -cJvf fivem-server-backup.tar.xz server-folder-name/With zip (Windows compatible)
zip -r -9 fivem-server-backup.zip server-folder-name/โฑ๏ธ Time comparison:
- Without compression: 2.5 GB = ~40 min transfer (100 Mbps)
- With compression: 850 MB = ~13 min transfer (same speed)
- Saved: 27 minutes!
๐ Step 4: Transfer to HebergTonServ
4.1 Connect to HebergTonServ panel
- Go to: https://manage.hebergtonserv.com
- Login with your credentials
- Select your FiveM server from the list

4.2 Stop the server
IMPORTANT: Stop the server before transferring files!
- In panel โ Console tab
- Click Stop (red button)
- Wait for message:
Server stopped
4.3 SFTP Access
Get SFTP credentials
- In the panel, go to the Settings tab
- Click on SFTP Details (or โDรฉtails SFTPโ)
- A window will open with your connection credentials:
Host: sftp.hebergtonserv.com Port: 2022 Username: hts_XXXXX (your unique identifier) Password: [your panel password]
๐ก Important: SFTP credentials are only available through the โSFTP Detailsโ button in the Settings tab of the panel. Donโt try to guess the host or port, use the exact information provided.
Connection with FileZilla
- Open FileZilla
- Site Manager (Ctrl+S)
- New Site:
Protocol: SFTP Host: sftp.hebergtonserv.com Port: 2022 Logon Type: Normal User: hts_XXXXX Password: [your password] - Click Connect
4.4 Transfer compressed archive
Method 1: Upload archive (RECOMMENDED)
- In FileZilla, navigate to your server root
- Drag and drop your
.7zor.tar.gzarchive - Wait for transfer completion (progress bar at bottom)
๐ Transfer time example:
850 MB with 100 Mbps connection = ~13 minutes
850 MB with 50 Mbps connection = ~25 minutesMethod 2: Direct transfer (without local compression)
If you compress directly on old server:
- Download archive from old server โ your PC
- Upload archive to HebergTonServ
๐ Step 5: Extraction on HebergTonServ
5.1 Access file manager
Panel โ Files tab
5.2 Extraction via panel
- Right-click on archive โ Extract
- Choose destination folder:
/ - Wait for extraction completion
5.3 Extraction via SSH (alternative)
If you have SSH access:
# For .tar.gz
tar -xzf fivem-server-backup.tar.gz
# For .tar.xz
tar -xJf fivem-server-backup.tar.xz
# For .zip
unzip fivem-server-backup.zip
# For .7z (install p7zip first)
7z x fivem-server-backup.7z5.4 Verify extraction
# List files
ls -la
# Check resources
ls -la resources/
# Check server.cfg
cat server.cfgโ Step 6: Post-migration verification
Complete checklist
- Server starts without errors
- Database works (player connection test)
- Resources load (all in logs)
- Jobs work (ESX/QBCore test)
- Vehicles spawn (garage test)
- Inventories are correct
- Blips/markers display
- Chat works
- Admin commands respond
- No abnormal lag
Recommended tests
# Test 1: Simple connection
1. Connect to server
2. Verify character loads
# Test 2: Interactions
1. Open menu (F6, F5, etc.)
2. Use ATM
3. Open inventory
# Test 3: Performance
1. F8 โ resmon
2. Check RAM and CPU๐จ Common issues troubleshooting
Issue 1: Missing resources
Symptom: Failed to load resource [name]
Solution:
# Verify folder exists
ls -la resources/[name]/
# Check permissions
chmod -R 755 resources/[name]/
# Check fxmanifest.lua
cat resources/[name]/fxmanifest.luaIssue 2: MySQL error
Symptom: Failed to connect to MySQL
Solutions:
- Verify
mysql_connection_string - Test connection in phpMyAdmin
- Verify database contains tables:
SHOW TABLES;
Issue 3: Invalid license
Symptom: Invalid license key
Solution:
- Check on https://keymaster.fivem.net/
- Copy exact key (no spaces)
- Update in
server.cfg - Restart server
Issue 4: Invisible server
Symptom: Server not found in list
Solutions:
- Verify port is open
- Check
sv_master1in server.cfg:sv_master1 "" - Wait 5-10 minutes (synchronization delay)
Issue 5: Corrupted cache (after migration)
Symptom: Missing textures, random crashes
Client-side solution:
%localappdata%\FiveM\FiveM Application Data\cache
โ Delete cache folderServer-side solution:
# Stop server
# Delete new cache
rm -rf cache/
# Restart๐ Useful resources
- HebergTonServ Panel: https://manage.hebergtonserv.com
- FiveM Documentation: https://docs.fivem.net/
- Support Discord: https://discord.gg/26xerySCfX
- SQL Tutorial: MySQL FiveM Connection
- Community Forum: https://forum.cfx.re/
โจ Conclusion
Congratulations! Your FiveM server is now hosted on HebergTonServ with:
- โ Successful migration without data loss
- โ Optimized performance thanks to our infrastructure
- โ Enhanced security with included Anti-DDoS
- โ Available support 24/7 via Discord
Recommended next steps
- Join our Discord for community advice
- Test panel features (web console, SFTP, databases)
๐ Need help?
If you encounter difficulties during migration:
- Check logs in console (Panel โ Console)
- Contact support:
- Discord: https://discord.gg/26xerySCfX
Our technical team is here to assist you free of charge with your migration! ๐
Total estimated migration time: 45-90 minutes (depending on server size) Difficulty: Intermediate Bandwidth savings: 50-70% thanks to compression


