Skip to content

necenzurat/restic-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

🗃️ Restic Installer

📝 restic is an awesome 📦 backup utility, this is an script that installs it quickly on different platforms.

What platforms

Tested on: MacOS, Raspbian 32 bits (not tested on 64 bits but should work), CentOS, Ubuntu, Debian, Turris Omnia (OpenWRT).

Breakdown

  1. Checks if restic exists, if it exists, asks the user to update it.
  2. If restic is not installed, it goes to github, checks for the lastest release and tries to insrtall the corresponding version. 2.5 It triest to install it in /usr/bin but if it's not possible (MacOS :trollface:) tries to install it into /usr/local/bin
  3. If the instalations is successfully it will beg ask to add an entry to /etc/crontab to update restic every night.

Installation from the :octocat: ☁️ git clone is recommended

rastic can be installed in 4 (that's right, four) ways: via git clone, curl, wget or plain old copy paste.

curl

bash -c "$(curl -L https://github.com/necenzurat/restic-installer/raw/master/restic-installer.sh)"

wget

bash -c "$(wget -O - https://github.com/necenzurat/restic-installer/raw/master/restic-installer.sh)"

✨ git clone

git clone https://github.com/necenzurat/restic-installer/
cd restic-installer
bash restic-installer.sh

copy paste

install-rastic.sh, copy, ssh to server, paste to server, save file, then run file.

⚠️ Known Issues

wget is required

Click here to add issue

📜License

License

About

📦 An installer for the restic backup utility.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages