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%
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>