actions-marketplace-validations/Backup Action
Easy backup of the Database or Directory
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| host | ssh host | — | — |
| port | ssh port | — | 22 |
| passphrase | ssh key passphrase | — | — |
| username | ssh username | — | — |
| password | ssh password | — | — |
| sync | synchronous execution if multiple hosts | — | false |
| use_insecure_cipher | include more ciphers with use_insecure_cipher | — | false |
| cipher | the allowed cipher algorithms. If unspecified then a sensible | — | — |
| timeout | timeout for ssh to host | — | 30s |
| command_timeout | timeout for ssh command | — | 10m |
| key | content of ssh private key. ex raw content of ~/.ssh/id_rsa | yes | — |
| key_path | path of ssh private key | — | — |
| fingerprint | sha256 fingerprint of the host public key | — | — |
| proxy_host | ssh proxy host | — | — |
| proxy_port | ssh proxy port | — | 22 |
| proxy_username | ssh proxy username | — | — |
| proxy_password | ssh proxy password | — | — |
| proxy_passphrase | ssh proxy key passphrase | — | — |
| proxy_timeout | timeout for ssh to proxy host | — | 30s |
| proxy_key | content of ssh proxy private key. ex raw content of ~/.ssh/id_rsa | — | — |
| proxy_key_path | path of ssh proxy private key | — | — |
| proxy_fingerprint | sha256 fingerprint of the proxy host public key | — | — |
| proxy_cipher | the allowed cipher algorithms. If unspecified then a sensible | — | — |
| proxy_use_insecure_cipher | include more ciphers with use_insecure_cipher | — | false |
| script | execute commands | — | — |
| script_stop | stop script after first failure | — | false |
| envs | pass environment variable to shell script | — | — |
| debug | enable debug mode | — | false |
| type | type of backup to be triggered (directory or db) | yes | — |
| db_type | type of database | — | — |
| db_user | database username | — | — |
| db_pass | database password | — | — |
| db_name | database name | — | — |
| db_host | database host | — | localhost |
| db_port | database port | — | — |
| auth_db | authenticationDatabase Required for Mongo DB v4.4.0 - Defaults to admin | — | — |
| args | additional arguments with backup command if you want to pass | — | — |
| dirpath | directory to be backuped | — | — |
Outputs
no outputs