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
1
2
3
cloudpan189-go login
cloudpan189-go update
cloudpan189-go family
  • Automatic check-in every day at 0:00

    • Type the command in the command line

      1
      
      crontab -e
      
    • Below is the template for checking in automatically at 0:00 every day. Add the following content at the last line; press CTRL+X to save, y to confirm and Enter to exit:

      1
      
      0 0 * * * /文件夹路径/cloudpan189-go sign
      
  • Back up server files

    • Pack the files with tar

      1
      
      tar -cvf 备份文件名_年-月-日.tar /待打包目录
      
    • Upload them to Tianyi Cloud Drive

      1
      
      cloudpan189-go upload 备份文件名_年-月-日.tar /目标路径
      

References