An open API service indexing awesome lists of open source software.

https://github.com/felipeorlando/backuper

:open_file_folder: A shell script for backup projects and databases
https://github.com/felipeorlando/backuper

backup database shell-script

Last synced: about 2 months ago
JSON representation

:open_file_folder: A shell script for backup projects and databases

Awesome Lists containing this project

README

          

# backuper
:open_file_folder: A shell script for backup projects and databases

### Requirements:
- Install zip: `sudo apt-get install zip`.
- The project directory must be on `/var/www/` directory.
- You must to create a `backups` directory on `$HOME`/`~/` directory.
- Change permission of script to excute. Ex: `chmod +x script.sh`.

### Usage:
You need to pass some parameters, in order:

1. Project file name
1. Database name
1. Database host name
1. Database user name
1. Database password **(not required)**
1. Directory to create on `backups` directory **(not required)**

Ex: `$ /backuper/script.sh project project-db 127.0.0.1 root 123456 blog-path`

based on [simple-database-backup](https://github.com/felipeorlando/simple-database-backup), by [Felipe Orlando (me)](https://github.com/felipeorlando) :facepunch: