How to take Backup and Restore

Please help about how i can take backup on my ERPNEXT . and restore

Hi @zee.malik2008,

For public and private file for:

bench --site {site} backup --with-files

and Restore for:

bench restore [OPTIONS] SQL_FILE_PATH

or Restore a site with files

bench --site {site} restore {path/to/database/file} --with-public-files {path/to/public/archive} --with-private-files {path/to/private/archive}

More Details for check it:
bench backup: bench backup

bench restore: bench restore

Any suggestion for check it topic:

Thank You!

1 Like