<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Installation :: resticprofile</title><link>https://470-merge.resticprofile.pages.dev/installation/index.html</link><description>Pre-built binaries Linux mac OS X Windows Ansible Source Upgrade Docker Shell Completion</description><generator>Hugo</generator><language>en-gb</language><atom:link href="https://470-merge.resticprofile.pages.dev/installation/index.xml" rel="self" type="application/rss+xml"/><item><title>Pre-built binaries</title><link>https://470-merge.resticprofile.pages.dev/installation/binaries/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/binaries/index.html</guid><description>Pre-built binaries for resticprofile are available for various operating system and architectures. You can download the latest versions from the releases page.
Pre-built binaries available: darwin/amd64 darwin/arm64 freebsd/386 freebsd/amd64 freebsd/armv6 freebsd/armv7 linux/386 linux/amd64 linux/arm64 linux/armv6 linux/armv7 linux/mips64 hardfloat - v0.26.0 linux/mips64le hardfloat - v0.26.0 linux/mips hardfloat - v0.26.0 linux/mipsle hardfloat - v0.26.0 linux/ppc64 - v0.26.0 linux/ppc64le - v0.26.0 linux/riscv64 - v0.26.0 linux/s390x - v0.26.0 netbsd/amd64 - v0.26.0 openbsd/386 - v0.26.0 openbsd/amd64 - v0.26.0 solaris/amd64 - v0.26.0 windows/386 windows/amd64</description></item><item><title>Linux</title><link>https://470-merge.resticprofile.pages.dev/installation/linux/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/linux/index.html</guid><description>Installation via a script Here’s a simple script to download the binary automatically. It works on mac OS X, FreeBSD and Linux:
curl -sfL https://raw.githubusercontent.com/creativeprojects/resticprofile/master/install.sh | sh It should copy resticprofile in a bin directory under your current directory.
If you need more control, you can save the shell script and run it manually:
curl -LO https://raw.githubusercontent.com/creativeprojects/resticprofile/master/install.sh chmod +x install.sh sudo ./install.sh -b /usr/local/bin It will install resticprofile in /usr/local/bin/</description></item><item><title>mac OS X</title><link>https://470-merge.resticprofile.pages.dev/installation/macosx/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/macosx/index.html</guid><description>Installation with Homebrew There’s a homebrew tap for resticprofile:
brew tap creativeprojects/tap brew install resticprofile You can also install restic at the same time with --with-restic flag:
brew install resticprofile --with-restic You can test that resticprofile is properly installed (make sure you have restic installed or the test will fail):
brew test resticprofile Upgrading resticprofile installed via homebrew is very easy:
brew update brew upgrade resticprofile Note The resticprofile command self-update is not available when installed via homebrew.</description></item><item><title>Windows</title><link>https://470-merge.resticprofile.pages.dev/installation/windows/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/windows/index.html</guid><description>Installation using bash You can use a script if you’re using bash in Windows (via WSL, git bash, etc.)
curl -LO https://raw.githubusercontent.com/creativeprojects/resticprofile/master/install.sh ./install.sh It will create a bin directory under your current directory and place resticprofile.exe in it.
Installation using scoop Resticprofile can be installed from scoop main bucket:
scoop install resticprofile Installation using winget Resticprofile can be installed using winget which is included with Windows 10 and 11.
winget install creativeprojects.resticprofile Manual installation Download the package corresponding to your system and CPU from the release page Once downloaded you need to open the archive and copy the binary file resticprofile (or resticprofile.exe) in your PATH.</description></item><item><title>Ansible</title><link>https://470-merge.resticprofile.pages.dev/installation/ansible/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/ansible/index.html</guid><description>Installation using Ansible Installation using Ansible is not streamlined, but here’s the playbook I’m using on my servers:
Playbooks resticprofile.yml This is very much work in progress. Once I get a stable ansible script I should publish it to Ansible Galaxy.
The playbook is installing (or upgrading):
latest restic binary to /usr/local/bin latest resticprofile binary to /usr/local/bin the resticprofile configuration file from a template file found in ./resticprofile/{{ inventory_hostname }}/profiles.* to /root/resticprofile/profiles.* password files that can be encrypted using ansible vault. These files are located in ./resticprofile/{{ inventory_hostname }}/keys/*: they will be decrypted and saved to /root/resticprofile/. other files (like files needed for --exclude-file, --files-from or anything else you need) from ./resticprofile/{{ inventory_hostname }}/copy/* to /root/resticprofile/ Note This new version (21st Feb 2023) installs the github3 python packages in a virtual environment. This seems to avoid having to compile the cryptography package, which is a huge time saver.</description></item><item><title>Source</title><link>https://470-merge.resticprofile.pages.dev/installation/source/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/source/index.html</guid><description>Installation from source You can download the source code and compile it, it’s actually very easy! all you need to have on your machine is:
git (with git-bash on Windows) go compiler GNU Make which is installed by default on many unix boxes. On debian based distributions (Ubuntu included) the package is called build-essential. To compile from sources:
git clone https://github.com/creativeprojects/resticprofile.git cd resticprofile make build Your compiled binary (resticprofile or resticprofile.exe) is available in the current folder.</description></item><item><title>Upgrade</title><link>https://470-merge.resticprofile.pages.dev/installation/upgrade/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/upgrade/index.html</guid><description>Once installed, you can easily upgrade resticprofile to the latest release using this command:
resticprofile self-update Package Managers The self-update command is not available when installed via a package manager (homebrew, scoop). You should use the upgrade built in the package manager instead.
resticprofile will check for a new version from GitHub releases and asks you if you want to update to the new version. If you add the flag -q or --quiet to the command line, it will update automatically without asking.</description></item><item><title>Docker</title><link>https://470-merge.resticprofile.pages.dev/installation/docker/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/docker/index.html</guid><description>Using resticprofile from a docker image You can run resticprofile inside a docker container. It is probably the easiest way to install resticprofile (and restic at the same time) and keep it updated.
But be aware that you will need to mount your backup source (and destination if it’s local) as a docker volume. Depending on your operating system, the backup might be slower. Volumes mounted on a mac OS host are well known for being quite slow.</description></item><item><title>Shell Completion</title><link>https://470-merge.resticprofile.pages.dev/installation/shell/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://470-merge.resticprofile.pages.dev/installation/shell/index.html</guid><description>Shell command line completions are provided for bash and zsh.
To load the command completions in shell, use:
# bash eval "$(resticprofile generate --bash-completion)" # zsh eval "$(resticprofile generate --zsh-completion)" To install them permanently:
resticprofile generate --bash-completion > /etc/bash_completion.d/resticprofile chmod +x /etc/bash_completion.d/resticprofile</description></item></channel></rss>