This repository was archived by the owner on Aug 28, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed
Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 3838 run : composer install --prefer-dist --no-progress --no-suggest
3939
4040 - name : Build project
41- run : php -d phar.readonly=false ./vendor/bin/box compile
41+ run : composer run build
4242
4343 - name : Create release
4444 id : create_release
Original file line number Diff line number Diff line change 11# Change Log
22
3+ [v0.1.5]
4+ * we now prefix the file name with the time.
5+ * we release a phar version of the application.
6+
37[V0.0.6]
48* added the ability to backup your data to Amazon S3.
59* added an example config file that you can use to update your config file.
Original file line number Diff line number Diff line change @@ -55,6 +55,18 @@ composer global require damascene/database-backup
5555
5656_ PS: if you run it globally you can just use ` backup ` instead of ` ./bin/backup ` ._
5757
58+ ### Using the phar file
59+
60+ We distribute a PHP Archive (PHAR) that has all required dependencies of database backup bundled in a single file.
61+ You can file the file under the assets of each [ release] ( https://github.com/linuxjuggler/database-backup/releases ) .
62+
63+ After downloading the file remember to run the following commands:
64+
65+ ``` bash
66+ $ mv backup ./bin/backup
67+ $ chmod u+x backup
68+ ```
69+
5870## Usage
5971
6072- You should create the configuration file using the command:
Original file line number Diff line number Diff line change 3737 "Backup\\ " : " src/Backup"
3838 }
3939 },
40+ "scripts" : {
41+ "build" : " php -d phar.readonly=false ./vendor/bin/box compile" ,
42+ },
4043 "bin" : [" bin/backup" ],
4144 "minimum-stability" : " stable"
4245}
You can’t perform that action at this time.
0 commit comments