Publicidade

Yandex Disk Backup Linux Cloud Server - VPS Server

Yandex disk maintains regular backups of the main files of your Linux server is something of extreme importance, however, even linux servers maintaining their popularity, there are still few native tools for the current cloud synchronization and backup systems that fit in the category "more reliable and stable", such as Google drive, Sky drive, Drop box, etc.

This is where Yandex, the Russian search site, is a direct competitor of Google in that country that is increasingly conquering its space. By registering for a simple process on the yandex.com site you will soon feel familiar with the Google-like environment, but make no mistake about it. This platform may perhaps provide you with more benefits than the market leader.

The Yandex Disk is the cloud storage of the site, which offers you no less than 10GB of free space in your cloud environment that, among other features, such as working with Office documents and owning a client application for mobile phones and Windows computers, also offers the client for Linux servers via terminal, native, and which can be fully installed and configured using command lines.

Client via terminal for Linux

The client via Yandex Disk for Linux terminal allows you to manage files in the cloud without using a graphical interface.
The advantages of the client via terminal compared to the graphical interface are:


  • low system resource requirements;
  • fast reading and writing of files;
  • faster synchronization with the server in Cloud; and
  • you do not need to be connected to the internet to manage your files.

The client can be installed via the terminal in the following operating systems:


  • Ubuntu Linux 8.04 or higher
  • Debian 5 or higher
  • Fedora 9 or higher
  • Red Hat Enterprise Linux 6+
  • CentOS 6+
  • Installing the client
  • To install the client automatically, use the command to install the quick package.


Example of a quick installation of a .deb package

  • echo "deb http://repo.yandex.ru/yandex-disk/deb/ estável principal" | sudo tee -a /etc/apt/sources.list.d/yandex.list> / dev / null && wget http://repo.yandex.ru/yandex-disk/YANDEX-DISK-KEY.GPG O- | sudo apt-key add - && sudo apt-get update && sudo apt-get install Yandex disco -y

Installing using apt-get


Attention! Save a copy of the file /etc/apt/sources.list.d/yandex.list before making changes.

  • # Echo "http://repo.yandex.ru/yandex-disk/deb/ main stable deb" >> /etc/apt/sources.list.d/yandex.list
  • # Apt-get update
  • # Apt-get install Yandex disk

Import a GPG key into a .deb package

  • wget -O YANDEX-DISK-KEY.GPG http://repo.yandex.ru/yandex-disk/YANDEX-DISK-KEY.GPG
  • sudo apt-key add YANDEX-DISK-KEY.GPG

Yandex Disk Configuration Wizard

You can run the client installation by using the command setup.
  • Yandex disk $ configuration
Enter the name of the directory where a local copy of your cloud disk will be stored. If you leave the name blank, a folder with the name Yandex Disk will be created in your home directory. Answer the questions as you need them and login data:
  1. You want to use a proxy server (y / n). Default No: n
  2. You want the client to start together with the system (y / n). Default Yes: s
  3. Enter your Yandex username.
  4. Enter your Yandex password.
Attention! If you use two-factor authentication to enter the "Yandex Disk", you will need a one-time password, which is generated by the "Yandex.Key" application.

After the wizard completes, the config.cfg configuration file will be created in the ~ / .config / yandex-disk directory.

Conclusion

After all the process, I stopped having problems with the synchronization of the backups in my Linux Cloud server, because I direct my regular backups (database, configurations and pages) to the synchronized folder of Yandex, that synchronizes whenever it detects that a file has been modified (another advantage is that even overwriting its backup in the folder it is only synchronized if changes are detected). So, as I have the client installed on my Windows PC, I am always with the backups at hand, in addition to the mobile application that allows me to accompany them and download them (if necessary).

The synchronization is perfect, whether you make the change on your Linux server, the Yandex management page, or your client PC, synchronization will be immediate and automatic. The system offers many other tools and features, which you can explore further on the official website.

Bottom Ad [Post Page]

| Designed by Colorlib