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.dev6.tar.gz (8.9 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.dev6-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: micsync-0.0.3.dev6.tar.gz
  • Upload date:
  • Size: 8.9 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.dev6.tar.gz
Algorithm Hash digest
SHA256 319b4a0c8c994cbae283156a3d7ead5611db1d6e8072455360fe61ac5935a03b
MD5 e477b741e73486600733e23ffc108441
BLAKE2b-256 606ddced4704f6e72fbc0a2c406eefd2aad79a2b9a8d97477cd3ed5097494d34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: micsync-0.0.3.dev6-py3-none-any.whl
  • Upload date:
  • Size: 25.8 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.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4cfa960a45ebfe93c050e17a3ff40fa27959fe7d67a04525455dfa1444eaad
MD5 14d77624e312f1368ff332679b073972
BLAKE2b-256 61bc69b3d6161220e717a2b7c7320fbc2213847cbfae1f73823b6edb30102e95

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