![]() ![]() region: The region is the name of the region in which your Droplet is located.If you plan to back up the same repository from multiple sources (as we will in the next step of this tutorial), the repository ID should be the same on both Droplets. repository_id: This is the label used by Duplicacy to distinguish between different repositories.The init command accepts the following syntax: duplicacy init repository_id s3:// endpoint/ space_name To do this, you will need to create a project repository and initialize it using Duplicacy’s init command. #Initializing Your Repository and Configuring Duplicacyĭuplicacy backs up data from the directory level, so before you can begin uploading files to your Space it must be associated with a specific directory or repository on both of your Droplets. sudo ln -s /opt/duplicacy /usr/local/bin/duplicacyĭuplicacy should now be installed on each of your Droplets and you are now ready to configure it to use your Space.Next, create a symbolic link between the download location and a new directory within /usr/local/bin: Run the following commands on both server-01 and server-02 to download Duplicacy onto each of them (substituting the download link for that of the latest release): The latest Duplicacy CLI version can be downloaded (with no license required for personal users) from the Duplicacy GitHub repository using wget. With these prerequisites in place, you are ready to install Duplicacy. ![]() To generate these, visit the API page in the DigitalOcean Control Panel. An Access key and a Secret key for your Spaces.See our Introduction to DigitalOcean Spaces for instructions on how to get these up and running. You can name your servers whatever you’d like, but to keep things clear they will be referred to as server-01 and server-02 throughout this tutorial. Two Ubuntu 16.04 Droplets configured using our initial server setup guide.To follow along with this tutorial, you will need: We’ll also demonstrate how to back up a shared repository from multiple Droplets to the same Space, as well as how to back up snapshots to multiple Spaces for greater data security. This tutorial provides a high-level overview of how to install the CLI version of Duplicacy and use it to manage a typical data backup process with a DigitalOcean Space. This allows separate clients to share and back up identical data without involving any additional effort to track backups. When a Duplicacy client creates and stores a new chunk, other clients using the same storage bucket can see that the chunk already exists and therefore won’t upload it again. Additionally, Duplicacy is available for MacOS and Windows with a graphical interface, and this version requires both personal and commercial users to pay for a license.īuilt on the idea of lock-free deduplication, Duplicacy was designed to safely manage backups to a wide range of cloud storage services. The CLI (command-line interface) Linux version is free for personal use but requires a paid license for commercial users. Once completed, click the Start button to backup files to B2.įor more detailed information for set up, visit the Duplicacy website.Duplicacy is a cross-platform backup tool that offers a number of functionalities - including incremental backups, concurrent backup, and client-side encryption - which aim to streamline the process of backing up data to the cloud. ![]() You can select the back up schedule and snapshot frequency here as well. For more information on how to find these items, refer to this help article. Once the storage is chosen, a box on the configuration page will become visible to allow for the selection of the number of uploading threads.Īfter the storage is set up, the main window will appear once more with the two text fields, Repository and Storage, properly populated. Input the Bucket name, the Account ID, and the Application key. ![]() Click the option for B2 Cloud Storage and click the Next button. Otherwise, add exclude/include patterns so that only certain files or directories will be backed up.Īfter selecting the repository to be backed up, select where the backup should be stored. Click the button next to the text input used to display the repository, and the repository setup dialog will appear:Ĭlick Choose, and select the files needed for the back up. If all files inside the repository will be included, click the Save option. This directory is called repository in Duplicacy's terminology. Select the local directory to be backed up. Run Duplicacy and the following main window will display. First, download and install Duplicacy for your appropriate operating system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |