Hello Barry,

It is nice to hear this kind of enthousiasm and success !

Please when you get it going to your satisfaction, send us the details. I am 
sure there a lot of users who would like to accomplish the same thing.

I'm still concerned about how Bacula is going to deal with directories and 
volumes that "disappear".  In any case, I have my two little 2GB USB devices, 
and I am going to work over the next months on making Bacula understand what 
a USB device is and to deal with it in a more reasonable way.  To do this, I 
think there are more than sufficient directives in the Device resource in the 
SD, with one exception -- most likely I need to add a "Device Type = xxx" 
directive which could have values such as "Tape, File, DVD, USB, FIFO, ..."
Bacula currently "guesses" at what the device type is, and in most cases, it 
gets it right, but USB vs DVD is not so easy, and on FreeBSD there is no 
distinction between character devices and block devices.  

On Saturday 14 January 2006 04:27, Barry L. Bond wrote:
> Hey, Kern, Arno and Josh!
>
>      I GOT IT -- I GOT IT -- I GOT IT!  :-)
>
>      I desire to have my Western Digital drive on /media/wd.  I desire the
> wd directory (in /media) to be created when the drive is on/connected, and
> removed when the drive is unmounted/off.  (That way, if bacula is
> intending to write to that pathlist, it will result in an error, rather
> than writing to a different partition/filesystem than I intend.  Thank
> you, Josh.)
>
>      When, I turn the Western Digital drive on, guess what I see?
>
> <<>>
> [EMAIL PROTECTED] ~]$ ldir /media/
> total 24
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 cdrecorder/
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 cdrom/
> drwxr-xr-x  2 root root 4096 Sep 10 16:27 floppy/
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 floppy1/
> drwxr-xr-x  3 root root 4096 Jan 10 02:55 wd/
> [EMAIL PROTECTED] ~]$ ldir /media/wd/
> total 24440340
> -rw-r-----  1 root root 2321692015 Nov 22 02:11 Diff-2005-11-22-1-5-5
> -rw-r-----  1 root root  214593315 Nov 22 02:14 Diff-2005-11-22-2-13-6
> -rw-r-----  1 root root 2497455952 Nov 29 02:14 Diff-2005-11-29-1-5-5
> -rw-r-----  1 root root  216893388 Nov 29 02:17 Diff-2005-11-29-2-16-29
> -rw-r-----  1 root root 1271932767 Dec 13 01:42 Diff-2005-12-13-1-5-6
> -rw-r-----  1 root root  317586974 Dec 13 02:16 Diff-2005-12-13-2-12-33
> -rw-r-----  1 root root 3348983107 Dec 20 02:41 Diff-2005-12-20-1-5-5
> -rw-r-----  1 root root  221923562 Dec 20 02:44 Diff-2005-12-20-2-43-37
> -rw-r-----  1 root root 3363478419 Dec 27 02:41 Diff-2005-12-27-1-5-5
> -rw-r-----  1 root root  190048948 Dec 27 02:44 Diff-2005-12-27-2-43-38
> -rw-r-----  1 root root 3834977288 Jan 10 02:54 Diff-2006-1-10-1-5-5
> -rw-r-----  1 root root  157640978 Jan 10 02:56 Diff-2006-1-10-2-55-46
> -rw-r-----  1 root root 6727903645 Dec  6 05:22 Full-2005-12-6-1-5-5
> -rw-r-----  1 root root  317247879 Dec  6 05:32 Full-2005-12-6-5-27-24
> drwx------  2 root root      16384 Nov 12 18:22 lost+found/
> <<>>
>
>      And when I turn it off, it goes away!  :-)
>
>      And, the SimpleTech drive.  It is another USB device.  I want to have
> a directory in /media called simpletech created if this drive is turned
> on/connected/mounted.  Guess what I see when I turn it on?
>
> <<>>
> [EMAIL PROTECTED] ~]$ ldir /media
> total 20
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 cdrecorder/
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 cdrom/
> drwxr-xr-x  2 root root 4096 Sep 10 16:27 floppy/
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 floppy1/
> drwxr-xr-x  3 root root 4096 Dec 31 02:43 simpletech/
> [EMAIL PROTECTED] ~]$ ldir /media/simpletech/
> total 38318812
> -rw-r-----  1 root root  161052743 Oct 22 04:16 Diff-2005-10-22-4-15-26
> -rw-r-----  1 root root  320925208 Oct 30 01:16 Diff-2005-10-29-1-5-5
> -rw-r-----  1 root root  321375463 Oct 30 01:16 Diff-2005-10-30-1-5-5
> -rw-r-----  1 root root  162904207 Oct 30 02:12 Diff-2005-10-30-2-11-25
> -rw-r-----  1 root root  161952286 Nov 12 01:13 Diff-2005-11-12-1-5-5
> -rw-r-----  1 root root  212294773 Nov 12 02:12 Diff-2005-11-12-2-11-48
> -rw-r-----  1 root root  406989923 Nov 19 01:38 Diff-2005-11-19-1-5-6
> -rw-r-----  1 root root  213489335 Nov 19 02:19 Diff-2005-11-19-2-16-1
> -rw-r-----  1 root root 2449640734 Nov 26 02:15 Diff-2005-11-26-1-5-5
> -rw-r-----  1 root root  215715112 Nov 26 02:18 Diff-2005-11-26-2-17-16
> -rw-r-----  1 root root 1263419452 Dec 10 01:43 Diff-2005-12-10-1-5-5
> -rw-r-----  1 root root  317365729 Dec 10 02:15 Diff-2005-12-10-2-12-31
> -rw-r-----  1 root root 1358807451 Dec 17 01:46 Diff-2005-12-17-1-5-5
> -rw-r-----  1 root root  213339685 Dec 17 02:12 Diff-2005-12-17-2-11-49
> -rw-r-----  1 root root 3353215706 Dec 24 02:41 Diff-2005-12-24-1-5-5
> -rw-r-----  1 root root  181710603 Dec 24 02:45 Diff-2005-12-24-2-44-34
> -rw-r-----  1 root root 3360397054 Dec 31 02:41 Diff-2005-12-31-1-5-5
> -rw-r-----  1 root root  196701276 Dec 31 02:44 Diff-2005-12-31-2-43-20
> -rw-r-----  1 root root  239920658 Oct 14 23:44 Full-2005-10-14-23-32-31
> -rw-r-----  1 root root    3811004 Oct 14 23:52 Full-2005-10-14-23-52-31
> -rw-r-----  1 root root 4034026303 Oct 15 18:37 Full-2005-10-15-14-52-50
> -rw-r-----  1 root root  238916671 Oct 15 01:14 Full-2005-10-15-1-5-5
> -rw-r-----  1 root root   64980464 Oct 15 18:50 Full-2005-10-15-18-49-39
> -rw-r-----  1 root root    2079931 Oct 15 02:10 Full-2005-10-15-2-10-6
> -rw-r-----  1 root root 4058730490 Oct 16 01:09 Full-2005-10-15-21-19-58
> -rw-r-----  1 root root  112479749 Oct 16 01:11 Full-2005-10-16-1-11-7
> -rw-r-----  1 root root 4105254364 Oct 22 04:13 Full-2005-10-22-1-5-6
> -rw-r-----  1 root root 4285060623 Nov  5 03:52 Full-2005-11-5-1-5-5
> -rw-r-----  1 root root  212161246 Nov  5 03:55 Full-2005-11-5-3-54-17
> -rw-r-----  1 root root 6704136413 Dec  3 04:59 Full-2005-12-3-1-5-5
> -rw-r-----  1 root root  267073326 Dec  3 05:05 Full-2005-12-3-5-1-42
> drwx------  2 root root      16384 Oct  8 02:42 lost+found/
> <<>>
>
>      And, when I unmounted it and turn it off, that directory goes away:
>
> <<>>
> [EMAIL PROTECTED] ~]$ ldir /media
> total 16
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 cdrecorder/
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 cdrom/
> drwxr-xr-x  2 root root 4096 Sep 10 16:27 floppy/
> drwxr-xr-x  2 root root 4096 Jan  8 19:05 floppy1/
> <<>>
>
>      Okay.  This upcoming weekend, I hope to finish this!
>
>      Arno, I will be fine with a backup one time per week, to each device.
> Every Saturday for the SimpleTech, every Tuesday for the Western Digital.
> The first Saturday/Tuesday of the month, a full backup.  Every other
> Saturday/Tuesday of the month, a differential.  (This way, if I lose one
> or the other device, I have a backup device that is a completely separate
> device, and there still should have been a backup to it within the past
> week.)
>
>      Kern and others:  I still have a LOT of straightening up to do to my
> configuration files.  However, the backup this past Tuesday morning
> worked.  And, my restore -- that one file I deleted about which I posted
> in another message -- I got that file back.  Things are looking up!  :-)
>
>      By the month of February, next month, I intend to have my normal
> monthly schedule in place (full backup on first Sat/Tue, diff on other
> Sat's/Tue's).
>
>      I just wanted to let you all know this.  I want to say THANK YOU VERY
> MUCH FOR YOUR HELP!  I'll post again -- soon!
>
>      :-)
>
>      Barry

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to