Yes, I saw this a few minutes ago.  Setting hardlinks = yes in my fileset
would fix this.  I'm debating what to do about this. It might be that for
/etc I don't need to worry about it.

Jason

On 10/1/07, Ryan Novosielski <[EMAIL PROTECTED]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I don't know if you've checked this in the manual, but there is
> something that refers to behavior when encountering hard links in there.
>
> =R
>
> jay wrote:
> > I don't have a problem doing this here.  But if I am restoring 20,000
> > files and some of those are hard linked, which I might or might not know
> > about, then it might be an issue.  I think some type of warning would've
> > been really nice in the restore email.  Maybe?
> >
> > Jason
> >
> > On 10/1/07, *Arno Lehmann* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >     Hi,
> >
> >     01.10.2007 20:57,, jay wrote::
> >     > Thanks Chris and Arno,
> >     >
> >     > The files are indeed hard linked
> >     >
> >     > [EMAIL PROTECTED] ~]# stat /etc/hosts
> >     >   File: `/etc/hosts'
> >     >   Size: 591             Blocks: 16         IO Block: 4096
> >     regular file
> >     > Device: 802h/2050d      Inode: 33011       Links: 2
> >     > Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid:
> >     (    0/    root)
> >     > Access: 2007-10-01 13:52:26.000000000 -0500
> >     > Modify: 2007-07-30 09:49: 55.000000000 -0500
> >     > Change: 2007-07-30 09:49:55.000000000 -0500
> >     >
> >     > [EMAIL PROTECTED] ~]# stat
> >     /etc/sysconfig/networking/profiles/default/hosts
> >     >   File: `/etc/sysconfig/networking/profiles/default/hosts'
> >     >   Size: 591             Blocks: 16         IO Block: 4096
> >     regular file
> >     > Device: 802h/2050d      Inode: 33011       Links: 2
> >     > Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid:
> >     (    0/    root)
> >     > Access: 2007-10-01 13:52:26.000000000 -0500
> >     > Modify: 2007-07-30 09:49:55.000000000 -0500
> >     > Change: 2007-07-30 09:49:55.000000000 -0500
> >     > [EMAIL PROTECTED] ~]#
> >     >
> >     > Now that we have established that, is there a way to restore that
> >     file
> >     > with Bacula?  Or does Bacula not handle hard links?
> >
> >     But didn't you just lear that Bacula handles hard links? ;-)
> >
> >     Admittedly, it might handle them differently... for now, I'd suggest
> >     to simple rm /etc/hosts and link it to the restored copy again.
> >
> >     Arno
> >
> >     > Thanks for the quick responses
> >     >
> >     > Jason
> >     >
> >     >
> >     > On 10/1/07, *Arno Lehmann* <[EMAIL PROTECTED]
> >     <mailto:[EMAIL PROTECTED]>
> >     > <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> wrote:
> >     >
> >     >     Hi,
> >     >
> >     >     01.10.2007 20:05,, jay wrote::
> >     >      > Hello,
> >     >      >
> >     >      > I'm having a weird problem trying to restore /etc/hosts on
> a
> >     >     RHEL4 box.
> >     >      > I'm testing Bacula 2.2.4 on this box, with a MySQL 4
> backend.
> >     >      > Everything works great so far including my first test
> restores.
> >     >      > However, today I tried to do a restore of /etc/hosts.  I
> >     enter file
> >     >      > selection mode, cd /etc, mark hosts, then do an estimates
> >     and it
> >     >     says 2
> >     >      > files are marked for restoration.  Ok, thats weird.
> >     >
> >     >     I'm not sure there, but I see two possible reasons for this:
> The
> >     >     second file could either be the /etc directory, or...
> >     >
> >     >      >  When I finish the
> >     >      > restore, no files are restored, except the
> >     >      > etc/sysconfig/networking/profiles/default directory
> >     >     structure.  Now, on
> >     >      > the real filesystem, there is a hosts file in that
> >     directory, as
> >     >     well as
> >     >      > /etc/hosts.  But they are not symlinked.
> >     >
> >     >     ... the two files are not symlinked but hard links to only one
> >     set of
> >     >     data.
> >     >
> >     >      >  It seems like Bacula is
> >     >      > getting confused about which hosts file I actually want
> >     restored.  It
> >     >      > happens if I set the restore client to the same machine, or
> a
> >     >     different
> >     >      > one.
> >     >
> >     >     I think that, in case these files are hard links, Bacula
> should
> >     >     restore the one you explicitly selected, i.e. /etc/hosts. What
> it
> >     >     should do the other hard links is something *I* wouldn't want
> to
> >     >     decide...
> >     >
> >     >     Arno
> >     >
> >     >      >
> >     >      > Perhaps this is just my inexperience with the software, but
> can
> >     >     someone
> >     >      > offer a suggestion as to what the problem might be?  Maybe
> >     >     someone else
> >     >      > can confirm this happens with them?  Thanks
> >     >      >
> >     >      > Jason
> >     >      >
> >     >      >
> >     >      >
> >     >
> >
> ------------------------------------------------------------------------
> >
> >     >      >
> >     >      >
> >     >
> >
> -------------------------------------------------------------------------
> >     >      > This SF.net email is sponsored by: Microsoft
> >     >      > Defy all challenges. Microsoft(R) Visual Studio 2005.
> >     >      > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >     >     < http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/>
> >     >      >
> >     >      >
> >     >      >
> >     >
> >
> ------------------------------------------------------------------------
> >     >      >
> >     >      > _______________________________________________
> >     >      > Bacula-users mailing list
> >     >      > Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>
> >     >     <mailto: Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>>
> >     >      > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >     <https://lists.sourceforge.net/lists/listinfo/bacula-users>
> >     >
> >     >     --
> >     >     Arno Lehmann
> >     >     IT-Service Lehmann
> >     >     www.its-lehmann.de <http://www.its-lehmann.de>
> >     <http://www.its-lehmann.de >
> >     >
> >     >
> >
> -------------------------------------------------------------------------
> >     >     This SF.net email is sponsored by: Microsoft
> >     >     Defy all challenges. Microsoft(R) Visual Studio 2005.
> >     >     http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >     >     _______________________________________________
> >     >     Bacula-users mailing list
> >     >     Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>
> >     >     <mailto:Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>>
> >     >     https://lists.sourceforge.net/lists/listinfo/bacula-users
> >     >
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >
> >     >
> >     >
> >
> -------------------------------------------------------------------------
> >     > This SF.net email is sponsored by: Microsoft
> >     > Defy all challenges. Microsoft(R) Visual Studio 2005.
> >     > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >     >
> >     >
> >     >
> >
> ------------------------------------------------------------------------
> >     >
> >     > _______________________________________________
> >     > Bacula-users mailing list
> >     > Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>
> >     > https://lists.sourceforge.net/lists/listinfo/bacula-users
> >     <https://lists.sourceforge.net/lists/listinfo/bacula-users>
> >
> >     --
> >     Arno Lehmann
> >     IT-Service Lehmann
> >     www.its-lehmann.de <http://www.its-lehmann.de>
> >
> >
> -------------------------------------------------------------------------
> >     This SF.net email is sponsored by: Microsoft
> >     Defy all challenges. Microsoft(R) Visual Studio 2005.
> >     http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >     _______________________________________________
> >     Bacula-users mailing list
> >     Bacula-users@lists.sourceforge.net
> >     <mailto:Bacula-users@lists.sourceforge.net>
> >     https://lists.sourceforge.net/lists/listinfo/bacula-users
> >     <https://lists.sourceforge.net/lists/listinfo/bacula-users>
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> - --
> ---- _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
> |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHAU7Rmb+gadEcsb4RAr2hAJ0U38rNGGAnID+xYIb439wdPtBBGACgwDvp
> KSRiNz6+7NyXzMSv95h0Pl4=
> =O64r
> -----END PGP SIGNATURE-----
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to