Skip to content
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

Feature Request: Automatically create router.db on first run if not present #3290

Open
twille007 opened this issue Oct 14, 2024 · 0 comments

Comments

@twille007
Copy link

Description

Currently, after installing and running Oxidized for the first time, users are required to manually create the router.db file before the service can function properly. While this makes sense when the goal is to backup configurations from systems, I believe it would improve the user experience if Oxidized automatically created an empty router.db file upon first execution if one does not already exist.

This would allow Oxidized to run smoothly right after installation, even if no devices have been configured yet. The service would be functional, though it would not actually back up any configurations until the user manually populates the router.db. This change could make the installation process more seamless and reduce potential friction for first-time users.

Proposed Solution

  • On the first run of Oxidized, check for the existence of router.db.
  • If the file is missing, automatically create an empty router.db.
  • Log a message to inform the user that the file has been created and that they need to add devices for backups.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants