ERPNext backup data

What is included in ERPNext backup? will it be included files and the whole setting?

Use bench backup --with-files command for everything. Check Bench cheat sheet page for more information.