# How do I back up MT4 on a VPS?

> How to back up MT4 on a VPS: zip MQL4, profiles and templates from the data folder weekly and keep the copy off the server. 6 steps.

- URL: https://candlevps.com/guides/how-to-back-up-mt4-on-a-vps/
- Last updated: 2026-11-16
- Publisher: CandleVPS (https://candlevps.com)

**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?

1. **Open the data folder** — In MT4 on the server, choose File > Open Data Folder.
2. **Select the folders** — Select MQL4, profiles and templates; add config if you want login server entries.
3. **Make a zip** — Right-click the selection and send it to a compressed folder named with the date and account.
4. **Copy it off the server** — Paste the zip to your computer through Remote Desktop, or upload it to storage you control.
5. **Repeat per terminal** — Do the same in each MT4 or MT5 copy; each has its own data folder.
6. **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?

*Parts of an MT4 installation to back up from a VPS, and why*

| 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](https://candlevps.com/guides/how-to-transfer-files-to-a-windows-vps/ "How do I 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](https://candlevps.com/guides/how-to-move-mt4-to-a-new-vps/ "How do I move MT4 to a new VPS?"). If the server itself is down, read [what to do when it is late or down](https://candlevps.com/help/server-not-delivered-or-down/ "What if my CandleVPS server 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

1. [MetaTrader 4 Help: Expert Advisors](https://www.metatrader4.com/en/trading-platform/help/autotrading/experts) — MetaQuotes (read 2026-11-16)
2. [MetaTrader 5 Help: platform installation](https://www.metatrader5.com/en/terminal/help/start_advanced/installation) — MetaQuotes (read 2026-11-16)
3. [Peripheral and resource redirection over the Remote Desktop Protocol](https://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. [Order Wick for 12 months](https://candlevps.com/app/checkout/?plan=wick&term=12m&from=guide-how-to-back-up-mt4-on-a-vps&lang=en) · [Order Pillar for 12 months](https://candlevps.com/app/checkout/?plan=pillar&term=12m&from=guide-how-to-back-up-mt4-on-a-vps&lang=en)

---

CandleVPS: CandleVPS sells Windows Server VPS for MetaTrader 4, MetaTrader 5 and cTrader in London, New York, Frankfurt and Tokyo, paid in crypto with no ID document. Five plans from 4 to 16 GB of RAM include the Windows licence, cost the same in all four cities, and on the 12-month term each is priced at least 25% under a named comparable Windows plan of a no-KYC crypto host, read on 16 November 2026. The operator is DomaineGoat LLC, Panama.
