Continuing the discussion from Try Bench Restore?:
can’t confirm this is what actually happens. Getting an
Exception: Database [database_name] already exits. instead. So there is at least one step missing in between.
bench backup(this creates a new file in
- delete a Sales Invoice in my ERPNext instance
- `bench restore \path\to\backupfile.sql.gz
- do you need to create new empty db first?
- How would u practically do that?
this older Topic implies you could use a
-f option but that does not seem to exist (anymore). So do you have to do that on a new site? If so, do you have to install erpnext to that site manually before restoring the database from the original site?