Quick answer
How do I back up MT4 on a VPS?
Here is how to back up MT4 on a VPS: open File > Open Data Folder, zip the MQL4, profiles and templates folders, and copy the zip off the server, weekly and after every EA change. CandleVPS includes no backups on any of its 5 plans, and a reinstall wipes the disk, so the copy must live elsewhere.
In brief
- What to save: MQL4, profiles, templates, plus EA licence keys.
- Where: your computer or storage you control, never only on the server.
- When: weekly, and after any EA or setting change.
- Test a restore once on a demo terminal.
How do I back up MT4 on a VPS, step by step?
Open the data folder
In MT4 on the server, choose File > Open Data Folder.
Select the folders
Select MQL4, profiles and templates; add config if you want login server entries.
Make a zip
Right-click the selection and send it to a compressed folder named with the date and account.
Copy it off the server
Paste the zip to your computer through Remote Desktop, or upload it to storage you control.
Repeat per terminal
Do the same in each MT4 or MT5 copy; each has its own data folder.
Test a restore
Once, paste a backup into a fresh demo terminal and check the EAs and profiles load.
What should an MT4 backup contain?
| Item | Why |
|---|---|
| MQL4\Experts and Indicators | Your EAs and custom indicators |
| MQL4\Presets | EA input sets (.set files) |
| MQL4\Files | Data your EAs write or read |
| profiles | Which EA runs on which chart |
| templates | Chart layouts |
| EA licence keys and seller details | Needed to reactivate on a new machine |
Why does a trading VPS need backups?
Nothing on the server survives a reinstall. No plan includes backups: keep copies of terminal settings, EAs and logs off the server. Reboot, reinstall and delete are sent from the dashboard and carried out by a person; a reinstall wipes the disk and comes with a new Administrator password. A lost password also ends with a reinstall. According to CandleVPS's check of 16 November 2026, none of the 5 plans, from Wick to Chandelier, carries a backup option, so the copy you make is the only one.
Which is the best place to keep MT4 backups?
Two places off the server: your computer and one storage service. The clipboard route through Remote Desktop works for small zips; larger ones go faster through cloud storage opened in the server's browser. Both are described in how to transfer files to a Windows VPS. Do not store broker passwords inside the zip.
How do I restore MT4 from a backup?
Reinstall MT4 from the broker, then paste the folders back. Open the new data folder and replace MQL4, profiles and templates with the backed-up ones, then restart MT4. The full procedure is the same as moving MT4 to a new VPS. If the server itself is down, read what to do when it is late or down.
Can backups run on a schedule?
Yes, with Windows tools already on the server. A scheduled task in Task Scheduler can run a short script that zips the data folder each week. The zip still has to leave the server, so pair it with a copy to storage you control. A manual weekly zip is fine for one terminal; a schedule helps with several.
Does trade history need a backup?
No, the broker keeps it. Closed trades and the account statement are stored on the broker's server and reappear after login. Export statements from the terminal if you want a personal record. Trading foreign exchange and CFDs on margin carries a high risk of losing money. A VPS keeps a terminal online; it does not make a strategy profitable, and CandleVPS gives no investment advice.
Verdict
- That is how to back up MT4 on a VPS: a small zip, made often, stored elsewhere.
- Zip MQL4, profiles and templates weekly and after each change; keep the zip off the server.
- Test one restore so the backup is known to work.
Backing up MT4: common questions
Does CandleVPS back up my server?
No. No plan includes backups: keep copies of terminal settings, EAs and logs off the server.
How often should I back up MT4 on a VPS?
Weekly, and after every EA or setting change.
Can I schedule MT4 backups?
Yes, a Windows scheduled task can copy the data folder; keep the target off the server.
Do I need to stop MT4 to back it up?
Not for MQL4 and templates; close MT4 first to capture the latest profile.
Does the same method back up MT5?
Yes, with the MQL5 folder in place of MQL4.
Sources (3)
- MetaTrader 4 Help: Expert Advisors metatrader4.com/en/trading-platform/help/autotrading/experts — MetaQuotes (read 2026-11-16)
- MetaTrader 5 Help: platform installation metatrader5.com/en/terminal/help/start_advanced/installation — MetaQuotes (read 2026-11-16)
- Peripheral and resource redirection over the Remote Desktop Protocol learn.microsoft.com/en-us/azure/virtual-desktop/redirection-remote-desktop-protocol — Microsoft Learn (read 2026-11-16)
A server for your terminals
Five plans, Windows licence included. Wick from $6.75 a month on 12 months.
- Built by a person, 1 hour at most after confirmation
- Lost days credited back if a server cannot be delivered
- Pay in BTC, XMR, USDT, USDC, ETH, SOL or LTC
- DomaineGoat LLC · Panama