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
- Host: GitHub
- URL: https://github.com/felipeorlando/backuper
- Owner: felipeorlando
- License: mit
- Created: 2017-02-23T17:46:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T18:04:52.000Z (over 9 years ago)
- Last Synced: 2025-07-30T17:35:53.941Z (11 months ago)
- Topics: backup, database, shell-script
- Language: Shell
- Homepage: https://git.io/backuper
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: