linux环境搭建seafile客户端自动上传文件

介绍:本次搭建的是linux环境下的seafile客户端,目的是把自动备份的一些数据上传到seafile网盘,安装启动seafile客户端后,只要文件没有超过网盘空间限制,就会自动上传至网盘。

1、下载yum源
 wget -O /etc/yum.repos.d/copr-pkerling-seafile.repo https://copr.fedorainfracloud.org/coprs/pkerling/seafile/repo/epel- 7/pkerling-seafile-epel-7.repo 
2、安装
 Yum install -y seafile 
3、初始化目录
 seaf-cli init -d /data/backup/ 
4、启动
Seaf-cli start
5、创建网盘目录
seaf-cli create -n 服务端网盘目录  -s 服务端地址 -u 用户名  -p密码

6、把网盘目录和本地目录绑定
seaf-cli sync -l 服务端网盘上的目录id   -s   seafile服务端地址  -d  本地目录  -u 用户名  -p 密码

7、更多请参考官方git文档  https://github.com/haiwen/seafile-user-manual/blob/master/en/desktop/linux-cli.md

原文地址:https://www.cnblogs.com/ad-note/p/9033974.html