Написать bash скрипт для скачивания dump-a БД
Нужно написать bash скрипт который проходит по n-му количеству VPS серверов, коннектится по openVPN к каждому и запускает mysqldump, сохраняет дампы в локальную папку с именем %date%_%time%_%db%.sql (напр. 20210923_234556_mydb.sql)
Исходя из этого думаю надо предусмотреть входящие параметры для скрипта (разные доступы для каждого сервера):
ssh юзер и парольи (или ключ), mysql бд/пароль/юзер, openvpn файл конфиг (для каждого сервера свой)
-
Есть скрипт, который сохраняет историю бекапов за заданное в конфиге число дней в локальной папке и дублирует историю бекапов на другой сервер по FTP/SFTP. Можно настроить архивирование каждого на соседний (по кругу). Такой вариант подойдёт?
-
Тут два задания.
1) с помощью ansible установить mysqlbackup? который по заданному циклу делает бэкапы сам на сервере.
2) с помощью ansible запустить бэкап mysql -
Current freelance projects in the category DevOps
Integration of respond and CRM for sending the report on the first messageWe need to track the time of the first contact with the lead. For this, we need to send data through n8n to the respondent. CRM setup on our side. DevOps, Software & Server Configuration ∙ 2 hours 23 minutes back ∙ 8 proposals |
Elimination of load issues on WordPress/WooCommerce hosting siteWe are looking for a specialist to diagnose and resolve issues with the load on the WordPress/WooCommerce hosting site. There is an active e-commerce site on WordPress + WooCommerce. The site periodically crashes or works unstably during a high number of requests — from various… DevOps, Web Programming ∙ 9 hours 24 minutes back ∙ 39 proposals |
Integration of Google Analytics into CRM via n8nGood day, I need help connecting Google Analytics and CRM through n8n. All settings on the CRM side are done. Now we just need to set up the analytics through n8n to transmit sales events. DevOps, System & Network Administration ∙ 10 hours 42 minutes back ∙ 16 proposals |
Setting up a backup system and optimizing server infrastructureObjective of the work: Ensure reliable data storage for the CRM system and application by implementing an automated backup system, as well as carry out a series of server improvements to enhance the stability, security, and performance of the infrastructure. DevOps, Databases & SQL ∙ 9 days 5 hours back ∙ 29 proposals |