Coder Social home page Coder Social logo

dopos / dcape-app-pg-backup Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 1.0 19 KB

Postgresql database backup application package for dcape

License: MIT License

Makefile 92.52% Dockerfile 7.48%
postgresql-backup dcape makefile docker-compose pg-backup dcape3-app

dcape-app-pg-backup's Introduction

dcape-app-pg-backup

GitHub Release GitHub code size in bytes GitHub license

Postgresql database backup application package for dcape v3.

Docker image used

  • dcape v1: none (used running dcape_db container)
  • dcape v2: internally built image with name stored in ${DCAPE_COMPOSE} drone var
  • dcape v3: dcape-compose (cron uses running dcape_db container)

Requirements

Usage

  • Fork this repo in your Git service
  • Setup deploy hook
  • Run "Test delivery" (config sample will be created in dcape)
  • Edit and save config (enable deploy etc)
  • Run "Test delivery" again (app will be installed and started on webhook host)

See also: Deploy setup (in Russian)

Direct run

If installed via CI/CD

docker exec -ti pg-backup-cron-1 bash -c 'cd /root && /etc/periodic/daily/pgbackup.sh'

For custom database

docker exec -it pg-backup-cron-1 bash -c "make -f /root/Makefile backup DB_NAME=pdns"

If installed locally

make backup

License

The MIT License (MIT), see LICENSE.

Copyright (c) 2017-2023 Aleksei Kovrizhkin [email protected]

dcape-app-pg-backup's People

Contributors

lekovr avatar

Watchers

 avatar  avatar  avatar

Forkers

abhinand-tw

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.