chiark / gitweb /
Found on anarres in /etc.
authorianmdlvl <ianmdlvl>
Sun, 7 Oct 2001 16:17:15 +0000 (16:17 +0000)
committerianmdlvl <ianmdlvl>
Sun, 7 Oct 2001 16:17:15 +0000 (16:17 +0000)
29 files changed:
backup/Makefile-etc [new file with mode: 0644]
backup/expected-diffs [new file with mode: 0644]
backup/fsys.all [new file with mode: 0644]
backup/fsys.pt0 [new file with mode: 0644]
backup/fsys.pt1 [new file with mode: 0644]
backup/fsys.pt2 [new file with mode: 0644]
backup/ifsys.end [new file with mode: 0644]
backup/ifsys.prefixes [new file with mode: 0644]
backup/ifsys.pt0 [new file with mode: 0644]
backup/ifsys.pt1 [new file with mode: 0644]
backup/ifsys.pt2 [new file with mode: 0644]
backup/settings.pl [new file with mode: 0644]
backup/tape.ks [new file with mode: 0644]
backup/tape.kt [new file with mode: 0644]
backup/tape.s0 [new file with mode: 0644]
backup/tape.s1 [new file with mode: 0644]
backup/tape.s2 [new file with mode: 0644]
backup/tape.t0 [new file with mode: 0644]
backup/tape.t1 [new file with mode: 0644]
backup/tape.t2 [new file with mode: 0644]
backup/tape.u0 [new file with mode: 0644]
backup/tape.u1 [new file with mode: 0644]
backup/tape.u2 [new file with mode: 0644]
backup/tape.v0 [new file with mode: 0644]
backup/tape.v1 [new file with mode: 0644]
backup/tape.v2 [new file with mode: 0644]
backup/warnings. [new file with mode: 0755]
backup/warnings.now [new file with mode: 0755]
backup/warnings.soon [new file with mode: 0755]

