mirror of
https://github.com/Llewellynvdm/Backup-System.git
synced 2024-12-12 17:07:46 +00:00
updated the readme format
This commit is contained in:
parent
3aa0626f00
commit
a0a0043f85
@ -14,25 +14,34 @@ The Bash scripts used to backup database and folders on a server
|
|||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
Rename __config.txt__ to __config.sh__ and update the values in the file.
|
Rename __config.txt__ to __config.sh__ and update the values in the file.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mv config.txt config.sh
|
$ mv config.txt config.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Rename __folders.txt__ to __folders__ and update the values in the file.
|
Rename __folders.txt__ to __folders__ and update the values in the file.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mv folders.txt folders
|
$ mv folders.txt folders
|
||||||
```
|
```
|
||||||
|
|
||||||
Rename __databases.txt__ to __databases__ and update the values in the file.
|
Rename __databases.txt__ to __databases__ and update the values in the file.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ mv databases.txt databases
|
$ mv databases.txt databases
|
||||||
```
|
```
|
||||||
|
|
||||||
Make sure all the needed files are executable
|
Make sure all the needed files are executable
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ chmod +x run.sh
|
$ chmod +x run.sh
|
||||||
$ chmod +x main.sh
|
$ chmod +x main.sh
|
||||||
$ chmod +x incl.sh
|
$ chmod +x incl.sh
|
||||||
$ chmod +x config.sh
|
$ chmod +x config.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
Run the script
|
Run the script
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ ./run.sh
|
$ ./run.sh
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user