From 996814c2a35b6dfd50fac3c808ce4203734915d7 Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Mon, 17 Jun 2013 19:25:21 +0100 Subject: Changed uselibrary and added backup --- ystv.rb | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'ystv.rb') diff --git a/ystv.rb b/ystv.rb index 2d90802..ae94acb 100644 --- a/ystv.rb +++ b/ystv.rb @@ -24,7 +24,14 @@ urylib = library "ury" do tape "ury010", :slot => 20 end -tapebackup = robot "tapebackup" do - uselibrary "ystv", ystvlib - uselibrary "ury", urylib +wallyrobot = robot "wally" do + uselibrary ystvlib + uselibrary urylib +end + +backups "backuptotape", wallyrobot do + backup( + "/data/backups/" => "ystv", + "/mnt/urybackup/" => "ury" + ) end -- cgit v1.2.1