Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9c0cb86

Browse files
committed
Merge branch 'master' of github.com:Codexshaper/database-backup-restore
2 parents 9ab3004 + ee38c60 commit 9c0cb86

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

‎README.md‎

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ Database Backup & Restore
88

99
[Documentation](https://codexshaper.github.io/docs/database-backup-restore/)
1010

11+
## Authors
12+
13+
* **Md Abu Ahsan Basir** - [github](https://github.com/maab16)
14+
1115
# Installation
1216
```
1317
composer require codexshaper/database-backup-restore
1418
```
1519

16-
# MySql Dump *(Note: Mustbe installed `mysqldump` in your system)*
20+
### MySql Dump *(Note: Mustbe installed `mysqldump` in your system)*
1721
```
1822
$options = [
1923
'host' => 'HOST',
@@ -53,7 +57,7 @@ Archive
5357
->dump();
5458
```
5559

56-
# MySql Restore *(Note: Mustbe installed `mysql` in your system)*
60+
### MySql Restore *(Note: Mustbe installed `mysql` in your system)*
5761

5862
Restore from without archive
5963
```
@@ -70,7 +74,7 @@ Restore from archive
7074
->restore();
7175
```
7276

73-
# PgSql Dump *(Note: Mustbe installed `pg_dump` in your system)*
77+
### PgSql Dump *(Note: Mustbe installed `pg_dump` in your system)*
7478
```
7579
$options = [
7680
'host' => 'HOST',
@@ -110,7 +114,7 @@ Archive
110114
->dump();
111115
```
112116

113-
# PgSql Restore *(Note: Mustbe installed `psql` in your system)*
117+
### PgSql Restore *(Note: Mustbe installed `psql` in your system)*
114118
Restore from without archive
115119
```
116120
$dumper = new \CodexShaper\Dumper\Drivers\PgsqlDumper($options);
@@ -126,7 +130,7 @@ Restore from archive
126130
->restore();
127131
```
128132

129-
# Sqlite Dump *(Note: Mustbe installed `sqlite3` in your system)*
133+
### Sqlite Dump *(Note: Mustbe installed `sqlite3` in your system)*
130134
```
131135
$options = [
132136
'dbName' => 'DATABASE_PATH', // /path/to/database.sqlite
@@ -158,7 +162,7 @@ Archive
158162
->useCompress("gzip") // This command apply gzip to zip
159163
->dump();
160164
```
161-
# Sqlite Restore *(Note: Mustbe installed `sqlite3` in your system)*
165+
### Sqlite Restore *(Note: Mustbe installed `sqlite3` in your system)*
162166
```
163167
$options = [
164168
'dbName' => 'DATABASE_PATH', // /path/to/database.sqlite
@@ -186,7 +190,7 @@ Restore From Archive
186190
->restore();
187191
```
188192

189-
# MongoDB Dump *(Note: Mustbe installed `mongodump` in your system)*
193+
### MongoDB Dump *(Note: Mustbe installed `mongodump` in your system)*
190194

191195
```
192196
$options = [
@@ -227,7 +231,7 @@ Archive
227231
->useCompress("gzip") // This command will add --archive with --gzip
228232
->dump();
229233
```
230-
## Use URI
234+
#### Use URI
231235
```
232236
$options = [
233237
'uri' => $uri,
@@ -257,7 +261,7 @@ Compress
257261
->dump();
258262
```
259263

260-
# MongoDB Restore *(Note: Mustbe installed `mongorestore` in your system)*
264+
### MongoDB Restore *(Note: Mustbe installed `mongorestore` in your system)*
261265

262266
Restore from without archive
263267
```
@@ -289,20 +293,14 @@ Restore from archive using URI
289293
->restore();
290294
```
291295

292-
# Set Dump Binary Path
296+
### Set Dump Binary Path
293297
```
294298
// Same for other driver
295299
\CodexShaper\Dumper\Drivers\MysqlDumper::create($options)
296300
->setCommandBinaryPath($binaryPath) // /path/to/mysql/bin
297301
->dump();
298302
```
299303

300-
301-
302-
## Authors
303-
304-
* **Md Abu Ahsan Basir** - [github](https://github.com/maab16)
305-
306304
## License
307305

308306
- **[MIT license](http://opensource.org/licenses/mit-license.php)**

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /