aboutsummaryrefslogtreecommitdiff
path: root/ystv.rb
blob: ae94acbc32ac8e2e2f2bc6b8e36b75e8cab08163 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ystvlib = library "ystv" do
	tape "ystv01"
	tape "ystv02"
	tape "ystv03"
	tape "ystv04"
	tape "ystv05"
	tape "ystv06"
	tape "ystv07"
	tape "ystv08"
	tape "ystv09"
	tape "ystv10"
end

urylib = library "ury" do
	tape "ury001", :slot => 11
	tape "ury002", :slot => 12
	tape "ury003", :slot => 13
	tape "ury004", :slot => 14
	tape "ury005", :slot => 15
	tape "ury006", :slot => 16
	tape "ury007", :slot => 17
	tape "ury008", :slot => 18
	tape "ury009", :slot => 19
	tape "ury010", :slot => 20
end

wallyrobot = robot "wally" do
	uselibrary ystvlib
	uselibrary urylib
end

backups "backuptotape", wallyrobot do
	backup(
		"/data/backups/" => "ystv",
		"/mnt/urybackup/" => "ury"
	)
end