DB backup implement host and port parameter / backup path fix
This commit is contained in:
@@ -15,6 +15,8 @@ Backify is a shell script that helps you automate the backup process of all kind
|
||||
|
||||
- The system must be either a Red Hat-based or an Ubuntu-based distribution.
|
||||
|
||||
- mysqldump / pgdump if dumping database on a diferent host
|
||||
|
||||
|
||||
## Configuration 🧙♂️
|
||||
|
||||
@@ -24,7 +26,7 @@ All configuration options can be found in the `backup.cfg` file. The script has
|
||||
| Name | Value | Specifics |
|
||||
| --- | --- | --- |
|
||||
| enabled | true/false | Disable the main function |
|
||||
| backup_path | ------> | Set where to save the backup |
|
||||
| backup_path | ------> | Set where to save the backup, make sure it DOESNT end with backslash |
|
||||
| www_backup | true/false | Backup of the webroot directory |
|
||||
| www_dir | ------> | Path to the webroot |
|
||||
| vhost_backup | true/false | Backup of the vhost configuration |
|
||||
@@ -43,6 +45,8 @@ All configuration options can be found in the `backup.cfg` file. The script has
|
||||
| docker_data | true/false | Backup container information |
|
||||
| db_backup | true/false | Backup database |
|
||||
| database_type | mysql/postgresql | Database type |
|
||||
| db_host | ------> | Database host |
|
||||
| db_port | ------> | Port for DB access |
|
||||
| db_username | ------> | Username for DB access |
|
||||
| db_password | ------> | Password for DB access |
|
||||
| db_name | ------> | Name of database |
|
||||
|
||||
Reference in New Issue
Block a user