ガイド · VPS
バックアップ · 復元
自動バックアップ(月 ₩1,500)をオン → バックアップタブから復元。
1. Enable automatic backups (₩1,500/month)
- Enable when ordering, or on the service page → Upgrade.
- Daily at 4:00 KST · whole disk · latest 3 copies.
- New backups appear within an hour (time needed to compress and store them).
- Stored on a different disk in the same host. Keep separate copies of important data for whole-host failures.
- Disabling backups also deletes stored copies.
2. Restore
- Service page → Backups → choose a date → Restore.
- The server shuts down and restarts for 2–3 minutes.
Changes since that backup are lost. Download current files to your PC first if needed.
3. Manual backup (to your PC)
Archive on the server:
tar czf /root/backup-$(date +%F).tar.gz /root/mydata /etc/caddy
Download on your PC:
scp root@PUBLIC_IP:/root/backup-*.tar.gz .
Or use WinSCP · FileZilla (SFTP · port 22 · root).
4. Databases
| DB | Export |
|---|---|
| MySQL · MariaDB | mysqldump --all-databases > db.sql |
| PostgreSQL | sudo -u postgres pg_dumpall > db.sql |
A database export is safer than copying live database files directly.
5. Daily schedule (cron)
crontab -e → append:
30 3 * * * tar czf /root/backup-$(date +\%a).tar.gz /root/mydata
Daily at 3:30 · rotates 7 copies named by weekday. These are on the same disk; also download copies to your PC.
6. Deletion
- Reinstall: erases the entire disk (irreversible).
- Cancellation: the disk is erased immediately.