Website Backup on Thai Hosting 2026 — Complete Guide
Losing your website data without a backup is one of the worst scenarios any website owner can face. Whether it's a hosting failure, a hack, a botched WordPress update, or an accidental file deletion — a solid backup strategy means recovering in minutes rather than losing everything permanently. This guide covers everything you need to know about backing up your Thai hosting website.
Table of Contents
Why Backups Are Critical
There are many scenarios that can cause website data loss or damage:
- Hosting hardware failure: Hard drives fail, servers crash, data centers suffer power outages, fires, or floods.
- Cyberattacks: Ransomware encrypts your files, hackers deface or delete content, malware corrupts databases.
- Human error: Accidentally deleting the wrong files, overwriting a database, making a code change that breaks everything.
- Plugin or theme conflicts: WordPress updates that break your site, plugin conflicts that corrupt data.
- Migration problems: Data loss or corruption during hosting provider migrations.
Sites without proper backups take an average of 4-7 days to recover from data loss — if they can recover at all. With a good backup strategy, recovery takes minutes.
What Needs to Be Backed Up
A complete website backup consists of two essential components:
1. Files (Website Files)
- All HTML, CSS, and JavaScript files
- Images and media files
- WordPress plugins and themes
- Configuration files (.htaccess, wp-config.php)
- Custom scripts and third-party libraries
2. Database
- All MySQL/MariaDB data
- Posts, pages, and custom post types (WordPress)
- Customer and product data (e-commerce)
- Comments, user accounts, settings
- Custom database tables from plugins
Critical reminder: Backing up files without the database is incomplete. And vice versa. You need both components to fully restore your website to working condition.
Types of Backups
Full Backup
Backs up 100% of all data every time. Uses the most storage and takes the longest, but is the simplest to restore since everything needed is in a single backup set. Best for most shared hosting situations.
Incremental Backup
Backs up only files changed since the last backup (whether full or incremental). Much faster and uses less storage, but restoration is more complex — you need the original full backup plus every incremental backup in sequence.
Differential Backup
Backs up all files changed since the last full backup. Larger than incremental backups, but simpler to restore — you only need the last full backup plus the most recent differential backup.
Snapshots
Point-in-time images of the entire system state. Common in VPS and cloud hosting. Created very quickly but require storage equivalent to the full VM. Ideal for rapid rollback scenarios.
Backup via DirectAdmin
DirectAdmin includes a built-in backup system that can simultaneously backup both files and databases — no additional tools needed.
Manual Backup via DirectAdmin
- Log in to DirectAdmin → Navigate to Advanced Features.
- Click Create/Restore Backups.
- Select what to back up: Domains, Databases, Emails, FTP Accounts, etc.
- Click Create Backup.
- Wait for the backup to complete (5-30 minutes depending on site size).
- Download the backup file to your local computer or upload to cloud storage.
Automated Backup via Cron Job
Set up a cron job in DirectAdmin → Cron Jobs to run automatic backups:
0 2 * * * /usr/local/directadmin/scripts/backup.sh
This runs a backup every night at 2:00 AM — during server off-peak hours for minimal performance impact.
WordPress Backup Plugins
WordPress users have excellent backup plugin options:
UpdraftPlus (Recommended)
The most popular WordPress backup plugin. Free for essential features. Supports backup to Google Drive, Dropbox, Amazon S3, FTP, and more. Set automatic backup schedules with just a few clicks.
- Install via WordPress → Plugins → Add New → search "UpdraftPlus"
- Go to Settings → UpdraftPlus Backups
- Choose your Remote Storage (Google Drive, Dropbox, etc.)
- Set Schedule: Files backup weekly, Database backup daily
- Click "Backup Now" to test immediately
All-in-One WP Migration
Better suited for site migration than routine backups, but exports a single file containing both files and database. Very useful for moving WordPress sites between hosting providers.
WP Time Capsule
Incremental backup plugin that only saves changed files — extremely storage-efficient. Supports Dropbox and Google Drive. Ideal for large sites with lots of media that rarely changes.
Database (MySQL) Backup
The database contains your most important and most frequently changing data. Back it up separately and more often than file backups.
Backup via phpMyAdmin
- In DirectAdmin → Extra Features → MySQL Management → phpMyAdmin.
- Select your database from the left sidebar.
- Click Export from the top menu.
- Format: SQL (recommended) or gzip to compress the file.
- Click Go → Download the .sql file.
Backup via Command Line (mysqldump)
mysqldump -u username -p database_name > backup_$(date +%Y%m%d).sql
Creates a timestamped SQL file (e.g., backup_20260621.sql). Perfect for scheduling as a cron job for automated daily database backups.
Offsite Backup Storage
Offsite backup means storing copies in a location separate from your main hosting server. The golden 3-2-1 backup rule:
- 3 copies: Maintain at least 3 copies of your data.
- 2 media types: Store on at least 2 different media types (e.g., hosting + cloud).
- 1 offsite: At least 1 copy must be in a different physical location.
Offsite Backup Options
- Google Drive / Dropbox: UpdraftPlus connects directly. Free 15GB (Google) or 2GB (Dropbox).
- Amazon S3: Low cost, scales to any size. Good for large enterprise sites.
- Backblaze B2: Cheapest cloud storage at $0.006/GB/month — excellent value.
- External Hard Drive: Download backups to a local external drive at your office or home.
How to Restore from Backup
Restore Files via DirectAdmin
- DirectAdmin → Advanced Features → Create/Restore Backups.
- Select Restore a Backup.
- Upload your backup file or select from existing backups.
- Choose what to restore and click Restore.
Restore Database via phpMyAdmin
- phpMyAdmin → select your database.
- Click Import from the top menu.
- Upload your .sql backup file.
- Click Go and wait for the import to complete.
Automated Backup Scheduling
Recommended backup schedule best practices:
- Database: Daily (databases change most frequently)
- Website files: Weekly, or every time you deploy new code
- Retention: Keep 30 days of backup history minimum
- Offsite sync: Synchronize with offsite storage every time a backup runs
Pro tip: Test your restore process at least monthly. A backup you can't restore is worthless. Set a calendar reminder to actually test restoration every 4 weeks.
Frequently Asked Questions
How often should I backup my website?
Sites updated daily should back up daily. Less active sites can back up weekly, but the absolute minimum is every 7 days. Always retain at least 30 days of backup history, since some issues (like slow database corruption) aren't immediately obvious.
What's the difference between DirectAdmin backup and hosting backup?
DirectAdmin backup is a backup you create yourself with full control over what's included and where it's stored. Hosting backup is what the provider creates automatically. You should maintain both — never rely solely on your hosting provider's backup system.
How long does backing up a 5GB website take?
Depends on server speed and disk I/O, but typically 10-30 minutes for 5GB of data. Database-only backups are much faster. Always schedule backups during server off-peak hours (e.g., 2-4 AM local time) for minimal impact on site performance.
My hosting provider already backs up my site — do I still need my own backup?
Yes, always maintain your own backups. Provider backups may not be frequent enough, may not cover the full database, or may be stored on the same server infrastructure. If the entire server fails, both your site and the provider's backup could be lost simultaneously.
Can I store my backup on the same hosting server?
You can, but it shouldn't be your only backup. If the server fails, a backup stored on the same server fails too. Always maintain at least one offsite copy in cloud storage or on a local external drive.