Backup Restore Problem

I want to migrate 4.2 to latest version of frappe and erpnext and i instal latest vm and get backup of old version and try to restore in latest version. but everytime get this error.
my command is: bench frappe --restore ERP /home/ERP/ERP.sql -f
Output
MySQL root password:
Created user ERP
Created database ERP
Granted privileges to user ERP and database ERP
Starting database import…
sh: 1: cannot open /home/ERP/ERP.sql: No such file

File “/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 36, in defaulterrorhandler
raise errorclass, errorvalue
_mysql_exceptions.ProgrammingError: (1146, “Table ‘erpnext.tabSessions’ doesn’t exist”)

Uh! I get this.

The file path was tricky
should be /home/username/filename

did it wrong 2 times as well x>

yeah, you have to use absolute path or path relative to sites dir