ERPNext Foundation ERPNext Cloud Chat Blog Discuss Frappé* Donate

How to restore Backup


#1

We want restore our backup in the system, so how we added in the system our backup.


Remove GCalendar module
#2

bench —site [sitename] restore

Additional parameters:
—with-private-files (path to tar file)
—with-public-files (path to public files)

bench migrate

https://frappe.io/docs/user/en/bench/resources/bench-commands-cheatsheet.html


#3

If the command that @schilgod gave you doesn’t work, then I have always used this command from the ~/frappe-bench directory:

sudo bench --force --site [site_name] restore /path_to_sql_file

This has never failed me. It has always worked since as far back as at least version 7 of ERPNext. I use it several time a week to move copies of the backup to other testing servers.

Hope this helps.

BKM


#4

Hello,

Have understood the commands, but don’t know where I should be entering these commands. Which is the command line prompt for frappe for ERPNext Cloud… and how do I access it.

Excuse my ignorance, but I’m new to this whole thing.


#5

This should help:

Precisely:


#6

Never mind… post deleted.

You will have to contact the guys running the cloud to see if you can get command line access. Many of us here run our own servers and have that access from the beginning.

BKM