diff --git a/backup/Makefile-etc b/backup/Makefile-etc
new file mode 100644 (file)
index 0000000..89bee04
--- /dev/null
@@ -0,0 +1,8 @@
+
+all:           fsys.pt0 fsys.pt1 fsys.pt2 fsys.all
+
+fsys.pt%:      ifsys.prefixes ifsys.pt% ifsys.end
+               cat $^ >$@.new && mv -f $@.new $@
+
+fsys.all:      ifsys.prefixes ifsys.pt0 ifsys.pt1 ifsys.pt2 ifsys.end
+               cat $^ >$@.new && mv -f $@.new $@
diff --git a/backup/expected-diffs b/backup/expected-diffs
new file mode 100644 (file)
index 0000000..5609903
--- /dev/null
@@ -0,0 +1,7 @@
+#!sfere:/opt/bigdisc
+!davenant:/export/mirror
+davenant:/export/mirror/work
+!davenant:/export/mp3
+!kadath:/tmp
+#!elmyra:/mnt/fat/data
+end
diff --git a/backup/fsys.all b/backup/fsys.all
new file mode 100644 (file)
index 0000000..26b8a9c
--- /dev/null
@@ -0,0 +1,44 @@
+#
+
+prefix davenant ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' davenant 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+prefix xenophobe ssh -o 'BatchMode yes' -c blowfish -o 'Compression no' xenophobe 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix khem ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' khem 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix kadath ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' kadath -l ian 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH really'
+prefix-df kadath /bin/df -t noprocfs,nfs
+#
+
+/usr/src               dump    davenant
+
+/var                   dump    davenant
+/u                     dump    davenant
+/                      dump
+
+/                      dump    davenant
+
+/export/mirror/work    cpio    davenant
+
+/usr                   dump    davenant
+/boot                  dump    davenant
+#
+
+/                      dump    kadath
+
+/usr                   dump    kadath
+/var                   dump    kadath
+/home                  dump    kadath
+
+/var                   dump    khem
+/home                  dump    khem
+/                      dump    khem
+
+/usr                   dump    khem
+#
+
+/                      dump    xenophobe
+
+/dos/c                 cpio
+/dos/d                 cpio
+
+end
diff --git a/backup/fsys.pt0 b/backup/fsys.pt0
new file mode 100644 (file)
index 0000000..f14c114
--- /dev/null
@@ -0,0 +1,25 @@
+#
+
+prefix davenant ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' davenant 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+prefix xenophobe ssh -o 'BatchMode yes' -c blowfish -o 'Compression no' xenophobe 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix khem ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' khem 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix kadath ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' kadath -l ian 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH really'
+prefix-df kadath /bin/df -t noprocfs,nfs
+#
+
+/usr/src               dump    davenant
+
+/var                   dump    davenant
+/u                     dump    davenant
+/                      dump
+
+/                      dump    davenant
+
+/export/mirror/work    cpio    davenant
+
+/usr                   dump    davenant
+/boot                  dump    davenant
+
+end
diff --git a/backup/fsys.pt1 b/backup/fsys.pt1
new file mode 100644 (file)
index 0000000..e1118b3
--- /dev/null
@@ -0,0 +1,24 @@
+#
+
+prefix davenant ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' davenant 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+prefix xenophobe ssh -o 'BatchMode yes' -c blowfish -o 'Compression no' xenophobe 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix khem ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' khem 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix kadath ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' kadath -l ian 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH really'
+prefix-df kadath /bin/df -t noprocfs,nfs
+#
+
+/                      dump    kadath
+
+/usr                   dump    kadath
+/var                   dump    kadath
+/home                  dump    kadath
+
+/var                   dump    khem
+/home                  dump    khem
+/                      dump    khem
+
+/usr                   dump    khem
+
+end
diff --git a/backup/fsys.pt2 b/backup/fsys.pt2
new file mode 100644 (file)
index 0000000..ebbb185
--- /dev/null
@@ -0,0 +1,17 @@
+#
+
+prefix davenant ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' davenant 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+prefix xenophobe ssh -o 'BatchMode yes' -c blowfish -o 'Compression no' xenophobe 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix khem ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' khem 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix kadath ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' kadath -l ian 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH really'
+prefix-df kadath /bin/df -t noprocfs,nfs
+#
+
+/                      dump    xenophobe
+
+/dos/c                 cpio
+/dos/d                 cpio
+
+end
diff --git a/backup/ifsys.end b/backup/ifsys.end
new file mode 100644 (file)
index 0000000..7f2d065
--- /dev/null
@@ -0,0 +1,2 @@
+
+end
diff --git a/backup/ifsys.prefixes b/backup/ifsys.prefixes
new file mode 100644 (file)
index 0000000..c4f034e
--- /dev/null
@@ -0,0 +1,9 @@
+#
+
+prefix davenant ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' davenant 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+prefix xenophobe ssh -o 'BatchMode yes' -c blowfish -o 'Compression no' xenophobe 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix khem ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' khem 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH'
+
+prefix kadath ssh -o 'BatchMode yes' -c blowfish -o 'Compression yes' -o 'CompressionLevel 1' kadath -l ian 'PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:$PATH really'
+prefix-df kadath /bin/df -t noprocfs,nfs
diff --git a/backup/ifsys.pt0 b/backup/ifsys.pt0
new file mode 100644 (file)
index 0000000..8991f2a
--- /dev/null
@@ -0,0 +1,14 @@
+#
+
+/usr/src               dump    davenant
+
+/var                   dump    davenant
+/u                     dump    davenant
+/                      dump
+
+/                      dump    davenant
+
+/export/mirror/work    cpio    davenant
+
+/usr                   dump    davenant
+/boot                  dump    davenant
diff --git a/backup/ifsys.pt1 b/backup/ifsys.pt1
new file mode 100644 (file)
index 0000000..b3b4edc
--- /dev/null
@@ -0,0 +1,13 @@
+#
+
+/                      dump    kadath
+
+/usr                   dump    kadath
+/var                   dump    kadath
+/home                  dump    kadath
+
+/var                   dump    khem
+/home                  dump    khem
+/                      dump    khem
+
+/usr                   dump    khem
diff --git a/backup/ifsys.pt2 b/backup/ifsys.pt2
new file mode 100644 (file)
index 0000000..1d59f10
--- /dev/null
@@ -0,0 +1,6 @@
+#
+
+/                      dump    xenophobe
+
+/dos/c                 cpio
+/dos/d                 cpio
diff --git a/backup/settings.pl b/backup/settings.pl
new file mode 100644 (file)
index 0000000..5e9c5d5
--- /dev/null
@@ -0,0 +1,13 @@
+#
+chdir '/var/local/backup' or die $!;
+push(@INC,'/usr/local/lib/backup');
+$ENV{'PATH'}= '/usr/local/lib/backup:/usr/local/bin:'.$ENV{'PATH'};
+$ENV{'PATH'} =~ s,^/usr/local/lib/backup:/usr/local/bin:,,;
+$blocksize= 1;
+$blocksizebytes= 512*$blocksize;
+$softblocksizekb= 1;
+$softblocksizebytes= 1024*$softblocksizekb;
+$tapename= 'st0';
+$tape= "/dev/$tapename";
+$ntape= "/dev/n$tapename";
+1;
diff --git a/backup/tape.ks b/backup/tape.ks
new file mode 100644 (file)
index 0000000..cad1fa7
--- /dev/null
@@ -0,0 +1,2 @@
+incremental
+end
diff --git a/backup/tape.kt b/backup/tape.kt
new file mode 100644 (file)
index 0000000..cad1fa7
--- /dev/null
@@ -0,0 +1,2 @@
+incremental
+end
diff --git a/backup/tape.s0 b/backup/tape.s0
new file mode 100644 (file)
index 0000000..a2a30dd
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt0
+next s1
+end
diff --git a/backup/tape.s1 b/backup/tape.s1
new file mode 100644 (file)
index 0000000..7d333f5
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt1
+next s2
+end
diff --git a/backup/tape.s2 b/backup/tape.s2
new file mode 100644 (file)
index 0000000..81499eb
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt2
+next t0
+end
diff --git a/backup/tape.t0 b/backup/tape.t0
new file mode 100644 (file)
index 0000000..3da59fe
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt0
+next t1
+end
diff --git a/backup/tape.t1 b/backup/tape.t1
new file mode 100644 (file)
index 0000000..2e5b4f5
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt1
+next t2
+end
diff --git a/backup/tape.t2 b/backup/tape.t2
new file mode 100644 (file)
index 0000000..627dbd9
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt2
+next u0
+end
diff --git a/backup/tape.u0 b/backup/tape.u0
new file mode 100644 (file)
index 0000000..0c47152
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt0
+next u1
+end
diff --git a/backup/tape.u1 b/backup/tape.u1
new file mode 100644 (file)
index 0000000..f570303
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt1
+next u2
+end
diff --git a/backup/tape.u2 b/backup/tape.u2
new file mode 100644 (file)
index 0000000..44dcec4
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt2
+next v0
+end
diff --git a/backup/tape.v0 b/backup/tape.v0
new file mode 100644 (file)
index 0000000..b9f3ccb
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt0
+next v1
+end
diff --git a/backup/tape.v1 b/backup/tape.v1
new file mode 100644 (file)
index 0000000..bfbc0e0
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt1
+next v2
+end
diff --git a/backup/tape.v2 b/backup/tape.v2
new file mode 100644 (file)
index 0000000..b85219a
--- /dev/null
@@ -0,0 +1,3 @@
+filesystems pt2
+next s0
+end
diff --git a/backup/warnings. b/backup/warnings.
new file mode 100755 (executable)
index 0000000..d42696b
--- /dev/null
@@ -0,0 +1,4 @@
+T 300 "in 10 minutes"
+T 240 "in 5 minutes"
+T 45 "in 1 minute"
+T 15 "in 15 seconds"
diff --git a/backup/warnings.now b/backup/warnings.now
new file mode 100755 (executable)
index 0000000..e69de29
diff --git a/backup/warnings.soon b/backup/warnings.soon
new file mode 100755 (executable)
index 0000000..14d7bd2
--- /dev/null
@@ -0,0 +1,2 @@
+T 45 "in 1 minute"
+T 15 "in 15 seconds"