项目作者: eric1980

项目描述 :
Handle Restic backups with BackBlaze
高级语言: Shell
项目地址: git://github.com/eric1980/restic.git
创建时间: 2020-04-15T16:10:40Z
项目社区:https://github.com/eric1980/restic

开源协议:

下载


restic

Handle Restic backups with BackBlaze

Prerequisites

  • Installation is based on Ubuntu 18.04
  • Restic installed with snap

Installation

  1. Clone repository

    cd /usr/local/sbin

    git clone https://github.com/fornstedt/restic

  2. Add symbolic link to cron

    sudo ln -s /usr/local/sbin/restic/cronjob/raid-backup /etc/cron.daily/raid-backup

  3. Create password file

    echo “your-restic-password” > /usr/local/sbin/restic/restic-pw.txt

  4. Update restic-env.sh with your BackBlaze credentials

  5. Create folder file, one line for each folder you want to backup

    echo “/path/to/folder1” > /usr/local/sbin/restic/backup-folders.txt

    echo “/path/to/folder2” >> /usr/local/sbin/restic/backup-folders.txt