Skip to content
Snippets Groups Projects
Commit 6427b806 authored by David Vasek's avatar David Vasek
Browse files

tests/backup: test (im)possibility of backup/restore in situations

parent ceeac7d5
No related branches found
No related tags found
1 merge request!1325backup improvements -- modified backup format (BACKUP_FORMAT_2), label file, improved backup locking, etc.
Showing
with 163 additions and 0 deletions
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example1. 10 SOA a.ns.example1. admin.example1. 1 10 10 120 10
example1. 10 NS a.ns.example1.
example1. 10 NS b.ns.example1.
example1. 10 NS ns.out.
deleg.example1. 10 NS a.ns.deleg.example1.
deleg.example1. 10 NS ns.out.
a.ns.deleg.example1. 10 A 10.0.1.1
a.ns.deleg.example1. 10 AAAA fd00::1:1
a.mail.example1. 10 A 10.0.1.1
b.mail.example1. 10 AAAA fd00::1:1
cname.mail.example1. 10 CNAME a.mail.example1.
mx.example1. 10 MX 10 a.mail.example1.
mx.example1. 10 MX 20 b.mail.example1.
mx.example1. 10 MX 30 mail.out.
mx-cname.example1. 10 MX 10 cname.mail.example1.
a.ns.example1. 10 A 10.0.0.1
a.ns.example1. 10 AAAA fd00::a1
b.ns.example1. 10 AAAA fd00::b1
b.ns.example1. 10 AAAA fd00::b2
ptr.example1. 10 PTR target.example1.
a.service.example1. 10 TXT "no address"
b.service.example1. 10 AAAA fd00::2:1
b.service.example1. 10 AAAA fd00::2:2
b.service.example1. 10 AAAA fd00::2:3
srv.example1. 10 SRV 10 0 1000 a.service.example1.
srv.example1. 10 SRV 10 0 1000 b.service.example1.
srv.example1. 10 SRV 10 0 1000 service.out.
target.example1. 10 A 10.0.3.1
target.example1. 10 AAAA fd00::3:1
;; Written 29 records
;; Time 2021-07-07 14:39:48 CEST
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example2. 3600 SOA dns1.example2. hostmaster.example2. 1 1 1 10 600
example2. 3600 NS dns1.example2.
dns1.example2. 3600 A 192.0.2.1
;; Written 3 records
;; Time 2021-07-07 14:39:48 CEST
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example3. 3600 SOA dns1.example3. hostmaster.example3. 2010111213 10800 3600 1209600 7200
example3. 3600 NS dns1.example3.
example3. 3600 NS dns2.example3.
added.example3. 3600 A 1.2.3.4
dns1.example3. 3600 A 192.0.2.1
dns1.example3. 3600 AAAA 2001:db8::1
dns2.example3. 3600 A 192.0.2.2
dns2.example3. 3600 AAAA 2001:db8::2
;; Written 8 records
;; Time 2021-07-07 14:39:48 CEST
File added
File added
label: Knot DNS Backup
backup_format: 2
identity: tester.knot-dns.cz
started_time: 2021-07-07 14:39:48 CEST
finished_time: 2021-07-07 14:39:48 CEST
knot_version: 3.1.dev.1625122029.e48145931
parameters: +zonefile +nojournal +timers +kaspdb +catalog +backupdir backup_for_tests
zone_count: 3
File added
File added
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example1. 10 SOA a.ns.example1. admin.example1. 1 10 10 120 10
example1. 10 NS a.ns.example1.
example1. 10 NS b.ns.example1.
example1. 10 NS ns.out.
deleg.example1. 10 NS a.ns.deleg.example1.
deleg.example1. 10 NS ns.out.
a.ns.deleg.example1. 10 A 10.0.1.1
a.ns.deleg.example1. 10 AAAA fd00::1:1
a.mail.example1. 10 A 10.0.1.1
b.mail.example1. 10 AAAA fd00::1:1
cname.mail.example1. 10 CNAME a.mail.example1.
mx.example1. 10 MX 10 a.mail.example1.
mx.example1. 10 MX 20 b.mail.example1.
mx.example1. 10 MX 30 mail.out.
mx-cname.example1. 10 MX 10 cname.mail.example1.
a.ns.example1. 10 A 10.0.0.1
a.ns.example1. 10 AAAA fd00::a1
b.ns.example1. 10 AAAA fd00::b1
b.ns.example1. 10 AAAA fd00::b2
ptr.example1. 10 PTR target.example1.
a.service.example1. 10 TXT "no address"
b.service.example1. 10 AAAA fd00::2:1
b.service.example1. 10 AAAA fd00::2:2
b.service.example1. 10 AAAA fd00::2:3
srv.example1. 10 SRV 10 0 1000 a.service.example1.
srv.example1. 10 SRV 10 0 1000 b.service.example1.
srv.example1. 10 SRV 10 0 1000 service.out.
target.example1. 10 A 10.0.3.1
target.example1. 10 AAAA fd00::3:1
;; Written 29 records
;; Time 2021-07-07 14:39:48 CEST
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example2. 3600 SOA dns1.example2. hostmaster.example2. 1 1 1 10 600
example2. 3600 NS dns1.example2.
dns1.example2. 3600 A 192.0.2.1
;; Written 3 records
;; Time 2021-07-07 14:39:48 CEST
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example3. 3600 SOA dns1.example3. hostmaster.example3. 2010111213 10800 3600 1209600 7200
example3. 3600 NS dns1.example3.
example3. 3600 NS dns2.example3.
added.example3. 3600 A 1.2.3.4
dns1.example3. 3600 A 192.0.2.1
dns1.example3. 3600 AAAA 2001:db8::1
dns2.example3. 3600 A 192.0.2.2
dns2.example3. 3600 AAAA 2001:db8::2
;; Written 8 records
;; Time 2021-07-07 14:39:48 CEST
File added
File added
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example1. 10 SOA a.ns.example1. admin.example1. 1 10 10 120 10
example1. 10 NS a.ns.example1.
example1. 10 NS b.ns.example1.
example1. 10 NS ns.out.
deleg.example1. 10 NS a.ns.deleg.example1.
deleg.example1. 10 NS ns.out.
a.ns.deleg.example1. 10 A 10.0.1.1
a.ns.deleg.example1. 10 AAAA fd00::1:1
a.mail.example1. 10 A 10.0.1.1
b.mail.example1. 10 AAAA fd00::1:1
cname.mail.example1. 10 CNAME a.mail.example1.
mx.example1. 10 MX 10 a.mail.example1.
mx.example1. 10 MX 20 b.mail.example1.
mx.example1. 10 MX 30 mail.out.
mx-cname.example1. 10 MX 10 cname.mail.example1.
a.ns.example1. 10 A 10.0.0.1
a.ns.example1. 10 AAAA fd00::a1
b.ns.example1. 10 AAAA fd00::b1
b.ns.example1. 10 AAAA fd00::b2
ptr.example1. 10 PTR target.example1.
a.service.example1. 10 TXT "no address"
b.service.example1. 10 AAAA fd00::2:1
b.service.example1. 10 AAAA fd00::2:2
b.service.example1. 10 AAAA fd00::2:3
srv.example1. 10 SRV 10 0 1000 a.service.example1.
srv.example1. 10 SRV 10 0 1000 b.service.example1.
srv.example1. 10 SRV 10 0 1000 service.out.
target.example1. 10 A 10.0.3.1
target.example1. 10 AAAA fd00::3:1
;; Written 29 records
;; Time 2021-07-07 14:39:48 CEST
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example2. 3600 SOA dns1.example2. hostmaster.example2. 1 1 1 10 600
example2. 3600 NS dns1.example2.
dns1.example2. 3600 A 192.0.2.1
;; Written 3 records
;; Time 2021-07-07 14:39:48 CEST
;; Zone dump (Knot DNS 3.1.dev.1625122029.e48145931)
example3. 3600 SOA dns1.example3. hostmaster.example3. 2010111213 10800 3600 1209600 7200
example3. 3600 NS dns1.example3.
example3. 3600 NS dns2.example3.
added.example3. 3600 A 1.2.3.4
dns1.example3. 3600 A 192.0.2.1
dns1.example3. 3600 AAAA 2001:db8::1
dns2.example3. 3600 A 192.0.2.2
dns2.example3. 3600 AAAA 2001:db8::2
;; Written 8 records
;; Time 2021-07-07 14:39:48 CEST
label: Knot DNS Backup
backup_version: 2
identity: tester.knot-dns.cz
started_time: 2021-07-07 14:39:48 CEST
finished_time: 2021-07-07 14:39:48 CEST
knot_version: 3.1.dev.1625122029.e48145931
parameters: +zonefile +nojournal +timers +kaspdb +catalog +backupdir backup_for_tests
zone_count: 3
File added
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment