![]() ![]() Kopia also provides a command to check that the connection to the storage backend works as expected ( great, I love self-checks!): If you want to avoid this, you can set the environment variable $KOPIA_PASSWORD instead of using the -password argument. You should be aware that Kopia stores the credentials used to connect to the storage backend in plaintext in $/.config/kopia/-password. There is lots of output here, but for now the most important line is “Connected to repository”. To change the policy use 'kopia policy set' command. To find more information about default policy run 'kopia policy get'. Latest snapshots: 10 (defined for this target ) Hourly snapshots: 48 (defined for this target ) Weekly snapshots: 4 (defined for this target )ĭaily snapshots: 7 (defined for this target ) Monthly snapshots: 24 (defined for this target ) We will need it in case we want to access the Kopia backups from another machine.Īnnual snapshots: 3 (defined for this target ) #Backblaze blog password#You can use your favorite password manager or a tool like pwgen to generate this secret - and make sure to store it somewhere safe! We’ll need them in the next step to configure Kopia for accessing Backblaze.Īdditionally, we’ll also need a “repository password” for Kopia – which is a bit confusing, because this password is not used for authenticating to Backblaze, but instead this is the secret used for encrypting the data on the client-side before sending it to Backblaze (or any other storage backend). Make sure to copy the keyID and applicationKey which are displayed after clicking Create. We don’t need to enable “Default Encryption”, since we’ll be using client-side encryption with Kopia.Īnd then create a new application key which has access only to the bucket created in the previous step: Next, we need to create a storage bucket on Backblaze B2. Type kopia -version into your shell to verify the CLI is installed correctly.Ġ.10.6 build: 766cb57160477fba0935634e98c2bdfd440557f3 from: kopia/kopia The first step is downloading the kopia binary, for which there are several options available in the Kopia documentation. In between I will also mention some of its advanced concepts, such as compression and retention policies.Īll of this is nicely documented in the Kopia docs, but if you are interested in an opionated introduction, follow right along. #Backblaze blog how to#In this guide I’ll go through Kopia’s basic usage on the command line and how to set it up with Backblaze B2. Thus, I decided that I would give it a go on my new homeserver. it has a stable Go API - allows building anything on top of Kopia.it has a (optional) GUI - useful for backups for non-techy friends and family.it supports compression - a feature that has been long requested for restic. #Backblaze blog plus#Recently, I became aware of a new kid on the block: Kopia.Īt first glance, it seems to offer the same benefits I just mentioned about restic, plus a few more niceties: On the technical side, it supports client-side encryption out-of-the-box and uses content-addressable storage to implement incremental backups and snapshots. There are several aspects I like about restic: it’s lightweight, fast and has a useful all-in-one CLI. #Backblaze blog software#Now you can create a backup and send it to B2 right away (“Run Now”) or schedule it to be started automatically: Optionally, you can also setup email confirmations on successful/failed backups.For years, I have been using using restic as my backup software of choice for servers and personal machines. Then go to the “Buckets” section and click the “Show Account ID and Application Key” link to get necessary information: 3. If you don’t have a B2 account you can sign up here. Select Backblaze B2 from the list of backup destinations: Connect SQLBackupAndFTP to your SQL Serverĭownload SQLBackupAndFTP, start the application, and connect it to your SQL Server: You are only 3 steps away from sending your SQL Server backups to B2 Cloud Storage. This is about 3 times cheaper than to store in Amazon S3, Microsoft Azure, or Google Cloud. Backblaze B2 offers affordable pricing for storing your backups: just $0.005/Gb for storage and $0.02/Gb for download. With SQLBackupAndFTP you can schedule automatic SQL Server backups and send them to Backblaze B2 Cloud Storage just in a few clicks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |