easy-mirrors
Simplest way to back up and restore git repositories.
Installation
Ensure that git is installed on your system.
Use the package manager pip to install easy-mirrors along with its command-line interface by running:
python3 -m pip install --user easy-mirrors
Basic usage
This program enables you to mirror your git repositories to a backup destination.
Warning: Ensure that git is correctly configured and that you have access to the repositories you intend to mirror before starting. This guarantees a smooth backup process and safeguards your valuable data.
Create a configuration file named easy_mirrors.ini in your home directory containing the following content:
[easy_mirrors]
path = /tmp/repositories
repositories =
https://github.com/vladpunko/easy-mirrors.git
Use the following commands to mirror and restore your repository:
# Step -- 1.
easy-mirrors --period 30 # make mirrors every 30 minutes
# Step -- 2.
cd /tmp/repositories/easy-mirrors.git
# Step -- 3.
git push --mirror https://github.com/vladpunko/easy-mirrors.git
Contributing
Pull requests are welcome. Please open an issue first to discuss what should be changed.
Please make sure to update tests as appropriate.
# Step -- 1.
python3 -m venv .venv && source ./.venv/bin/activate && pip install pre-commit tox
# Step -- 2.
pre-commit install --config .githooks.yml
# Step -- 3.
tox && tox -e lint
License
Metadata
Release files for easy-mirrors 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| easy_mirrors-0.3.3.tar.gz | 10.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easy_mirrors-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / easy_mirrors-0.3.3.tar.gz
| Download URL | easy_mirrors-0.3.3.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a53dca908d3a164b9eda9b78ca6a8411af3c17f914b6c4f25bcef219483eb34c
|
|
BLAKE2b-256 checksum How to use checksums |
49feae5992bae4756dc8cc1e2fa2aa0b7f234c872821e3825d38463aae352b8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Release files / easy_mirrors-0.3.3-py3-none-any.whl
| Download URL | easy_mirrors-0.3.3-py3-none-any.whl |
|---|---|
| Size | 13.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed0215ee3fb21c8282134d315f20e695dca63d08f52ddb8a0d2b24fe170deb01
|
|
BLAKE2b-256 checksum How to use checksums |
3a124a6142792523b0701080d83a1dc97d01719317ceded16843a66c5ba59cdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.18
|
Security for easy-mirrors 0.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.