Skip to main content

An incremental backup program

Project description

EEBackup - File Backup Tool

中文

EEBackup is a lightweight file backup tool that does not rely on any third-party libraries. It supports multiple backup methods and flexible configuration options.

Core Features

  • Incremental Backup: Only backs up changed files, saving storage space
  • Command Line Control: Provides rich command line parameters for precise control
  • Cross-Platform Compatibility: Based on Python standard library, supports Windows, Linux, and Mac systems

Quick Start

install

pip install eebackup
# Perform a simple backup
eebackup -s ./data -t ./backup -b

# Create a configuration file
eebackup -s ./data -t ./backup -m

# Use the configuration file for backup
eebackup -c -b

# View complete help information
eebackup -h

Usage

Basic Command

eebackup [OPTIONS]

Parameter Description

  • -c, --config [FILE] Specify the configuration file (default: eebackup.json)
  • -m, --make [FILE] Create a configuration file (default: eebackup.json)
  • -b, --backup [NAME] Perform a backup operation
  • -s, --source PATH Specify source directory or URL
  • -t, --target PATH Specify backup target directory or URL
  • -d, --delete FILE Delete specified backup file
  • -a, --all Perform a full backup
  • -l, --list [FILE] List current backup file information
  • --max N Set maximum number of backups (default: 10)
  • -n, --name NAME Name for this backup
  • -f, --format FORMAT Backup format (e.g., "%Y%m%d-%H_%M_%S.zip")
  • -e, --exclude PATTERN Exclude file pattern (can be used repeatedly)
  • -r, --restore FILE Restore specified backup file

Configuration File

The configuration file is in JSON format and includes:

  • source Source directory or URL
  • target Target directory or URL
  • full_backup Whether to perform a full backup
  • format Backup format
  • max_backups Maximum number of backups
  • exclude List of files to exclude

Examples

# Create a configuration file
eebackup -m

# Perform a simple backup
eebackup -s ./data -t ./backup -b

# Use the configuration file for backup
eebackup -c eebackup.json -b
eebackup -c -b  # use ./eebackup.json

# Restore a backup
eebackup -r "2023-10-01:12_00_00" -c eebackup.json

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

eebackup-0.1.1.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

eebackup-0.1.1-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file eebackup-0.1.1.tar.gz.

File metadata

  • Download URL: eebackup-0.1.1.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.0

File hashes

Hashes for eebackup-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8dafaca4624b8514336912adcd131c5b7aa83ba82a7d8415532bdf1978bfe168
MD5 3ec0468f1f8b31953eb7ff5aec74a857
BLAKE2b-256 f6b739abb3d61d270840f2126a4b46166ba94e1e4a861fe0ffab868a05c2eb15

See more details on using hashes here.

File details

Details for the file eebackup-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: eebackup-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.0

File hashes

Hashes for eebackup-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b11a5aca37c000a9378cc9f589c0c0d41f7ebadf4f3453cf2084b6dafa7af06
MD5 4ed9d977d951d4d8a1d6f958e6d27d0e
BLAKE2b-256 4763e1c09bdfe29ac056da7adb43ca2ebfe770102360b6fb8262bd4d85282797

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