mirror of
https://github.com/Portabase/agent.git
synced 2026-09-10 01:57:10 +00:00
610d443afca8fab6893efa61c6724701019175af
* fix: pgdump-cluster (#68) * feat: add as_str/from_str to PostgresDumpFormat * feat: resolve pg_dumpall/psql binary names * feat: add include_globals field to database config * feat: add pg_dumpall/psql globals dump and apply * feat: add postgres backup bundle (manifest + build + resolve) * feat: bundle globals into postgres backup when include_globals is set * feat: replay globals before pg_restore when backup archive is a bundle * refactor: bind FD restore tempdir guard once to clear unused warnings * docs: demonstrate include_globals in sample databases.json * chore: silence test-only re-export warning in non-test builds * revert: remove include_globals feature, restore plain pg_dump/pg_restore * feat: add pg_dumpall/psql binary names and is_superuser check * feat: add postgresql-cluster db type and config parsing * feat: pg_dumpall cluster backup and psql restore * feat: route postgresql-cluster through PostgresClusterDatabase * docs: add postgresql-cluster sample to databases.json * refactor: split cluster mode into cluster/ module (backup, restore, database) * test: mirror cluster tests into src/tests/domain/cluster/ * feat: add-gcs-storage-provider (#70) * fix: refactoring * chore: add google-cloud-storage and google-cloud-auth deps * feat: add GCS provider config model * feat: add GCS credential, client, and stream-source helpers StreamSource bridges build_stream's Send-only byte stream into the SDK's StreamingSource (which send_buffered requires to be Send+Sync+'static) via a bounded mpsc channel, avoiding any change to the shared UploadStream type. * feat: implement GCS StorageProvider upload * feat: register google-cloud-storage provider in factory * test: GCS upload roundtrip against fake-gcs-server * fix: format GCS bucket as projects/_/buckets/<name> in upload_with_client write_object rejects the bare bucket id with "malformed bucket name"; the production provider passed config.bucket_name unformatted, so real uploads would always fail. Format once in upload_with_client so prod and the fake-gcs-server test share the corrected path. * style: cargo fmt GCS provider files * fix: gcs * fix: azure (#71)
Portabase Agent (Rust)
Portabase Agent is use with Portabase Server. This service is for backup/restore db instances. Portabase Server
Website • Documentation • Demo • Installation • Report Bug • Request Feature
Installation
You have 4 ways to install Portabase Agent:
- Automated CLI (recommended) - details
- Docker Compose setup - details
- Kubernetes with Helm details
- Development setup - details
Ensure Docker is installed on your machine before getting started.
Contributors
License
Distributed under the Apache License. See LICENSE.txt for more information.
Description
Agent for the Portabase Server. Database backup & restore tool for PostgreSQL, MsSQL, MySQL/MariaDB, MongoDB, SQLite, Redis, Valkey, Firebird and Docker Volume.
backupdatabase-managementdevopsdockerfirebird-databasefirebirdsqlmariadbmongodbmssql-databasemysqlpostgresqlredisrestorationrestorerustsqlite-databasesqlite3tokio-rsvalkey
Readme
Cite this repository
160 MiB
Languages
Rust
96.9%
Shell
1.3%
Dockerfile
1%
Just
0.7%
TSQL
0.1%
