1
0
Fork
You've already forked Loci
0
forked from WasPentalive/Loci
Loci is a rsync based easy backup program. I send my backups to a directory on a local file server. Loci is written in Python for ease of modification.
  • Python 100%
rooki 4f7f295244 Fix and enhance backup entry updates during removal
Ensure `data_path` is expanded for consistency and update backup entries with a timestamp when removed. This improves reliability and maintains proper record tracking in the backup process.
2025年04月06日 08:50:34 +02:00
.idea Add backup configuration, models, and core functionality 2025年03月30日 22:14:29 +02:00
models Add missing newline in models/__init__.py 2025年04月05日 19:00:54 +02:00
.gitignore Add .gitignore and refactor backup handling in lociSimplify backup management and improve error handling 2025年03月31日 21:02:16 +02:00
LICENSE Initial commit 2025年03月29日 14:04:00 +00:00
loci Fix and enhance backup entry updates during removal 2025年04月06日 08:50:34 +02:00
README.md Update README with usage instructions and examples 2025年04月05日 21:46:12 +02:00
requirements.txt Add backup configuration, models, and core functionality 2025年03月30日 22:14:29 +02:00
settings.yml Add advanced backup handling and logging enhancements 2025年04月05日 18:56:33 +02:00

Loci

Loci is a rsync based easy backup program. I send my backups to a directory on a local file server. Loci is written in Python for ease of modification.

Usage

Install

  • Python 3
  • rsync
sudo apt install rsync python3

Configuration

Edit the settings.yml to your liking.

Run

Note: If no config is provided, the default config path will be used ~/.config/loci/settings.yml

python3 loci -b <tag> -c <config_file>
# Example
python3 loci -b test -c settings.yml

Multi Run

You can run different configurations at the same time. Just make sure to adjust -c flag.

python3 loci -b test -c settings.yml
python3 loci -b test2 -c settings2.yml

Backup

python3 loci -b <tag> -c <config_file>

Remove

python3 loci -r <tag> -c <config_file>

List

python3 loci -l -t <tag> -c <config_file>