Git Product home page Git Product logo

backup-action's Introduction

Hola.

I'm Valerian Pereira, Software developer from Mumbai, Maharashtra, India.

๐Ÿ“ƒ Status

  • ๐ŸŒฑ Iโ€™m currently learning GoLang
  • ๐Ÿ’ฌ Ask me about anything, I am happy to help

backup-action's People

Contributors

dr5hn avatar jackton1 avatar jskz avatar valerian-pereira avatar valerianpereira 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  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

backup-action's Issues

load pubkey "/github/home/.ssh/deploykey": invalid format

I get the error (warning?) load pubkey "/github/home/.ssh/deploykey": invalid format during syncing.
The sync seems to succeed regardless, though.

Full output:

[...]
==============================================
โœ… Successfully executed commands to all host.
==============================================
๐Ÿ”„ Sync the mysql backups... ๐Ÿ—„
load pubkey "/github/home/.ssh/deploykey": invalid format
Warning: Permanently added '207.154.209.XXX' (ECDSA) to the list of known hosts.
receiving incremental file list
mysql-ghost_production.1908211222.sql.gz

              0   0%    0.00kB/s    0:00:00  
        616.55K 100%    1.25MB/s    0:00:00 (xfr#1, to-chk=0/1)

sent 51 bytes  received 603.34K bytes  172.40K bytes/sec
total size is 616.55K  speedup is 1.02
๐Ÿค” Whats the location of backups...
/github/workspace/backups
๐Ÿ” Show me backups... ๐Ÿ˜Ž
total 604K   
-rw-r--r--    1 ***     ***      602.1K Aug 19 12:22 mysql-ghost_production.1908211222.sql.gz

Missing option to make a backup of all databases

Since the Input variable db_name is required it would be convenient to configure the option to make a backup of all databases at the same time. It's cool that you can add multiple databases like this db_name: global,users,staff but it would be cool to do all with one command.

args are picked up by Drone SSH instead of mysqldump

I'm trying to pass args to mysqldump (--no-tablespaces to avoid err: mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces) but Drone SSH tries to use them instead.

My action:

- uses: valerianpereira/backup-action@master
  with:
    [...]
    args: --no-tablespaces

Output:

๐Ÿ”‘ Loading the ssh key...
Done!! ๐Ÿป
๐Ÿ—ƒ๏ธ Backup type: db
DB type: mysql
๐Ÿƒโ€โ™‚๏ธ Running commands over ssh...
Incorrect Usage. flag provided but not defined: -no-tablespaces


________                                         _________ _________ ___ ___
\______ \_______  ____   ____   ____            /   _____//   _____//   |   \
 |    |  \_  __ \/  _ \ /    \_/ __ \   ______  \_____  \ \_____  \/    ~    \
 |    |   \  | \(  <_> )   |  \  ___/  /_____/  /        \/        \    Y    /
/_______  /__|   \____/|___|  /\___  >         /_______  /_______  /\___|_  /
        \/                  \/     \/                  \/        \/       \/
[...]

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.