Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openwort X86_84 定时任务调用程序同步备份 #94

Open
xnlibin opened this issue Apr 16, 2024 · 1 comment
Open

openwort X86_84 定时任务调用程序同步备份 #94

xnlibin opened this issue Apr 16, 2024 · 1 comment

Comments

@xnlibin
Copy link

xnlibin commented Apr 16, 2024

我现在用openwort x86_64 做了个NAS,本地挂着一块硬盘,天翼云盘有10T 的空间,我想天翼云盘当做本地NAS的异地备份,现在是手动执行 cloudpan189-go 执行备份操作,我在想能不能用openwort的定时任务调用一个sh脚本,sh脚本调用cloudpan189-go,自动备份指定的本地文件夹同步到天翼云盘指定的文件夹。

@xnlibin
Copy link
Author

xnlibin commented Apr 16, 2024

原来可以直接这样调用,
cd /sata4-4/cloud189/
./cloudpan189-go login -username=xxxx -password=xxx #登录
./cloudpan189-go sign #签到
./cloudpan189-go backup -sync /aaa/sata3-1/nnn/ /NAS备份 & #备份

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant