Skip to content

Commit 7bcd239

Browse files
authored
Update README.md
1 parent 8338e11 commit 7bcd239

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Backup Project/Folder
22

3-
Backup PHP | Laravel OR any Project with MySQL Database
3+
Backup PHP | Laravel OR any Project folder with MySQL Database Dump
44

55
Change path and databse config in `backup.sh`
66

@@ -12,3 +12,16 @@ DBNAME=project
1212
```
1313

1414
It will generate `.tar.gz` file with `dump.sql`
15+
16+
### Usage
17+
18+
```
19+
$ sh backup.sh
20+
```
21+
Or set in crontab
22+
23+
```
24+
# Every day at midnight
25+
26+
0 0 * * * /bin/sh backup.sh
27+
```

0 commit comments

Comments
 (0)