Difference between backups?

What is the difference between backup done by

  1. “Setup > System > Download Backup”
  2. …:~/frappe-bench$ bench backup
  3. …:~/frappe-bench$ bench backup --with-files

I believe I require 2 things to restore same setup(+app) and data to Site"2":

  1. Database backup
  2. Files backup

Please some lights on above. Thanks.

@akashpvtltd,

It only take backup the database backup from mysql

It will take the database backup as well as the file attachments backup

Thanks,
Makarand

So in short

  1. “Setup > System > Download Backup”
  2. …:~/frappe-bench$ bench backup

are same…
3. …:~/frappe-bench$ bench backup --with-files
is taking backups with files… Thanks