Skip to content

Commit f238320

Browse files
Changed xsd version to 1.1
1 parent 57d8e28 commit f238320

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

phpbu.xml.dist.sample

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
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

@@ -30,14 +27,14 @@
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 -->

0 commit comments

Comments
 (0)