Now I just want to restore the entries that I have deleted , which file should I restore and with which command ( I am on v7 ) ?
Also please guide me in detail what the first file is and what the second file does ?
I understood one thing the sql file to be restored when I install the erp on another machine , and files.tar to restore the deleted entries, am I correct ?
Untar and unzip both tarball and database backup files. Take a note on their path.
Login as frappe user then go to the frappe-bench folder
Run the following bench commands to restore db: $ bench --site {domain-name} --force restore {path to SQL file backup}
or this command to restore db and restore private & public files backups: $ bench --site {domain-name} --force restore {path-to-SQL-file-backup} --with-public-files {path-to-public-files-backtup} --with-private-files {path-to-private-files-backtup}
Run these commands to run the latest restore:
$ bench --site {domain-name} remove-from-installed-apps frappe_subscription
$ bench --site {domain-name} migrate
If needed, enable scheduler for this site: $ bench --site {domain-name} enable-scheduler