Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
© 2022 Yandex.Cloud LLC
Practical guidelines
  • Web service
    • All tutorials
    • Static website in Object Storage
    • Website on LAMP or LEMP stack
    • Fault-tolerant website with load balancing by Network Load Balancer
    • Fault-tolerant website using DNS load balancing
    • Joomla website with PostgreSQL
    • WordPress website
    • WordPress website on a MySQL database
    • Transferring a WordPress website from a different hosting provider to Yandex Cloud
    • 1C-Bitrix website
    • Integrating an L7 load balancer with the CDN and Object Storage
    • Blue-green and canary deployment of service versions
  • Online stores
    • All tutorials
    • 1C-Bitrix online store
    • Opencart online store
  • Data archive
    • All tutorials
    • Single-node file server
    • Configuring an SFTP server on Centos 7
    • Backup to Object Storage via Acronis Backup
    • Backup to Object Storage via CloudBerry Desktop Backup
    • Backup to Object Storage via Duplicati
    • Backup to Object Storage via Bacula
    • Backup to Object Storage via Veritas Backup Exec
    • Digitizing archives in Yandex Vision
  • Test environment
    • All tutorials
    • Testing applications with GitLab
    • Creating test VMs using GitLab CI
    • High-performance computing on preemptible VMs
    • Emulating multiple IoT devices
    • gRPC service load testing
    • Using Phantom to run a fixed-load HTTPS test
  • Performing infrastructure management
    • All tutorials
    • Getting started with Terraform
    • Uploading Terraform states to Object Storage
    • Getting started with Packer
    • Automating VM image builds using Jenkins
    • Continuous deployment of containerized applications using GitLab
    • Creating a cluster of 1C:Enterprise Linux servers with a Managed Service for PostgreSQL cluster
    • Creating a cluster of 1C:Enterprise Windows servers with MS SQL Server
    • Migrating to Yandex Cloud using Hystax Acura
    • Emergency recovery in Yandex Cloud using Hystax Acura
    • Configuring a fault-tolerant architecture in Yandex Cloud
  • Building a data platform
    • All tutorials
    • Syncing MySQL data using Yandex DataTransfer
    • Using schema registries with Managed Service for Apache Kafka®
      • Overview
      • Using Managed Schema Registry with Yandex Managed Service for Apache Kafka®
      • Using Confluent Schema Registry with Yandex Managed Service for Apache Kafka®
    • Delivering data using Debezium
    • Migrating databases from Yandex Managed Service for MySQL to MySQL
    • Migrating databases to Managed Service for Microsoft SQL Server
    • Configuring Yandex Cloud DNS for accessing managed database clusters from other cloud networks
    • Configuring Kafka Connect for Yandex Managed Service for Apache Kafka® clusters
  • Windows in Yandex Cloud
    • All tutorials
    • Deploying Active Directory
    • Deploying Microsoft Exchange
    • Deploying Remote Desktop Services
    • Deploying an Always On availability group
    • Deploying an Always On availability group with an internal network load balancer
    • Deploying Remote Desktop Gateway
  • Network routing
    • All tutorials
    • Routing through a NAT instance
    • Creating a VPN tunnel
    • Installing a Cisco CSR1000v virtual router
    • Installing a Mikrotik CHR virtual router
    • Creating a VPN connection using OpenVPN
  • Data visualization and analytics
    • All tutorials
    • Visualizing data from a CSV file
    • Creating and publishing a chart with a map of Moscow from a CSV file
    • Analyzing a store chain's sales based on data from a ClickHouse DB
    • Analyzing open data on road accidents in Russia
    • Analyzing sales and locations of pizzerias based on data from Clickhouse DB and Marketplace
    • Web analytics with a connection to Yandex.Metrica
    • Web analytics with funnels and cohorts calculated based on Yandex.Metrica data
    • Mobile app analytics based on AppMetrica data
    • Analyzing Yandex Music podcast statistics (for podcasters)
    • Visualizing data with a SQL chart
    • Mobile app customer journey analytics based on AppMetrica data
    • Analyzing Object Storage logs in DataLens
  • Internet of things
    • Tutorials for the internet of things
    • Status monitoring of geographically distributed devices
    • Monitoring sensor readings and event notifications
  • Serverless technologies
    • URL shortener
    • Storing application runtime logs
  1. Data archive
  2. Backup to Object Storage via Duplicati

