[docs] moved into folders
This commit is contained in:
26
docs/dev/docs.dev.install.restore_from_backup.md
Normal file
26
docs/dev/docs.dev.install.restore_from_backup.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
{
|
||||
"_label": "Restoring From ERPNext Backup"
|
||||
}
|
||||
---
|
||||
|
||||
* Download backup files
|
||||
|
||||
cd /tmp
|
||||
wget [DATABASE BACKUP FILE URL]
|
||||
wget [FILES BACKUP FILE URL]
|
||||
|
||||
* Suppose your backup files are downloaded at /tmp
|
||||
|
||||
gunzip [DATABASE BACKUP FILE.sql.gz]
|
||||
tar xvf [FILES BACKUP.tar]
|
||||
|
||||
* Go to your ERPNext installation folder
|
||||
* When restoring from database, the 'Administrator' user password gets reset to 'admin'. To set a better password when restoring, set admin_password variable in conf.py to the desired 'Administrator' user password.
|
||||
* Restore database using:
|
||||
|
||||
lib/wnf.py --install [DATABASE NAME] /tmp/[DATABASE BACKUP FILE.sql]
|
||||
|
||||
* Copy extracted files
|
||||
|
||||
cp /tmp/[FILES BACKUP EXTRACTED FOLDER/---/public/files/*] [YOUR ERPNEXT INSTALLATION]/public/files/
|
||||
Reference in New Issue
Block a user