

- #Backblaze linux personal how to
- #Backblaze linux personal install
- #Backblaze linux personal full
- #Backblaze linux personal password
The first backup will run a full backup, so it will take some time as everything is uploaded. Restic -r rclone:Austin-B2:Backup/timemachine prune exclude-file=/home/austin/Scripts/restic-excludes.txt Restic -r rclone:Austin-B2:Backup/timemachine backup. Then run chmod +x restic-backup.sh to give it execute permissions. Obviously, you need to change the bucket, folder, and path to the restic-excludes.txt file to match your setup. config/google-chrome/Default/Service Worker/CacheStorage/Ĭreate restic-backup.sh with the following stored under ~/Scripts/. config/Beaker Browser/Service Worker/CacheStorage/ Caddy/**/logs/ĭocuments/CaptainCore/Captains/**/**/**/backup/ĭocuments/CaptainCore/Captains/**/**/**/backups/ĭocuments/CaptainCore/Captains/**/**/**/restores/ĭocuments/CaptainCore/Captains/**/**/**/quicksave/ Feel free to use my excludes file as a starting point. Create a new file called restic-excludes.txt and include any file or path you don’t want to include. With Restic you can create an excludes file. While backing up everything seems like the thing to do, there is often lots of data changing that you might not want to include in your backups. restic -r rclone:Austin-B2:Backup/timemachine init Excluding unnecessary files So the following command will place the Restic backup repo on B2 under the Backup bucket in a folder called timemachine. With B2 the first folder is the bucket name. You can store the backup repo anywhere you’d like, just make sure it’s an empty folder. export RESTIC_PASSWORD=MY_RANDOM_KEY_HERE_PLEASE_CHANGE_ME Be sure to close your terminal and relaunch. If you’re running default bash then you’ll add it to ~/.bashrc. I’m using ZSH so I’ve added the following at the end of my ~/.zshrc file. We can add the following to our bash startup file. Seeing as we’ll be storing data on a cloud provider, it’s good to know everything will be private. This is a required step in order to use Restic.
#Backblaze linux personal password
The first step is to generate a Restic password which will be used to encrypt the data in the backup repo. There are some one-time commands necessary to start a Restic backup repo. I’ve named my new Rclone backend Austin-B2 as shown here. Rclone requires you to name the backend which you’ll need when setting up Restic. At this point, you’ll need to plug in credentials from your B2 bucket or whichever cloud provider you’re using. This can be done by running rclone config and walking through the sequence of questions. So let’s make sure Rclone is installed and up to date.

I store my backup on a B2 Bucket via Rclone. That means you can store your Restic backup pretty much anywhere you’d like. Restic natively supports a bunch of storage backends however they also support any Rclone backend. If all goes well you should be running the latest version.
#Backblaze linux personal install
The first step is to install and update Restic to the latest version. Even though I’ll be explaining how this is accomplished on Linux, specifically Pop!_OS, it should be possible to do on any platform. Restic is a cross-platform backup application written in Go. If you are curious about how that works check out this article. While this will be a guide for personal use, many of the ideas here are what power the website backups for Anchor Hosting customers. It’s a very efficient and elegant backup solution. After trying out various backup solutions I settled on using a command-line solution restic with a B2 bucket. I previously relied on Backblaze, which is an awesome application that provides real-time backups, Unfortunately Linux isn’t supported.
#Backblaze linux personal how to
When I switched my daily driver to Linux, one missing piece was how to handle local backups.
