I've been having an issue doing restores and I know it has to be something I'm missing but I can't put my finger on it just yet. The problem is the job completes successfully but the directory I try to restore doesn't actually restore (or if it does I don't know where to).
Here's a snip of the log: 15-Mar 06:25 amanda-dir: Bacula 2.0.3 (06Mar07): 15-Mar-2007 06:25:27 JobId: 31 Job: RestoreFiles.2007-03-15_06.20.06 Client: phantom-fd Start time: 15-Mar-2007 06:20:08 End time: 15-Mar-2007 06:25:27 Files Expected: 7 Files Restored: 8 Bytes Restored: 4,102 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination: Restore OK 15-Mar 06:25 amanda-dir: Begin pruning Jobs. 15-Mar 06:25 amanda-dir: No Jobs found to prune. 15-Mar 06:25 amanda-dir: Begin pruning Files. 15-Mar 06:25 amanda-dir: No Files found to prune. 15-Mar 06:25 amanda-dir: End auto prune. Now if I check on the host, the directory actually wasn't restored? The restore was supposed to be /home/clamav on host 'phantom' [EMAIL PROTECTED] home]# pwd && ls -ld /home/clamav /home ls: /home/clamav: No such file or directory I tried doing the restore from the client using bconsole and thought maybe it would restore to my cwd on the client but it's not there either, then I tried from the master (amanda) and it doesn't seem to restore there either. I'm pretty sure it's restoring something somewhere but I can't seem to figure out where :/ Is there a verbose mode for a restore possibly that shows line by line transactions? Second question: one error I get is this: 15-Mar 06:22 amanda-sd: Ready to read from volume "BRT000" on device "Drive-1" (/dev/nst0). 15-Mar 06:22 amanda-sd: Forward spacing Volume "BRT000" to file:block 31:0. 15-Mar 06:24 amanda-sd: Reposition from (file:block) 31:10282 to 33:0 15-Mar 06:25 amanda-sd: End of file 34 on device "Drive-1" (/dev/nst0), Volume "BRT000" 15-Mar 06:25 amanda-sd: Alert: smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen 15-Mar 06:25 amanda-sd: Alert: Home page is http://smartmontools.sourceforge.net/ 15-Mar 06:25 amanda-sd: Alert: 15-Mar 06:25 amanda-sd: Alert: Smartctl open device: *None* failed: No such file or directory 15-Mar 06:25 amanda-sd: 3997 Bad alert command: sh -c 'smartctl -d scsi -H -l error *None*': ERR=Child exited with code 2. So it looks like it's not reading the %c variable or it's something I have yet to define maybe? Here is my device config: Device { Name = Drive-1 # Drive Index = 0 Media Type = DLT7000 Archive Device = /dev/nst0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; AutoChanger = no; Alert Command = "sh -c 'smartctl -d scsi -H -l error %c'" } Does anyone have a better/working line I could use? I know if I try to run it from the command line I get: # sh -c 'smartctl -d scsi -H -l error /dev/nst0' smartctl version 5.33 [i686-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Smartctl open device: /dev/nst0 failed: Device or resource busy Maybe I should set AlwaysOpen = yes; to AlwaysOpen = no;? Comments/suggestions? Regards, Lonny -- "To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work ON it." ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users