[PR #17] [MERGED] Feat/local backups #138

Closed
opened 2026-02-26 21:34:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/eduardolat/pgbackweb/pull/17
Author: @eduardolat
Created: 8/4/2024
Status: Merged
Merged: 8/4/2024
Merged by: @eduardolat

Base: mainHead: feat/local-backups


📝 Commits (10+)

  • e289162 Create backups directory in Dockerfiles
  • 2d2f8fa Refactor storage to add local storage
  • 72ce05b Update HTMX initialization and add MutationObserver for dynamic elements
  • 421aa9a Teleport all modals to body to allow nesting
  • 721fcf4 Add HelpButtonModal component for displaying a modal with a help button
  • 8ef584a Add ID generation and help button for InputControl and SelectControl components
  • f0340e2 Refactor help button implementation in InputControl and SelectControl components
  • d66e79b Add convenience function for creating a B element with a text node
  • d1f282d Refactor help button implementation in InputControl and SelectControl components
  • d157f8a Refactor input control to include pattern attribute

📊 Changes

37 files changed (+725 additions, -286 deletions)

View changed files

📝 docker/Dockerfile (+4 -2)
📝 docker/Dockerfile.cicd (+4 -2)
📝 docker/Dockerfile.dev (+4 -2)
internal/database/migrations/20240803171113_add_is_local_to_backups_table.sql (+16 -0)
📝 internal/integration/integration.go (+6 -6)
internal/integration/storage/local.go (+58 -0)
📝 internal/integration/storage/s3.go (+9 -15)
internal/integration/storage/storage.go (+7 -0)
📝 internal/service/backups/create_backup.sql (+2 -2)
📝 internal/service/backups/paginate_backups.sql (+2 -2)
📝 internal/service/destinations/test_destination.go (+1 -1)
internal/service/executions/get_execution_download_link.go (+0 -33)
internal/service/executions/get_execution_download_link.sql (+0 -12)
internal/service/executions/get_execution_download_link_or_path.go (+47 -0)
internal/service/executions/get_execution_download_link_or_path.sql (+24 -0)
📝 internal/service/executions/paginate_executions.sql (+8 -7)
📝 internal/service/executions/run_execution.go (+45 -26)
📝 internal/service/executions/run_execution.sql (+15 -4)
📝 internal/service/executions/soft_delete_execution.go (+11 -4)
📝 internal/service/executions/soft_delete_execution.sql (+15 -4)

...and 17 more files

📄 Description

Local backup destination #1


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/eduardolat/pgbackweb/pull/17 **Author:** [@eduardolat](https://github.com/eduardolat) **Created:** 8/4/2024 **Status:** ✅ Merged **Merged:** 8/4/2024 **Merged by:** [@eduardolat](https://github.com/eduardolat) **Base:** `main` ← **Head:** `feat/local-backups` --- ### 📝 Commits (10+) - [`e289162`](https://github.com/eduardolat/pgbackweb/commit/e28916212b4bce6101df53a8a0f4f09c94cc8c8d) Create backups directory in Dockerfiles - [`2d2f8fa`](https://github.com/eduardolat/pgbackweb/commit/2d2f8fa81dbb093baaef13e20d56645734df8c14) Refactor storage to add local storage - [`72ce05b`](https://github.com/eduardolat/pgbackweb/commit/72ce05b102ab92e21415b360b7a5eaefa6eae47b) Update HTMX initialization and add MutationObserver for dynamic elements - [`421aa9a`](https://github.com/eduardolat/pgbackweb/commit/421aa9a3ab12e4d692de4c5b8cb9bc57bda6e451) Teleport all modals to body to allow nesting - [`721fcf4`](https://github.com/eduardolat/pgbackweb/commit/721fcf46e7af04b9cd5553d3e1afd712bac44490) Add HelpButtonModal component for displaying a modal with a help button - [`8ef584a`](https://github.com/eduardolat/pgbackweb/commit/8ef584a8636fb5dd73797ed9670e470c6448d3d7) Add ID generation and help button for InputControl and SelectControl components - [`f0340e2`](https://github.com/eduardolat/pgbackweb/commit/f0340e282aa1b9bdcf9b988f57b3b29f68cf28f5) Refactor help button implementation in InputControl and SelectControl components - [`d66e79b`](https://github.com/eduardolat/pgbackweb/commit/d66e79bca50bffe5347ebedba498143919425070) Add convenience function for creating a B element with a text node - [`d1f282d`](https://github.com/eduardolat/pgbackweb/commit/d1f282d4133e1850cc5a0db14f8fa910162bd190) Refactor help button implementation in InputControl and SelectControl components - [`d157f8a`](https://github.com/eduardolat/pgbackweb/commit/d157f8a72f5a7ace0ba0d8052a8bd1e2847c7eb6) Refactor input control to include pattern attribute ### 📊 Changes **37 files changed** (+725 additions, -286 deletions) <details> <summary>View changed files</summary> 📝 `docker/Dockerfile` (+4 -2) 📝 `docker/Dockerfile.cicd` (+4 -2) 📝 `docker/Dockerfile.dev` (+4 -2) ➕ `internal/database/migrations/20240803171113_add_is_local_to_backups_table.sql` (+16 -0) 📝 `internal/integration/integration.go` (+6 -6) ➕ `internal/integration/storage/local.go` (+58 -0) 📝 `internal/integration/storage/s3.go` (+9 -15) ➕ `internal/integration/storage/storage.go` (+7 -0) 📝 `internal/service/backups/create_backup.sql` (+2 -2) 📝 `internal/service/backups/paginate_backups.sql` (+2 -2) 📝 `internal/service/destinations/test_destination.go` (+1 -1) ➖ `internal/service/executions/get_execution_download_link.go` (+0 -33) ➖ `internal/service/executions/get_execution_download_link.sql` (+0 -12) ➕ `internal/service/executions/get_execution_download_link_or_path.go` (+47 -0) ➕ `internal/service/executions/get_execution_download_link_or_path.sql` (+24 -0) 📝 `internal/service/executions/paginate_executions.sql` (+8 -7) 📝 `internal/service/executions/run_execution.go` (+45 -26) 📝 `internal/service/executions/run_execution.sql` (+15 -4) 📝 `internal/service/executions/soft_delete_execution.go` (+11 -4) 📝 `internal/service/executions/soft_delete_execution.sql` (+15 -4) _...and 17 more files_ </details> ### 📄 Description Local backup destination #1 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:34:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pgbackweb#138
No description provided.