Backup to Yandex Object Storage via Duplicati

Written by
Yandex Cloud
  • Before you start
    • Required paid resources
  • Create a bucket
  • Create a service account
  • Create a static access key
  • Install Duplicati
  • Configure Duplicati
  • Test the backup procedure
  • How to delete created resources

To set up backups in Object Storage via Duplicati:

  1. Before you start
  2. Create a bucket
  3. Create a service account
  4. Create a static access key
  5. Install Duplicati
  6. Configure Duplicati
  7. Test your backup
  8. Delete the created cloud resources

Before you start

Before using Yandex Object Storage, sign up for Yandex Cloud and create a billing account:

  1. Go to the management console. Then log in to Yandex Cloud or sign up if don't already have an account.
  2. On the billing page, make sure you linked a billing account, and it has the ACTIVE or TRIAL_ACTIVE status. If you don't have a billing account, create one.

If you have an active billing account, you can create or select a folder to place your bucket in. Go to the Yandex Cloud homepage and select or create a folder where you want to create a bucket. Learn more about the resource hierarchy in Yandex Cloud.

Required paid resources

The cost for backup and recovery includes:

  • A fee for data storage (see Yandex Object Storage pricing).
  • A fee for data operations (see Yandex Object Storage pricing).
  • The cost of outgoing traffic from Yandex Cloud to the internet (see Yandex Object Storage pricing).

Create a bucket

To create a bucket for backups:

  1. Go to the Yandex Cloud management console and select the folder where you want to perform the operations.

  2. On the folder page, click Create resource and select Bucket.

  3. In the Name field, enter a name for the bucket, like backup.

    The name must meet the following requirements:

    • The length of the name must be from 3 to 63 characters.
    • The name may contain lowercase Latin letters, numbers, hyphens, and periods.
    • The first and last characters must be letters or numbers.
    • Characters to the right and left of the period must be letters or numbers.
    • The name must not look like an IP address (for example, 10.1.3.9).
  4. Specify the maximum size of the bucket in GB.

  5. Click Create bucket.

Create a service account

Create a service account with the editor role.

Create a static access key

Create static access keys. Save the ID and secret access key right away. You won't be able to access the private key parameters again after you close the window.

Install Duplicati

Windows/Linux
macOS

Download and install Duplicati.

To use Duplicati on macOS, you need the Mono framework.

Once you have installed the Mono framework, download and install Duplicati.

Configure Duplicati

To configure Duplicati to work with Object Storage:

  1. Run Duplicati. If required, set a password for your account.
  2. Select the Add backup menu item.
  3. Click Configure a new backup. Click Next.
  4. Enter the backup plan name: Yandex Cloud. Enter the password and confirm if you chose to encrypt the backup. Click Next.
  5. In the Storage Type field, specify S3 compatible.
  6. In the Server list, specify Custom server URL. In the field below, enter the address storage.yandexcloud.net/.
  7. In the Bucket name field, enter the name of your bucket: backup.
  8. In the AWS Access ID field, specify the ID of the static access key.
  9. In the AWS Access Key field, enter the private key.
  10. Click Test connection to make sure the settings are correct. A window opens prompting you to add the username to the bucket name. Click No.
  11. After checking the settings, click Next.
  12. Select the files that you want to back up.
  13. Click Next.
  14. Set the backup schedule or deselect the Automatically run backups option to create backups manually. Click Next.
  15. Specify the volume size and set the storage duration. Click Save.

Test the backup procedure

To test a backup:

  1. Open the Home menu item.
  2. In the list of backup plans next to the Yandex Cloud plan, click Run now.
  3. Open the management console.
  4. Go to the folder containing the bucket where your backups are stored.
  5. Open the Object Storage service.
  6. Open the backup bucket and check whether all the necessary files have been copied.

How to delete created resources

To stop paying for file storage, delete the uploaded files.

Was the article helpful?

Language / Region
© 2022 Yandex.Cloud LLC
In this article:
  • Before you start
  • Required paid resources
  • Create a bucket
  • Create a service account
  • Create a static access key
  • Install Duplicati
  • Configure Duplicati
  • Test the backup procedure
  • How to delete created resources