GithubHelp home page GithubHelp logo

dokku / docker-s3backup Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 12.0 127 KB

Backups streaming to S3 via s3gof3r in Docker

License: MIT License

Shell 91.21% Dockerfile 8.79%
s3 aws dokku docker docker-image paas

docker-s3backup's Introduction

Dokku

Build Status Ubuntu Package Arch Package Slack Group Documentation OpenCollective OpenCollective Patreon

Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen.

Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

OpenCollective Sponsor 0 OpenCollective Sponsor 1 OpenCollective Sponsor 2 OpenCollective Sponsor 3 OpenCollective Sponsor 4 OpenCollective Sponsor 5 OpenCollective Sponsor 6 OpenCollective Sponsor 7 OpenCollective Sponsor 8 OpenCollective Sponsor 9 OpenCollective Sponsor 10 OpenCollective Sponsor 11 OpenCollective Sponsor 12 OpenCollective Sponsor 13 OpenCollective Sponsor 14 OpenCollective Sponsor 15 OpenCollective Sponsor 6 OpenCollective Sponsor 17 OpenCollective Sponsor 18

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

OpenCollective Backer 0 OpenCollective Backer 1 OpenCollective Backer 2 OpenCollective Backer 3 OpenCollective Backer 4 OpenCollective Backer 5 OpenCollective Backer 6 OpenCollective Backer 7 OpenCollective Backer 8 OpenCollective Backer 9 OpenCollective Backer 10 OpenCollective Backer 11 OpenCollective Backer 12 OpenCollective Backer 13 OpenCollective Backer 14 OpenCollective Backer 15 OpenCollective Backer 16 OpenCollective Backer 17 OpenCollective Backer 18 OpenCollective Backer 19 OpenCollective Backer 20 OpenCollective Backer 21 OpenCollective Backer 22 OpenCollective Backer 23 OpenCollective Backer 24 OpenCollective Backer 25 OpenCollective Backer 26 OpenCollective Backer 27 OpenCollective Backer 28 OpenCollective Backer 29

Requirements

A fresh VM running any of the following operating systems:

  • Ubuntu 20.04 / 22.04 x64 - Any currently supported release
  • Debian 10+ x64
  • Arch Linux x64 (experimental)

An SSH keypair that can be used for application deployment. If this exists before installation, it will be automatically imported into dokku. Otherwise, you will need to import the keypair manually after installation using dokku ssh-keys:add.

Installation

To install the latest stable release, run the following commands as a user who has access to sudo:

wget -NP . https://dokku.com/install/v0.34.4/bootstrap.sh
sudo DOKKU_TAG=v0.34.4 bash bootstrap.sh

You can then proceed to configure your server domain (via dokku domains:set-global) and user access (via dokku ssh-keys:add) to complete the installation.

If you wish for a more unattended installation method, see these docs.

Upgrade

View the docs for upgrading from an older version of Dokku.

Documentation

Full documentation - including advanced installation docs - are available online at https://dokku.com/docs/getting-started/installation/.

Support

You can use GitHub Issues, check Troubleshooting in the documentation, or join us on Gliderlabs Slack in the #dokku channel.

Contribution

After checking GitHub Issues, the Troubleshooting Guide or having a chat with us on Gliderlabs Slack in the #dokku channel, feel free to fork and create a Pull Request.

While we may not merge your PR as is, they serve to start conversations and improve the general Dokku experience for all users.

License

MIT License © Jeff Lindsay

docker-s3backup's People

Contributors

alexanderbabel avatar danelder avatar dependabot-preview[bot] avatar dependabot[bot] avatar djdefi avatar josegonzalez avatar luflow avatar mykolasolodukha avatar rosario-raulin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-s3backup's Issues

"awk: cmd. line:1: Unexpected token" - issue with dokku/s3backup:0.9.1?

Hey,

I'm creating an issue here as I can't do it on https://github.com/dokku/docker-s3backup.

Issue

When using dokku-postgres 1.4.12, I can create DB backups fine.
However, after having updated to latest (1.6.0), I have an error awk: cmd. line:1: Unexpected token.

I actually have the exact same error when trying to do DB backup with dokku-mariadb 1.6.0, as well as when using directly latest dokku/s3backup — however, using the latest dokkupaas/s3backup works fine.

Log

$ dokku plugin:list | grep postgres
  postgres             1.4.12 enabled    dokku postgres service plugin

$ dokku postgres:backup myapp mybucket
[sudo] password for user:
2019-03-26-18-24-27: The backup for myapp finished successfully.

$ sudo dokku plugin:update postgres
Plugin (postgres) updated
0.2.0: Pulling from dokku/ambassador
8e402f1a9c57: Pull complete
1e29874fbf0d: Pull complete
5f7744e8e9e2: Pull complete
Digest: sha256:53d3409e0a50160ba0d4bd47dee305116e590dbdcbc4cbea305b230fca39788c
Status: Downloaded newer image for dokku/ambassador:0.2.0
0.3.0: Pulling from dokku/wait
6c40cc604d8e: Pull complete
f329e6c12567: Pull complete
76d0541288b1: Pull complete
Digest: sha256:e0ef4e9b77580d65bffbdd71c43d39321c2ab47d87b09213b7e29f041a192f41
Status: Downloaded newer image for dokku/wait:0.3.0
0.9.1: Pulling from dokku/s3backup
8e402f1a9c57: Already exists
63da1710a56d: Pull complete
7dff28a04710: Pull complete
71de8f4baf9b: Pull complete
6d25a46e0817: Pull complete
929cc7d11c16: Pull complete
Digest: sha256:ef4ee8c258a4978b3b826199a979621c6abb5a59e94ca9cbd804fe24381015b3
Status: Downloaded newer image for dokku/s3backup:0.9.1
1.30.1-uclibc: Pulling from library/busybox
697743189b6d: Pull complete
Digest: sha256:2331ca40c3a40baead42bd592393ee16662a76b0f0699d843f50410d46c9098b
Status: Downloaded newer image for busybox:1.30.1-uclibc
-----> Priming bash-completion cache

$ dokku plugin:list | grep postgres
  postgres             1.6.0 enabled    dokku postgres service plugin

$ dokku postgres:backup myapp mybucket
awk: cmd. line:1: Unexpected token

ARM64 support

Hey,

I would like to see arm64 support for this image. I use it in a Kubernetes context for my backup strategy. For example I use k3s on a Raspberry Pi 4.

Therefore I build my own image with arm64 support and I would be really glad to add this to the base image. Unfortunately, building of the image is not done through GitHub Actions. But I wrote a small GitHub Workflow that takes care of this.

I don't know if this could fit in your workflow or not, therefore I propose this feature here.

I would be very happy to hear some feedback on this matter and maybe it is possible to adjust your workflow.

My current version of the GitHub Workflow file can be found here: https://github.com/AlexanderBabel/docker-s3backup/blob/master/.github/workflows/build.yml

Cheers!
Alex

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.