7 # Show the build info for NDMJOB
13 # Query the DATA and TAPE agents, force NDMPv2 and NDMv3
21 # ndmjob -q -Tconexus/2,,
22 # ndmjob -q -Tconexus/3,,
26 # Set up FakeTape, a disk file used by the
29 rm -f /usr/tmp/FakeTape FakeTape
30 touch /usr/tmp/FakeTape
31 ln -s /usr/tmp/FakeTape FakeTape
38 ndmjob -o test-tape -T. -fFakeTape -v
39 ndmjob -o test-mover -T. -fFakeTape -v
43 # Label the tape, read back
45 ndmjob -o init-labels -T. -fFakeTape -mMyTape
46 ndmjob -l -T. -fFakeTape
50 # Make sure tape label checking is working
52 ndmjob -c -D. -C /tmp/tough -I so-c.nji -fFakeTape -mMyTapeXXX
55 # Make a backup of the "tough" directory tree
57 ndmjob -cvv -D. -C /tmp/tough -I so-c.nji -fFakeTape -mMyTape
61 # Recover file history using sequential access method
63 ndmjob -tvv -D. -I so-t-seq.nji -fFakeTape -mMyTape -E DIRECT=No
65 diff so-c.nji so-t-seq.nji
68 # Recover file history using direct access method
70 ndmjob -tvv -D. -I so-t.dir.nji -fFakeTape -mMyTape -E DIRECT=Yes
72 diff so-c.nji so-t-dir.nji
76 # Recover entire backup
80 ndmjob -xvv -D. -C /tmp/tough-x -fFakeTape -mMyTape
81 diff -r /tmp/tough /tmp/tough-x