hgrf / hgbackup

An rsync-based backup tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build Flake8 Status Code style: black

Installing

git clone https://github.com/HolgerGraef/hgbackup.git
cd hgbackup
python3 setup.py install --user
cp hgbackup.desktop ~/.config/autostart/

or, for development:

python3 setup.py develop --user

Updating icon cache

In case you need to modify the icons in hgbackup/pie/, you should update the GTK icon cache subsequently:

sudo gtk-update-icon-cache --ignore-theme-index --force --include-image-data /usr/share/icons/hicolor

Updating flake8 report and badge

pip install flake8 genbadge[flake8]
rm ./reports/flake8/flake8stats.txt
flake8 --tee --output-file ./reports/flake8/flake8stats.txt
genbadge flake8 \
  --input-file ./reports/flake8/flake8stats.txt \
  --output-file ./reports/flake8/flake8.svg

TODO General

  • fix display of rsync progress for individual files
  • careful when root (/) folder is added as backup source
  • estimate remaining time in progress
  • enable user to modify backup periodicities, excluded and optional list

TODO GUI

  • do not "refocus" on window when launching a new progress if it's hidden
  • continuously check for changes in the configuration file and propose a reload (never do this while a backup/check/verification process is running)
  • implement progress cancel button => NB: in particular for the rsync process we need some way to terminate the thread instead of checking some "mutex"
  • implement adding and modifying targets

References

About

An rsync-based backup tool

License:MIT License


Languages

Language:Python 100.0%