frappe_docs
frappe_docs copied to clipboard
"bench backup" doesn't now about the arguments "--only", "-i" or "--include"
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
erpnext 12.21.0
frappe 12.18.1
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
Usage: bench backup [OPTIONS]
Try "bench backup --help" for help.
Error: no such option: --only
Additional information
OS version / distribution: Ubuntu 18.04
Frappe
install method: Easy Installer
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.