giftea.blogg.se

Git annex unlock
Git annex unlock










git annex unlock
  1. #GIT ANNEX UNLOCK HOW TO#
  2. #GIT ANNEX UNLOCK INSTALL#
  3. #GIT ANNEX UNLOCK FULL#
  4. #GIT ANNEX UNLOCK DOWNLOAD#

Want to lose it in a fumblefingered mistake. That's a good thing, because it might be the only copy, you wouldn't Which prevents the content of the file from being modified. duplicity remove-older-than 3M script #īecause Duplicity has so many command line options, it’s easier to setup a script and run it via cron.Normally, git-annex stores annexed files in the repository, locked down, Here, I’m remove backups older than 3 months. duplicity ~/backups also handles rotating backups. Substitute your account ID, application key, and bucket name as needed. duplicity ~/backups backup a folder to your B2 bucket, use a command similar to the one below. To backup directly to a server via SFTP, use a command similar to the one below.

#GIT ANNEX UNLOCK INSTALL#

Setup Duplicity #įirst, install Duplicity. Store the keys on a separate backup by themselves. For example, don’t backup the GPG keys using Duplicity, then have your hard drive crash, which would require the GPG keys to unlock Duplicity. For this setup, I will be using a separate key for encryption and signing.ĭisclaimer - Don’t lose the keys or the passphrases to the keys.

#GIT ANNEX UNLOCK HOW TO#

I won’t be covering it here, but check out my other guide on how to create a GPG key. It’s integrated into Duplicity and will protect your files from prying eyes. I highly recommend you encrypt your backups using GPG. backblaze-b2 create_bucket server-backups allPrivateįinally, list your available buckets. You can have up to 100 buckets per account. The bucket name must be globally unique to all of Backblaze, not just your account. Now, create a bucket (make sure it is allPrivate). backblaze-b2 authorize_account xxxxxxxxxxx You will be prompted for your Application Key, which you can get in the B2 control panel.

git annex unlock

Start by authorizing your account (substitute your account ID as needed). Note - You can create a bucket from the website if you don’t want to install the B2 command line tool.

#GIT ANNEX UNLOCK DOWNLOAD#

You can download the official B2 command line tool from these instructions, but I’m installing the package from the AUR using pacaur. Sign up for a B2 account if you don’t have one already. It seemed to be the most popular program, it supports incremental backups and B2 storage, and supports encryption with GPG. While looking for backup programs, I compared the following: And if you need to upload up to 40TB of data, you can request a Fireball (not free, but still cool). But, if that’s not enough, they offer free restores via USB flash drive or external HDD if your data is too big to download. I was already subscribed to their great blog where they post yearly stats on their hard drives. They seemed to be the cheapest, had the most straight-forward pricing, and were the easiest to setup with the backup program I was using.įull disclosure, I was already a Backblaze fanboy. I ended up choosing Backblaze B2 storage.

git annex unlock

While looking for cloud storage providers, I compared the following:

git annex unlock

I was not interested in a file syncing service (e.g., Google Drive or Dropbox) or a cloud backup solution (e.g., Crashplan or Carbonite). The setup below is my final goal and will fulfill my 3-2-1 requirement.įor this, I was looking for a raw storage endpoint with some sort of API or command line interface. My idea is to centralize all my backups to one location, then send the backups offsite to a cloud storage provider.

#GIT ANNEX UNLOCK FULL#

I’d like to add cloud storage for a full 3-2-1 backup. Every couple weeks, I perform a backup to both and rotate the drives (this covers a 2-1-1 backup). The golden rule is to follow the 3-2-1 method for backups:Ĭurrently, I keep an encrypted external HDD at home and another at work. Recently, I’ve been thinking more and more about backups for my small (but growing) homelab.












Git annex unlock