Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

"bench backup" doesn't now about the arguments "--only", "-i" or "--include" #165

Open
Mutantpenguin opened this issue Jul 7, 2021 · 2 comments

Comments

@Mutantpenguin
Copy link

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

  1. 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

@gavindsouza
Copy link
Contributor

Hey, these options were added in v13. They aren't available in Frappe v12.

@Mutantpenguin
Copy link
Author

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.

@gavindsouza gavindsouza transferred this issue from frappe/frappe Jul 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants