File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ Simple configuration example:
9090``` xml
9191 <?xml version =" 1.0" encoding =" UTF-8" ?>
9292 <phpbu xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
93- xsi : noNamespaceSchemaLocation =" http://schema.phpbu.de/1.0 /phpbu.xsd"
93+ xsi : noNamespaceSchemaLocation =" http://schema.phpbu.de/1.1 /phpbu.xsd"
9494 verbose =" true" >
9595 <backups >
9696 <backup >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22<phpbu xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3- xsi : noNamespaceSchemaLocation =" http://schema.phpbu.de/1.0/phpbu.xsd"
4- bootstrap =" backup/bootstrap.php"
3+ xsi : noNamespaceSchemaLocation =" http://schema.phpbu.de/1.1/phpbu.xsd"
54 verbose =" true" >
65
76 <php >
87 <includePath >.</includePath >
98 <ini name =" max_execution_time" value =" 0" />
109 </php >
1110
12-
1311 <logging >
1412 <log type =" json" target =" /tmp/logfile.json" />
15- <log type =" plain" target =" /tmp/logfile.txt" />
1613 </logging >
1714
1815
3027 <target dirname =" /tmp/backup" filename =" mysqldump-%Y%m%d-%H%i.sql" compress =" bzip2" />
3128
3229 <!-- do some sanity checks to make sure everything worked as planned -->
33- <check type =" Foo" value =" Bar" />
34- <check type =" Fiz" value =" Baz" />
30+ <check type =" MinSize" value =" 2M" />
3531
3632 <!-- sync backup to some location or service -->
37- <sync type =" ftp" skipOnCheckFailure =" true" >
33+ <sync type =" sftp" skipOnCheckFailure =" true" >
34+ <option name =" host" value =" example.com" />
3835 <option name =" user" value =" user.name" />
3936 <option name =" password" value =" topsecret" />
40- <option name =" target " value =" backup " />
37+ <option name =" path " value =" some/dir " />
4138 </sync >
4239
4340 <!-- deletes old backups -->
You can’t perform that action at this time.
0 commit comments