mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-04-25 05:35:57 +03:00
[PR #20] [MERGED] Feat/restore backups #141
Labels
No labels
bug
confirmed next step
duplicate
enhancement
help wanted
in progress
in progress
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pgbackweb#141
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/eduardolat/pgbackweb/pull/20
Author: @eduardolat
Created: 8/5/2024
Status: ✅ Merged
Merged: 8/5/2024
Merged by: @eduardolat
Base:
main← Head:feat/restore-backups📝 Commits (10+)
6497f4fAdd RestoreZip method to Client in postgres.go8d94285Merge branch 'main' into feat/restore-backups3d30729Update Dockerfile dependencies to specific versions and add unzip dependencyba8286eRefactor RestoreZip function to support both local and remote ZIP files065889fAdd restorations table to the database migrations03e267dAdd database_pg_version to get_execution and paginate_executions SQL queries3f27116Update GetExecution function signature and SQL querya4c04c6Add backup_is_local column to GetExecution SQL query50050ccRemove backup_is_local column from GetExecution SQL query86a3d70Add restorations service and related functions📊 Changes
29 files changed (+1045 additions, -9 deletions)
View changed files
📝
docker/Dockerfile(+3 -1)📝
docker/Dockerfile.cicd(+3 -1)📝
docker/Dockerfile.dev(+3 -1)➕
internal/database/migrations/20240805000451_add_restorations_table.sql(+28 -0)📝
internal/integration/postgres/postgres.go(+64 -0)📝
internal/service/executions/get_execution.go(+1 -1)📝
internal/service/executions/get_execution.sql(+8 -2)📝
internal/service/executions/paginate_executions.sql(+1 -0)➕
internal/service/restorations/create_restoration.go(+13 -0)➕
internal/service/restorations/create_restoration.sql(+4 -0)➕
internal/service/restorations/get_restorations_qty.go(+7 -0)➕
internal/service/restorations/get_restorations_qty.sql(+2 -0)➕
internal/service/restorations/paginate_restorations.go(+54 -0)➕
internal/service/restorations/paginate_restorations.sql(+42 -0)➕
internal/service/restorations/restorations.go(+31 -0)➕
internal/service/restorations/run_restoration.go(+155 -0)➕
internal/service/restorations/update_restoration.go(+13 -0)➕
internal/service/restorations/update_restoration.sql(+8 -0)📝
internal/service/service.go(+6 -0)📝
internal/view/web/dashboard/executions/list_executions.go(+1 -0)...and 9 more files
📄 Description
Fix #8
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.