Ubuntu Seafile Server Data Stored On Windows Share

258 views
Skip to first unread message

Eric Sietsema

unread,
Nov 22, 2014, 10:24:53 AM11/22/14
to sea...@googlegroups.com
I have Seafile install on a Ubuntu VM that runs on a Windows server host. I want to store the Seafile user data on a share setup on the Windows machine. Is this possible? If so, can anyone please point me in the right direction.

Nicolas Sebrecht

unread,
Nov 22, 2014, 12:21:15 PM11/22/14
to sea...@googlegroups.com, Nicolas Sebrecht
You don't say if the seafile user data are of the client or the server.
If it's about the server data, I'd say the share would be useless
because the data is stored in blobs.

For sharing the client data, you might want to check if the
virtualization technology you use can do that for you. Though, the
standard way is to share the data as for any other baremetal system
whatever the virtualization is. For Windows/Unix, CIFS (samba) is the
main protocol.

I can see no reason not to share the data of seafile *from* the system
running the seafile client. I would be much cautious when it comes to
*put* seafile data *into* a shared location because of the
rights/filenames/resiliance limitations coming with the remote accessing
software (and not fit well with seafile expectations).

--
Nicolas Sebrecht

Eric Sietsema

unread,
Nov 22, 2014, 5:12:24 PM11/22/14
to sea...@googlegroups.com, nicola...@laposte.net
The seafile server is running on a Ubuntu virtual machine hosted on a Windows server. I would like the Seafile data (meaning all the data that belongs to the client libraries), I believe this is the "seafile-data" folder on a standard install. I would like to have this data stored on the Windows server, most likely via a network share. I would like this setup that way because the Windows server has advanced imaging software on it. All the files are backed up everyday. The virtual machines virtual disk is backed up via the imaging software, I'm just more confident backing up the files directly. Also then I don't have to worry about the virtual disk growing and growing, the client data will be on the host machine which has plenty of space.

Shuai Lin

unread,
Nov 22, 2014, 9:15:50 PM11/22/14
to sea...@googlegroups.com
Yes, you can do that. Let's say you have seafile server installed in /data/, and the path of the shared folder in the vm is /shared/.

- First move /data/seafile-data to /shared/seafile-data
- then make /data/seafile-data a symlink to /shard/seafile-data




On Sun, Nov 23, 2014 at 6:12 AM, Eric Sietsema <ericsi...@gmail.com> wrote:
The seafile server is running on a Ubuntu virtual machine hosted on a Windows server. I would like the Seafile data (meaning all the data that belongs to the client libraries), I believe this is the "seafile-data" folder on a standard install. I would like to have this data stored on the Windows server, most likely via a network share. I would like this setup that way because the Windows server has advanced imaging software on it. All the files are backed up everyday. The virtual machines virtual disk is backed up via the imaging software, I'm just more confident backing up the files directly. Also then I don't have to worry about the virtual disk growing and growing, the client data will be on the host machine which has plenty of space.

--
You received this message because you are subscribed to the Google Groups "seafile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seafile+u...@googlegroups.com.
To post to this group, send email to sea...@googlegroups.com.
Visit this group at http://groups.google.com/group/seafile.
For more options, visit https://groups.google.com/d/optout.

Eric Sietsema

unread,
Nov 23, 2014, 2:05:18 AM11/23/14
to sea...@googlegroups.com
Thanks for the details, I just got it configured and it is working amazingly!
Reply all
Reply to author
Forward
0 new messages