Code Monkey home page Code Monkey logo

pgbackweb's Introduction

PG Back Web

๐Ÿ˜ Effortless PostgreSQL backups with a user-friendly web interface! ๐ŸŒ๐Ÿ’พ

Tests Status Go Report Card Release Version Docker Pulls License

Why PG Back Web?

PG Back Web isn't just another backup tool. It's your trusted ally in ensuring the security and availability of your PostgreSQL data:

  • ๐ŸŽฏ Designed for everyone: From individual developers to teams.
  • โฑ๏ธ Save time: Automate your backups and forget about manual tasks.
  • โšก Plug and play: Don't waste time with complex configurations.

Features

  • ๐Ÿ“ฆ Intuitive web interface: Manage your backups with ease, no database expertise required.
  • ๐Ÿ“… Scheduled backups: Set it and forget it. PG Back Web takes care of the rest.
  • ๐Ÿ“ˆ Backup monitoring: Visualize the status of your backups with execution logs.
  • ๐Ÿ“ค Instant download & restore: Restore and download your backups when you need them, directly from the web interface.
  • ๐Ÿ–ฅ Multi-version support: Compatible with PostgreSQL 13, 14, 15, and 16.
  • ๐Ÿ“ Local & S3 storage: Store backups locally or add as many S3 buckets as you want for greater flexibility.
  • ๐Ÿ”’ Security first: PGP encryption to protect your sensitive information.
  • ๐Ÿ›ก๏ธ Open-source trust: Open-source code under MIT license, backed by the robust pg_dump tool.
  • ๐ŸŒš Dark mode: Because we all love dark mode.

Installation

PG Back Web is available as a Docker image. You just need to set 2 environment variables and you're good to go!

Here's an example of how you can run PG Back Web with Docker Compose, feel free to adapt it to your needs:

services:
  pgbackweb:
    image: eduardolat/pgbackweb:latest
    ports:
      - "8085:8085" # Access the web interface at http://localhost:8085
    volumes:
      - ./backups:/backups # If you only use S3 destinations, you don't need this volume
    environment:
      PBW_ENCRYPTION_KEY: "my_secret_key"
      PBW_POSTGRES_CONN_STRING: "postgresql://postgres:password@postgres:5432/pgbackweb?sslmode=disable"
    depends_on:
      postgres:
        condition: service_healthy

  postgres:
    image: postgres:16
    environment:
      POSTGRES_USER: postgres
      POSTGRES_DB: pgbackweb
      POSTGRES_PASSWORD: password
    ports:
      - "5432:5432"
    volumes:
      - ./data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 5s
      timeout: 5s
      retries: 5

Configuration

You only need to configure the following environment variables:

  • PBW_ENCRYPTION_KEY: Your encryption key. Generate a strong one and store it in a safe place, as PG Back Web uses it to encrypt sensitive data.

  • PBW_POSTGRES_CONN_STRING: The connection string for the PostgreSQL database that will store PG Back Web data.

Screenshots

Reset password

You can reset your PG Back Web password by running the following command in the server where PG Back Web is running:

docker exec -it <container_name_or_id> sh -c change-password

You should replace <container_name_or_id> with the name or ID of the PG Back Web container, then just follow the instructions.

Next steps

In this link you can see a list of features that have been confirmed for future updates:

Next steps โญ๏ธ

Join the Community

Got ideas to improve PG Back Web? Contribute to the project! Every suggestion and pull request is welcome.

License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ’– Love PG Back Web? Give us a โญ on GitHub and share the project with your colleagues. Together, we can make PostgreSQL backups more accessible to everyone!

pgbackweb's People

Contributors

eduardolat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.