Re: [Bacula-users] Re - Restore failed - bacula-fd doesn't follow symbolic links
Op 20120810 om 17:04 schreef Davide Franco: On Fri, Aug 10, 2012 at 3:57 PM, Rados aw Korzeniewski wrote: 2012/8/10 Davide Franco dfra...@dflc.ch Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Bacula does not follow any symbolic links. It just backups a symbolic link as a symbolic link no matter if it points to the file or directory. Automatically follow symbolic links threatens to uncontrolled looping. For example when someone (user) will make a simple command: $ ln -s . a If you want to backup a resources which was followed by symbolic link you have to add this resources to the FileSet definition. this sounds good for me. It's exactly what I did to recover my data. I just had to figure out where my data were located and it worked fine. Nothing new: Make it possible to read in the discussion order -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re - Restore failed - bacula-fd doesn't follow symbolic links
Hello all, I've just found a way to fix the problem I have. It was dns resolution problem (see bacula logs below). Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Any suggestion would be greatly appreciated. Best regards Davide On Fri, Aug 10, 2012 at 9:11 AM, Geert Stappers geert.stapp...@vanadgroup.com wrote: Op 20120809 om 18:42 schreef Davide Franco: Hello all, today I've tried to restore some files on my server and the job failed. It appear that bacula-fd doesn't follow symbolic link. The server run under Linux Centos version 5.8 with bacula-fd version 5.0.2 I tought that by default, symlink will be followed by the file daemon, isn't ? I think that Bacula doesn't follow symbolic links. If it would follow symlinks it would get in trouble when the symlink is broken. If it would follow symlinks it would write multiple copies to tape, where only one exists on disk. Should I change the FileSet configuration ? As I still need to restore those files, any help would be really appreciated. I would check the filesystem (partition) where symlinks points to. Best regards Davide Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re - Restore failed - bacula-fd doesn't follow symbolic links
Hello, 2012/8/10 Davide Franco dfra...@dflc.ch Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Bacula does not follow any symbolic links. It just backups a symbolic link as a symbolic link no matter if it points to the file or directory. Automatically follow symbolic links threatens to uncontrolled looping. For example when someone (user) will make a simple command: $ ln -s . a If you want to backup a resources which was followed by symbolic link you have to add this resources to the FileSet definition. best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Re - Restore failed - bacula-fd doesn't follow symbolic links
Hello, this sounds good for me. It's exactly what I did to recover my data. I just had to figure out where my data were located and it worked fine. The issue I had was not due 'cause the file daemon doesn't follow symlinks indeed. Thanks for your feedback Regards Davide On Fri, Aug 10, 2012 at 3:57 PM, Radosław Korzeniewski rados...@korzeniewski.net wrote: Hello, 2012/8/10 Davide Franco dfra...@dflc.ch Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Bacula does not follow any symbolic links. It just backups a symbolic link as a symbolic link no matter if it points to the file or directory. Automatically follow symbolic links threatens to uncontrolled looping. For example when someone (user) will make a simple command: $ ln -s . a If you want to backup a resources which was followed by symbolic link you have to add this resources to the FileSet definition. best regards -- Radosław Korzeniewski rados...@korzeniewski.net -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users