Open Mutantpenguin opened 3 years ago
Hey, these options were added in v13. They aren't available in Frappe v12.
Thank you very much, I did't know this.
But then I would still classify this as a bug. Not for the code, but for the documentation. It doesn't state anywhere obvious that this documentation is for v13.
Description of the issue
The documentation says that "bench backup" knows about the arguments "--only", "-i" or "--include". https://frappeframework.com/docs/user/en/bench/reference/backup
These are no commands/arguments from bench itself, but I think should be defined by frappe.
All 3 arguments are not recognised.
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
bench backup --only 'Address'
Observed result
Output:
Error: no such option: --only
Expected result
Working backup with only the stated DocTypes.
Stacktrace / full error message
Additional information
OS version / distribution: Ubuntu 18.04
Frappe
install method: Easy Installer