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 PATHSpecify source directory or URL-t, --target PATHSpecify backup target directory or URL-d, --delete FILEDelete specified backup file-a, --allPerform a full backup-l, --list [FILE]List current backup file information--max NSet maximum number of backups (default: 10)-n, --name NAMEName for this backup-f, --format FORMATBackup format (e.g., "%Y%m%d-%H_%M_%S.zip")-e, --exclude PATTERNExclude file pattern (can be used repeatedly)-r, --restore FILERestore specified backup file
Configuration File
The configuration file is in JSON format and includes:
sourceSource directory or URLtargetTarget directory or URLfull_backupWhether to perform a full backupformatBackup formatmax_backupsMaximum number of backupsexcludeList 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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dafaca4624b8514336912adcd131c5b7aa83ba82a7d8415532bdf1978bfe168
|
|
| MD5 |
3ec0468f1f8b31953eb7ff5aec74a857
|
|
| BLAKE2b-256 |
f6b739abb3d61d270840f2126a4b46166ba94e1e4a861fe0ffab868a05c2eb15
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b11a5aca37c000a9378cc9f589c0c0d41f7ebadf4f3453cf2084b6dafa7af06
|
|
| MD5 |
4ed9d977d951d4d8a1d6f958e6d27d0e
|
|
| BLAKE2b-256 |
4763e1c09bdfe29ac056da7adb43ca2ebfe770102360b6fb8262bd4d85282797
|