Skip to main content

Simple python script for backing up directories

Project description

backupy

usage: backupy [-h] [-m mode] [-c mode] [-r mode] [-d] [--noarchive]
               [--suppress] [--goahead] [-n] [-s] [-l]
               source [dest]

Simple python script for backing up directories

positional arguments:
  source       Path of source
  dest         Path of destination

optional arguments:
  -h, --help   show this help message and exit
  -m mode      Backup mode:
               How to handle files that exist only on one side?
                 MIRROR (default)
                   [source-only -> destination, delete destination-only]
                 BACKUP
                   [source-only -> destination, keep destination-only]
                 SYNC
                   [source-only -> destination, destination-only -> source]
  -c mode      Conflict resolution mode:
               How to handle files that exist on both sides but differ?
                 SOURCE (default)
                   [copy source to destination]
                 DEST
                   [copy destination to source]
                 NEW
                   [copy newer to opposite side]
                 NO
                   [do nothing]
  -r mode      CRC mode:
               How to compare files that exist on both sides?
                 NONE (default)
                   [only compare file size and time, fastest]
                 MATCH
                   [only compare CRC for files with matching size and time]
                 ALL
                   [compare CRC first for all files, slowest]
  -d           Try and detect moved files
  --noarchive  Disable archiving, by default files are moved to
               /.backupy/yymmdd-HHMM/ on their respective side before being
               overwritten
  --suppress   Suppress logging; by default logs are written to
               source/.backupy/log-yymmdd-HHMM.csv and /.backupy/dirinfo.json
  --goahead    Go ahead without prompting for confirmation
  -n, --norun  Simulate the run
  -s, --save   Save configuration in source
  -l, --load   Load configuration from source

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

backupy-0.2.3.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file backupy-0.2.3.tar.gz.

File metadata

  • Download URL: backupy-0.2.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for backupy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 09787fc95b0ce1dd465150798d1c3931b20041307dc29bf2427b20e172008134
MD5 26901dde72f485334e2bcb7ceb55ffc7
BLAKE2b-256 8c1e2137685e8933a61d99e6742ffb70756b6b29f07aa32cf68dd24c82e16d72

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