what are you trying to accomplish? /etc really holds no vital information to DATA. it holds some system settings like your network settings and a few others, but nothing vital to a recovery.
why would you use samba to share /etc??? are you wanting to backup up files in /etc to a MS Windows computer? If that is the case create the share on the MS box and mount a cifs mount point. much simpler and more efficient. just use rsync to backup the data, but remember to look up in the man page for rsync howto tell rsync were to use for a /tmp as you will not be able to rsync directly to the cifs mount point in some cases. that all depends on the MS Windows box, but in 99.9% of the time you will have to tell rsync to use a local /tmp and not /path/to/foo/tmp during the transfer of files.
more importantly you should look to backing up DATA and any custom settings. your network settings, dhcp, dns, NFS shares via exports, etc... again really no need to backup the entire /etc directory.
|