Skip to main content

No project description provided

Project description

本项目用于在centos上备份信息

使用步骤

  1. mkdir -p ${HOME}/.iidxbak/work
  2. pushd ${HOME}/.iidxbak/work
  3. python3 -m pip install pipenv==2020.11.15
  4. pipenv install --index https://pypi.org/simple iidxbak==0.9.5 --skip-lock
  5. pipenv run iidxbak --dir_to_bak some_path_to_bak

config_demo

  • 默认软件家目录:${HOME}/.iidxbak/
  • 默认配置文件位置:${HOME}/.iidxbak/conf/iidxbak.json
  • 默认工作目录:${HOME}/.iidxbak/work/{20231111-1010}/
{
  "public_key": "conf/keys.public.pem",
  "work_dir": "work/",
  "oss_ak_id": "XXXX",
  "oss_ak_secret": "XXXX",
  "oss_ep": "https://oss-cn-hangzhou.aliyuncs.com",
  "oss_bucket_name": "XXXX",
  "i_node_info": true
}

项目依赖

  • click==8.1.7
  • sh==2.0.6
  • oss2==2.18.3

环境安装

# 0. uname -a 
uname -a
# Linux app-001-156 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
# 1. sudo yum install -y python3-devel

# 2. ssh -V
ssh -V
# OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017

# 3. openssl version
openssl version
# OpenSSL 1.0.2k-fips  26 Jan 2017

# 4. python3 --version
python3 --version
# Python 3.6.8

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iidxbak-0.9.6-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file iidxbak-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: iidxbak-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for iidxbak-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 dc47725f9f485a7de4ae467c0f1fee9f550174c2d810816969bdd4daddc1514c
MD5 bf9f933db1dfa23dd9178e1a98346765
BLAKE2b-256 37f3540cde2456f0d7be51d70f8b3aa7cfe119f2e7b6223821b4e90402ea43d8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page