1. 服务器/VPS/主机用户Telegram电报群: https://t.me/openos
    黑群晖 Synology Telegram电报群: https://t.me/nasfan
    排除公告

CentOS 7 安装Duplicati 云备份工具

本帖由 post2020-11-23 发布。版面名称:服务器论坛

  1. post

    post New Member

    注册:
    2019-10-24
    帖子:
    465
    Duplicati是一个跨平台的云存储的同步备份软件, 他支持Amazon S3, OneDrive, Google Drive, Rackspace Cloud Files, HubiC, Backblaze (B2), Amazon Cloud Drive (AmzCD), Swift / OpenStack, WebDAV, SSH (SFTP), FTP, 等等.

    [​IMG]

    https://github.com/duplicati/duplicati
    https://www.duplicati.com/

    CentOS 7:

    yum install yum-utils
    rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
    yum-config-manager --add-repo http://download.mono-project.com/repo/centos7/
    yum install mono-devel


    下载最新Duplicati

    wget https://github.com/duplicati/duplicati/releases/download/v2.0.3.12-2.0.3.12_canary_2018-10-23/duplicati-2.0.3.12-2.0.3.12_canary_20181023.noarch.rpm


    安装

    yum install duplicati*


    把防火墙8200端口打开

    #firewall-cmd --add-port=8200/tcp --permanent
    #firewall-cmd --reload




    echo "[Unit]
    Description=Duplicati Backup software
    [Service]
    ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=any
    Restart=on-failure
    RestartSec=30
    [Install]
    WantedBy=multi-user.target" > /etc/systemd/system/duplicati.service

    再启动

    systemctl enable duplicati
    systemctl start duplicati


    启动后输入http://你的ip地址:8200访问, 一定要是ip地址, 不能是域名.

    教程参考
    https://duplicati.readthedocs.io/en/latest/02-installation/
    https://forum.level1techs.com/t/headless-duplicati-on-centos-guide/128799
    https://github.com/duplicati/duplicati/releases