Skip to main content

RU-CENTER DNS-MASTER backup

Project description

https://img.shields.io/pypi/v/ru-center-backup.svg?style=flat-square https://img.shields.io/pypi/dm/ru-center-backup.svg?style=flat-square

Скрипт для бэкапа всех файлов зон из DNS-Master Ру-Центра в локальную директорию

Установка

pip install ru-center-backup

Использование

  1. Установить переменные окружения
export RUC_API=$(echo -n "<api_username>:<api_password>" | base64)
export RUC_USER="123456/NIC-D"
export RUC_PASS="qwerty"
  1. Запустить скрипт
ru-center-backup <output_dir>

Если <output_dir> не существует - программа завершится с ошибкой. Если параметр <output_dir> опущен - файлы зон будут выведены на консоль (разделяется ;========= )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ru-center-backup, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size ru-center-backup-1.1.macosx-10.11-x86_64.tar.gz (2.5 kB) File type Dumb Binary Python version any Upload date Hashes View
Filename, size ru_center_backup-1.1-py2.7.egg (3.0 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size ru_center_backup-1.1-py2-none-any.whl (4.6 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size ru_center_backup-1.1-py3.5.egg (3.0 kB) File type Egg Python version 3.5 Upload date Hashes View
Filename, size ru_center_backup-1.1-py3-none-any.whl (4.7 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size ru-center-backup-1.1.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page