[CentOS] Backups on external USB HDD

Tue Nov 20 13:05:22 UTC 2007
Alain Spineux <aspineux at gmail.com>

This is autofs package

       The  automount  program is used to configure a mount point for autofs,
       the inlined Linux automounter.   automount  works  by  taking  a  base
       mount-point  and  map  file,  and  using  these  (combined  with other
       options) to automatically mount filesystems  within  the  base  mount-
       point  when  they  are  accessed in any way.  The filesystems are then
       autounmounted after a period of inactivity.


On Nov 20, 2007 1:23 PM, Alain Spineux <aspineux at gmail.com> wrote:
> On Nov 20, 2007 12:43 PM, Ugo Bellavance <ugob at lubik.ca> wrote:
> > Hi,
> >
> >         I'm trying to implement this:
> >
> > I have:
> >
> > - A windows 2000 server
> > - A centos 4 server
> > - Monday, Tuesday, Wednesday, Thursday, Friday, Monthly.
> >
> > The tape drive in the windows server died recently and I decided to
> > switch to USB external drives.  However, the USB controller in the
> > windows server is only 1.1, so it is very slow.
> >
> > I didn't want to install a 2.0 USB controller in the windows server
> > since it is a brand-name and I didn't want to make it unstable, so I
> > decided to make the backups of the windows server (using Backup Exec) on
> > the linux box.
> >
> > So backup exec writes on the linux box via samba, directly on the USB
> > drive. (I thought of writing on the linux box FS directly, then
> > rsync'ing to the USB drive), but the space available on the local FS is
> > about 90 gigs while the external USB drives are 250 gigs, meaning that I
> > can keep like 4 weeks of data on the USB drives (using backup exec
> > settings), while I could only keep 1 or 2 weeks otherwise.
> >
> > My questions is:
> >
> > -how can the USB drives be umounted/mounted automatically when the
> > person on site changes it (monday to tuesday, for example).  There will
> > always be only one HDD conected at the time.
>
> Longtime ago, I did the some on a ZIP drive.
> I used "automountd" I think, I'm sure about "auto" not about the remainder
> The ZIP drive was unmounted when unused for more than 5min.
> And remounted when trying to access is mounting point.
>
> I googled a little but did not find anything.
>
> Otherwhise you can suppose your employee will change the tape at
> a know time and add a script in the cron to dismount 1H before.
>
> Also you con dismount the drive using "plink" utility from window's
> putty package,
> from your windows server, when your backup is done!
>
>
>
>
>
> >
> > Thanks,
> > Ugo
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
>
> --
> Alain Spineux
> aspineux gmail com
> May the sources be with you
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you