Seafile file system

1,998 views
Skip to first unread message

Alex DC

unread,
Jul 26, 2013, 6:10:25 AM7/26/13
to sea...@googlegroups.com
Hi,

I've seen that Seafile does not store the files in their original state but splits them into some kind of datablocks. As I'm planning to enable backups on seafile data, how can I be sure that I can recover my original files from those data blocks ?

What happens if I want to read my backup on a different computer ? Do I need to install the seafile server to do this ? What exactly has to be backed up ?

Thanks,
Alex

JiaQiang Xu

unread,
Jul 27, 2013, 10:02:36 AM7/27/13
to sea...@googlegroups.com
Currently you can refer to this wiki page: https://github.com/haiwen/seafile/wiki/Seafile-server-data-backup

The method in the above wiki is not safe enough though. First of all, seafile stores metadata in database, the backup of the db may be inconsistent with the file data. Also if some data is corrupted, rsync will overwrite the backup.

We're working on a new backup mechanism for Seafile server. We're planing to make it available as a cloud service. So you may backup an encrypted copy of the server data to the cloud.


2013/7/26 Alex DC <deliv...@gmail.com>

--
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/groups/opt_out.
 
 

Alex DC

unread,
Aug 21, 2013, 12:37:01 PM8/21/13
to sea...@googlegroups.com
What do you mean "We're planing to make it available as a cloud service. So you may backup an encrypted copy of the server data to the cloud." ?

I really would like to be able to backup using the original format of the files (not using seafile file system). This way if my seafile server crashes, I can directly access my backup files without having to reinstall a seafile server first.

Do you already know when this new backup mechanism will be available ?

A few other features that would be nice :
- Server side download and upload limit speed (applies to all clients, client cannot set a higher speed but can set a lower speed).
- Server side history limit (max number of versions for the same file or date limit).

I can see my used data space in web administration. Does it include older file versions ?

Thanks for your great job.

JiaQiang Xu

unread,
Aug 21, 2013, 9:25:55 PM8/21/13
to sea...@googlegroups.com
We do more investigation and find that the current method on the above wiki page works. But we still need to change a few commands and add how to recover. We are now busy with other issues. That should be done in one or two weeks.


2013/8/22 Alex DC <deliv...@gmail.com>

What do you mean "We're planing to make it available as a cloud service. So you may backup an encrypted copy of the server data to the cloud." ?

I really would like to be able to backup using the original format of the files (not using seafile file system). This way if my seafile server crashes, I can directly access my backup files without having to reinstall a seafile server first.

Do you already know when this new backup mechanism will be available ?

A few other features that would be nice :
- Server side download and upload limit speed (applies to all clients, client cannot set a higher speed but can set a lower speed).

Yes, this will be added. But it's not in high priority though :)
 
- Server side history limit (max number of versions for the same file or date limit).

 

I can see my used data space in web administration. Does it include older file versions ?

No that doesn't include. You can simply look at the size of seafile-data dir for the total size including history.

Alex DC

unread,
Aug 25, 2013, 7:21:51 AM8/25/13
to sea...@googlegroups.com
Thanks for your reply.


- Server side history limit (max number of versions for the same file or date limit).

I've seen this limit but it seems that the user can still go to the settings page and change this limit. Is it possible to diable user control for this particular limit ?

Another point : Is there any way to import a folder through the web interface ? At the moment, I'm only able to import files, if I try to import a folder with the drag&drop feature I get "error true".

Lingtao Pan

unread,
Aug 25, 2013, 11:46:51 AM8/25/13
to sea...@googlegroups.com
Upload a folder is not supported yet.

Serejka Flare

unread,
Aug 22, 2014, 7:30:25 PM8/22/14
to sea...@googlegroups.com
Why dont you just make your own filesystem, if you need to?
For me, storing files in such blocks - the only reason why Im not using seafile yet. Many of us do not want to reupload/copypaste the whole dfs into it.

Actually, we the sysadmins want to mount something, add mount point to seafile config, reload daemon and here we go.
Someone may want to setup samba over existing mount, perform antivirus scans etc.

Fuse/webdavfs will be too slow for most purposes.

Narciso Martinez

unread,
Dec 12, 2014, 3:55:39 PM12/12/14
to sea...@googlegroups.com
Hello,

Is the information in this link updated with 4.x version?

If yes, is there no plan/option to use the system fs or something similar like Serejka said in last message?. I was looking for something similar to Seafile where I can have a mirror with all files and structure for backup purposes.
Reply all
Reply to author
Forward
0 new messages