-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI or TUI to create/edit the config in text mode for headless operation #254
Comments
(by germar) A CLI would be a nice feature and there was already a branch in https://code.launchpad.net/~ryan-c-ahearn/backintime/command_line_interface I'm currently working on getting rid of two GUIs (Gnome/Gtk+ and KDE) to make further development easier with only one Qt4 GUI. But if someone would like to overhaul the CLI code we could merge this into 1.1 series. |
(by mauromol) |
When is comes to the question TUI vs. CLI, I think a CLI would have an additional use in scripting. There may be situation where you want to modify your BackInTime configs by script (e.g. to change the include/exclude lists on several profiles at once). So, ideally we would have both CLI commands and an ncurses-style TUI. But if there should be only one of those, it should be CLI. |
In short: A config file in human readable TOML format would vanish the need of having a CLI/TUI to edit the BIT config file. I setup backintime on a headless server for the first time. So I needed to edit the config file. The key point is that it is easy to read and edit for human begins. If we have an human readable config file format I would say we don't need a CLI/TUI for this anymore. |
Closing this in favor of |
Back In Time is a great piece of software :-)
I've managed to use it also on my embedded NAS, which carries a Debian distribution. I just installed the backintime-common package, because GUIs are not supported in there. Unfortunately, the only very uncomfortable thing is that I had to "prepare" a configuration file on my desktop PC using the KDE interface and then copy it on the NAS. In fact, some configuration options in the config file are not so easy to understand (for example: a unit of "20" may represent days or gigabytes, if I remember well...), so a direct editing of the config file, apart from small tunings, is not an easy task. Also, BIT version differences between environments might make it even more difficult, because you may not know exactly which options are available/supported.
So, I think a good enhancement would be to provide a text-based UI or a new CLI program that allows you to create/edit the configuration file, so that the current backintime executable can then run the defined profiles as usual.
As an alternative, a good documentation of the different configuration options and syntax (which considers BIT version differences) would be valuable.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: