What exact path should be given to restore a backup download from website? I am getting invalid path for bench --site site1.local --force restore /sites/site1.local/public/files/20191016_045809-site1_local-database.sql.gz
try following:
- save (file).sql.gz on your server
- gunzip (file).sql.gz
- sudo mysql (data_base_name_here) < (file).sql
- cd /home/frappe/frappe-bench
- sudo bench migrate && sudo bench restart
Try leaving our the first slash from the pathname
sites/site1.local/public/files/20191016_045809-site1_local-database.sql.gz
not
/sites/site1.local/public/files/20191016_045809-site1_local-database.sql.gz