This error is coming at the time of backup

ifs@ifs-Inspiron-3470:~/erpnext$ bench --site site.local backup --with-files
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/bench/bench-repo/bench/”, line 26, in cli
return frappe_cmd()
File “/opt/bench/bench-repo/bench/”, line 89, in frappe_cmd
os.chdir(os.path.join(bench_path, ‘sites’))
OSError: [Errno 2] No such file or directory: ‘./sites’

Run the command from /home/frappe/frappe-bench directory.

1 Like

@Pawan thanks for the reply