Skip to main content

Local data synchronization tool based on rsync.

Project description

micsync is a tool that provides easy management of data kept on the disc and its backup or backups. It uses rsync for all file operations. Verbose option will show the exact rsync command used.

micsync allows to configure WORKING and BACKUP locations. Location is a directory in filesystem and all subdirectories and files it contains. There are two types of locations which serve different purposes: WORKING: -Location on disc that's backup can be kept in BACKUP. -Workplace from which some files/directories should be send to BACKUP. -Temporary cache for some data needed at the moment, that are kept on BACKUP all the time (i.e. BACKUP is on external hard disc). BACKUP: -Can be used as backup copy of things in WORKING location. -Can be used as source of data for other BACKUPs (mirrors). -Data from backup can be copied back to WORKING, or even overide or remove data there. -BACKUP directories structure (tree, skeleton) can be copied (without files) to WORKING.

Any number of WORKINGs can be linked with any number of BACKUPs. One CONFIGURATION links together WORKINGs and BACKUPs. WORKINGs and BACKUPs in one CONFIGURATION cannot overlap (i.e. WORKING contains BACKUP).

There may be a lot of CONFIGURATIONs that don't influence each other. User sets the CONFIGURATIONs up in ".micsync.json" file Example structure of file: { "configs": [ { "name": "My first CONFIGURATION, it contains 1 WORKING and 1 BACKUP", "work": [ "/home/example_user/some_dir/" ], "backup": [ "/example/path/" ] }, { "name": "My second CONFIGURATION, it contains 2 WORKINGs and 3 BACKUPs", "work": [ "/home/example_user/some_dir/", "/other/" ], "backup": [ "/a/backup/", "./it/may/be/relative/path/", "/my/third/backup/" ] } ] }

Supported actions location (WORKING or BACKUP): -backup: Asks which WORKING to choose if many are accessible. Copies selected from WORKING to all accesible BACKUPS. It never deletes anything in BACKUP. Lists new. Lists modified and asks for confirmation. Options: -m Copy modified without asking. -s Suppress information about modifying directories. -v Verbose mode. -work: Asks which WORKING and/or BACKUP to choose if many are accesible. Copies selected from chosen BACKUP to chosen WORKING. Lists modified and asks for confirmation. Lists to-delete and asks for confirmation. Options: -m Copy modified without asking. -d Allows deleting files in WORKING. -D Delete without asking (-d option not needed). -s Suppress information about modifying directories. -v Verbose mode. -transfer Asks to confirm or choose destination and source BACKUPS. Copies selected from chosen src BACKUP to chosen dst BACKUP. Lists modified and asks for confirmation. Lists to-delete and asks for confirmation. Options: -m Copy modified without asking. -d Allows deleting files in dst BACKUP. -D Delete without asking (-d option not needed). -s Suppress information about modifying directories. -v Verbose mode. -tree Copy directies empty structure from backup to work r update existing. Options: -s Suppress information about modifying directories. -v Verbose mode.

How to instal with pip:

python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps example-pkg-your-username

Project details


Download files

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

Source Distribution

micsync-0.0.3.dev3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

micsync-0.0.3.dev3-py3-none-any.whl (25.1 kB view details)

Uploaded Python 3

File details

Details for the file micsync-0.0.3.dev3.tar.gz.

File metadata

  • Download URL: micsync-0.0.3.dev3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for micsync-0.0.3.dev3.tar.gz
Algorithm Hash digest
SHA256 7ee39e42ea6f04fbf94761521f49a2c4baf2bc8195dec884b67c763bf7300dae
MD5 7fa65a44a462f4f497f29eb009076a9d
BLAKE2b-256 c96f0eebc01961c0e239be74bd3424692c76b58875f3b9a7eed497343c79c237

See more details on using hashes here.

File details

Details for the file micsync-0.0.3.dev3-py3-none-any.whl.

File metadata

  • Download URL: micsync-0.0.3.dev3-py3-none-any.whl
  • Upload date:
  • Size: 25.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for micsync-0.0.3.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 35f5211dfd535cde609019de1ae2bbe6269af4c9249803d8d40efa6b81284f58
MD5 8921ab56765fd4e9049d7f3d3fb1e053
BLAKE2b-256 14023a7d7264dcbf536b14bcfafed579487e9b2f23f0ee1d09cb9766b2230723

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