利用bpcs_uploader实现linux备份自动上传百度网盘
.在网上下载bpcs_uploader,并解压脚步
#wget https://github.com/oott123/bpcs_uploader/zipball/master #unzip master
2.文件下载到根目录,解压之后会生成一个oott123开头的目录。目录名字太长,建议修改成baidu_yun.
# mv oott123-bpcs_uploader-ecb07c3 baidu_yun
3.然后进入baidu_yun目录,赋予权限
#cd baidu_yun #chmod a+x bpcs_uploader.php
4.然后执行bpcs_uploader.php,这个需要php的环境才能执行。同时需要json函数。
./bpcs_uploader.php quickinit

然后输入y继续

然后在浏览器输入
http://openapi.baidu.com/devce,输入对应的授权码。我这里是tc73mc7k.

这样本机就和百度云建立了连接
5.结合自己的备份脚步,实现定期备份数据到百度云。

相关推荐
-
第18问:MySQL CPU 高了,怎么办?2025-02-24 10:27:18
-
mysql索引类型 normal, unique, full text
mysql索引类型 normal, unique, full text2025-02-24 10:05:05 -
uwsgi+django+nginx 搭建部分总结2025-02-24 10:03:33
-
使用Docker配置Nginx环境部署Nextcloud2025-02-24 10:02:03
-
Nginx安装和怎么使用2025-02-24 10:00:45