Tianyi Cloud Drive Command Line Client
Can be used to back up server data and to expand storage automatically by checking in.
Steps
1. Download the Corresponding Version and Extract It
Download link: Releases
2. Usage
Project page: cloudpan189-go
3. Enable Automatic Check-in and Back Up Server Files to Family Cloud
- Log in, update and switch to Family Cloud
| |
Automatic check-in every day at 0:00
Type the command in the command line
1crontab -eBelow is the template for checking in automatically at 0:00 every day. Add the following content at the last line; press
CTRL+Xto save,yto confirm andEnterto exit:10 0 * * * /文件夹路径/cloudpan189-go sign
Back up server files
Pack the files with tar
1tar -cvf 备份文件名_年-月-日.tar /待打包目录Upload them to Tianyi Cloud Drive
1cloudpan189-go upload 备份文件名_年-月-日.tar /目标路径