========
Script to sync db and/or data from remote host
Installation
------------
::
pip install git+https://github.com/morlandi/sitesync
Usage
-----
Provides an easy way to build a working local copy from a remote site, either by:
1) DUMP: saving a copy of remote database and data into ./dump/HOST folder
2) SYNC: replacing local database and data downloading a fresh copy from remote host
Supported platforms:
1) Django (postgresql db + ./public/media/)
2) Workpress (mysql + ./www/wordpress/)
Usage: sitesync [-h] [-v {0,1,2,3}] [--dry-run] [--quiet] [--localhost]
action target
Dump remote db and/or data, or Sync local db and/or data from remote instance
positional arguments:
action choices: sync, dump
target choices: db, data, all
optional arguments:
-h, --help show this help message and exit
-v {0,1,2,3}, --verbosity {0,1,2,3}
Verbosity level. (default: 2)
--dry-run, -d simulate actions
--quiet, -q do not require user confirmation before executing commands
--localhost, -l dump db and data from localhost into ./dumps/localhost
History
=======
v1.0.3
------
* Suggest relative local paths in default config file
* Added support for legacy Postgresql syntax
v1.0.2
------
* Python 2 & 3 compatibility
v1.0.1
------
* Few fixes for Python3
v1.0.0
------
* Initial setup
Metadata
Release files for sitesync 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sitesync-1.0.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for sitesync-1.0.3-py2.py3-none-any.whl |
Release files / sitesync-1.0.3-py2.py3-none-any.whl
| Download URL | sitesync-1.0.3-py2.py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
77c3aaf7b7de24887131e5c0da38ffc2e70c6e5c8da2dbcbc85eccb7f62b6e1b
|
|
BLAKE2b-256 checksum How to use checksums |
852c3a6378aca0b38741d2221f58ec0d42a9c17dad63de8a243ef2de4d706ae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for sitesync 1.0.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.