![]() What’s next?įor my current off-site backups solution, I manually run backups. You can also set them in, for example, Systemd units or various other, slightly more secure storage media. Specifying these environment variables when you run a Duplicacy command will set the right credentials. DUPLICACY_WASABI_SECRET is your Wasabi access secret.DUPLICACY_WASABI_KEY is your Wasabi access key.DUPLICACY_PASSWORD is the encryption password used by Duplicacy.Again, we can consult the table of possible values to see what we need. Like the preferences file, we can pass in our credentials using specific environment variables for each value. ![]() Please be aware of the security characteristics of doing so if you opt for this method. The preferences file is a plaintext JSON file so you will be storing your credentials without any encryption. Note: This is not a secure way of storing your credentials. You can store your credentials in this file using the named keys. wasabi_secret is your Wasabi access secret.password is the encryption password used by Duplicacy.By consulting the table of possible values, we see that we can set the following keys: ![]() duplicacy/preferences file we mentioned when we created the repository? The “keys” key is an object of keys to use when connecting to your repository. There are a two ways that we can make this less arduous: the preferences file and environment variables. Quality of Life ImprovementsĪfter you run some more commands, you will notice that you have to enter your credentials every time you run a command. If you’re curious how Duplicacy chunked and stored your files, you can run the -files flag on the list command. From within the directory that you want to back up, issue the initialization command: The first step to set up Duplicacy is to initialize the repository. It does not come with man pages though, so you’re left to try to understand the various flags and commands from their short descriptions from using -help. If you’re like me and use Arch Linux, you can install Duplicacy from an Arch User Repository package.ĭuplicacy, like many Go programs, uses a command + subcommand pattern. You can download the binary from GitHub or look to see if your package manager has a package for it. Now that we have the bucket set up, we can configure Duplicacy to back up to the bucket. The secret key for your IAM access, which is only accessible on the confirmation screen from creating an access key.An IAM access key, which you can reach from the IAM panel.Having created the bucket, you want to note the following pieces of information: I suspended versioning and logging for the bucket. ![]() For this blog post, I created a blog-demo bucket on the us-west-1 region. A bucket has the same semantics as an S3 bucket: it’s basically a folder in which you can place objects (read: files) and grant access via their Identity and Access Management (IAM) system. To get started, you will want to create a bucket on Wasabi’s console application. If you’d like to follow along, feel free to sign up for their demo! Wasabi SetupĪs an aside, Wasabi offers a month-long demo where you can try out their service and upload up to 1TB of data without charge. As such, when you’re looking for documentation on setting up Wasabi and Duplicacy, you’ll often find confusing information that doesn’t map to what you’re doing. Understandably, the better documentation is for the commercial version instead of the open source version. Second, there is a commercial product that has a GUI for configuration. The only documentation you’ll find for that is on the community forum, as they moved all documentation off of GitHub in favor of the forum. First, there is an open source core and CLI application that you can find on GitHub licenses as free for personal use with a commercial fee. The first thing that you should understand is that Duplicacy is two separate products. You’ll leave this post with an understanding of how to set up an off-site backups repository using these two tools. However, combining the two isn’t very clear due to lacking documentation. Wasabi offers great pricing that allows you to easily calculate how much it will cost to back up your data. It supports many back ends including Wasabi, a fast, S3-compatible cloud storage provider. Duplicacy is a backup tool written in Go. There are many choices to look through for off-site backups: what software should I use? What storage provider? This post describes how I set up Duplicacy and Wasabi as my off-site backups solution. I recently had my first ever hard drive failure and have since been looking into off-site backups.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |