Backup and Restore

This document explains the data backup mechanism of ERPNext and the procedures for manual backup and restoration.

5 min
Updated: March 5, 2026
Advanced
backupRestorationrestoreData Protection

The Importance of Backups

ERPNext stores important company information such as financial data, customer information, and inventory data. Regular backups are the most important measure to protect against data loss.


Automatic backup

ERPNext automatically takes backups every day.

How to check

  1. In the search barバックアップのダウンロード type
  2. A list of backup files will be displayed.

Items included in the backup

FileContents
Database BackupAll DocType (report) data
File BackupAttached Files / Uploaded Images
Private File BackupPrivate Uploaded Files

Manual Backup

Before making major configuration changes or updates, be sure to manually create a backup.

Method A: From the screen

  1. In the search barバックアップのダウンロード type
  2. Click "Get a new backup"
  3. A download link will be displayed, so save the file.

Method B: Command line (for server administrators)

Log in to the server via SSH and execute the following command:

bench --site your-site.local backup

Backup filessites/your-site.local/private/backups/ It will be saved to [location].


Cloud Backup

Settings to automatically save backups to cloud storage:

  1. In the search barS3バックアップ設定 type
  2. Enter connection information for Amazon S3 or compatible storage.
  3. Check "Enabled"

Supported services: Amazon S3, Google Cloud Storage, Dropbox


Restoring from Backup

Method: Command line (for server administrators)

bench --site your-site.local restore /path/to/backup.sql.gz

⚠️ Caution: Restoring will overwrite your current data. Be sure to create a backup of your current data before restoring.


Backup Best Practices

ItemRecommendation
FrequencyDaily (automatic) + Before important changes (manual)
Storage LocationAt least one location other than the production server
CloudSet up automatic forwarding to AWS S3, etc.
TestingRegularly perform recovery tests
Retention PeriodA minimum of 30 days' worth is retained

All sections completed

Great job! You've now studied all the role-specific manuals.

- Return to basic operations - Sales Manual - Purchasing Manual - Manufacturing manual - Accounting manual

Want to learn more?

If you have any questions about how to use the system, please get in touch. Our ERPNext implementation specialists will support you directly.