Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Windows 7 backup

Got problems with your B2 or B3? Share and get helped!
Post Reply
skeptic
Posts: 3
Joined: 03 Mar 2011, 15:57

Windows 7 backup

Post by skeptic »

I would like to let Windows 7 use my B3 as backup. This is lots of data so I want to store it on a 2TB ext4 USB drive that is attached to B3.
The method I have tried is to create a symbolic link under /home/storage that points to a catalog in the attached drive. But windows is not able to connect to my link. Connecting to /home/storage works well but not to "linked to" directory.

in /home/storage:
lrwxrwxrwx 1 perf users 19 Mar 16 10:30 cray -> /mnt/usbdr0/crayw7/

Is this a Samba configuration issue or a owner:group issue?

Here is part of my smb.conf. I have added the two lines in bold.
[storage]
comment = Common storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode= 0777
force directory mode = 0777
follow symlinks = yes
wide links = yes
path = /home/storage
hide files = /lost+found/
hide special files = yes
skeptic
Posts: 3
Joined: 03 Mar 2011, 15:57

Re: Windows 7 backup

Post by skeptic »

I have found a solution that works.
Edit the [global] section of /etc/samba/smb.conf this way (correct or add the missing lines):

Code: Select all

follow symlinks = yes
wide symlinks = yes
unix extensions = no
Now Windows 7 may mount a share on a USB disk attached to B3 by following a symbolic link located in /home/storage which points to a directory on the USB disk.
Cheeseboy
Posts: 789
Joined: 08 Apr 2007, 12:16

Re: Windows 7 backup

Post by Cheeseboy »

Hi skeptic,

I'm glad to see you found a solution.
Please take the time to add it to the how-to section of the wiki.

Cheers,

Cheeseboy
Post Reply