Backups via samba share
I'm sure this should be easy but I'm getting nowhere with Google... I've created a directory, /backup, which contains symlinks to a number of directories I want to backup across the network (eg /var/lib/mysql is symlinked into that dir). I need to create a samba share which provides read access to all files in that directory. So far I have: [backups] comment = Backups force group = root force user = root path = /backups writeable = no .. but the contents of the directories (like /var/lib/mysql) are not accessible. What am I doing wrong? -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555 Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG
Mark, Have you tried adding: follow symlinks=yes to your smb.conf? This has worked for me in the past where its been set otherwise, I believe yes is the default in Gentoo nowadays but your distro may vary. Jim ----- Original Message ----- From: "Mark Rogers" <mark@quarella.co.uk> To: "ALUG - mailing list" <main@lists.alug.org.uk> Sent: Monday, 22 December, 2008 13:25:44 GMT +00:00 GMT Britain, Ireland, Portugal Subject: [ALUG] Backups via samba share I'm sure this should be easy but I'm getting nowhere with Google... I've created a directory, /backup, which contains symlinks to a number of directories I want to backup across the network (eg /var/lib/mysql is symlinked into that dir). I need to create a samba share which provides read access to all files in that directory. So far I have: [backups] comment = Backups force group = root force user = root path = /backups writeable = no .. but the contents of the directories (like /var/lib/mysql) are not accessible. What am I doing wrong? -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555 Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG _______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
Jim Rippon wrote:
Have you tried adding:
follow symlinks=yes
Adding it made no difference (I think it was set by default anyway). I can get to //IP.ADDRESS/backups/mysql but cannot get into any of the database directories below that, so I believe it is a permissions issue. -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0845 45 89 555 Registered in England (0456 0902) at 13 Clarke Rd, Milton Keynes, MK1 1LG
participants (2)
-
Jim Rippon -
Mark Rogers