Skip to main content

A tool to copy big data to multiple smaller disks

Project description

partialCopy

A tool to copy folders data on multiple smaller external disks

Motivation

As storage becomes extermely large in big projects, we need to a tool to break large folders (100 TBs) to smaller chunks to be able to migrate to another location or storing on external storage for backup.

Installation

sudo pip install partialCopy

Usage

pcp [-h] [-lg LOG] [-ls LST] [-ns NO_SCAN] [-rs RSYNC] src dest

positional arguments:
  src                   Source Directory
  dest                  Dest Mountpoint

optional arguments:
  -h, --help            show this help message and exit
  -lg LOG, --log LOG    Log File to use
  -ls LST, --lst LST    List File to use
  -ns, --no-scan        Don't rescan the folder, this needs a previous run
  -rs RSYNC, --rsync RSYNC         Extra rsync parameters

Notes

  • A log file will be written as $src/.pcp_log (by default)
  • A list file will be written as $src/.pcp_lst (by default)
  • The conf file is /etc/pcp.cfg
  • A user can has his own config as ~/.pcp.cfg
  • When the dest is full, the exit code is -125

Contributors

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

partialCopy-0.2.3.tar.gz (4.0 kB view hashes)

Uploaded Source

Supported by

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