Streamline backups, add user/password options

Đang mở
#6,037 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
mariadb, mysql, typescript
Lĩnh vực
backend, databases

Hướng nghiên cứu

Start by locating the backup settings modal and the database dump code paths for MariaDB and MySQL; the issue names no files or tests. Trace how each provider obtains credentials, then identify the existing backup settings tests or add coverage for optional username and password inputs and their use during dumps. Done means backups can use configured credentials and the providers behave consistently.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement
What problem will this feature address?

When using Mariadb, the initial DB user is used for dumping databases. This results in db dump access errors when additional database are added to the same instance.

Describe the solution you'd like

When dumping the database, Mariadb uses the initial username and password while for MySQL root is used. It would be nice when this functionality is consistent between database providers.

A second feature request is optional input fields for username and password within the backup settings modal. This would make it possible to create a read only user for backups, or to use a different user when additional databases are created alongside the initial database.

Describe alternatives you've considered

We could move the initial database to a new user and use the initial user just for backups. This works, but a proper solution would be great!

Additional context

No response

Will you send a PR to implement it?

No

Ngôn ngữ chính
TypeScript
Star
38.8k
Fork
3.2k
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
110

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Dokploy/dokploy

Tất cả issue của Dokploy/dokploy

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.