Il y a un run.py qui a l'air de faire ce que tu veux ?
$ git clone https://github.com/d9pouces/Polyarchiv
Cloning into 'Polyarchiv'...
remote: Counting objects: 795, done.
remote: Compressing objects: 100% (176/176), done.
remote: Total 795 (delta 63), reused 0 (delta 0), pack-reused 619
Receiving objects: 100% (795/795), 769.52 KiB | 793.00 KiB/s, done.
Resolving deltas: 100% (495/495), done.
Checking connectivity... done.
$ python Polyarchiv/run.py -h
usage: run.py [-h] [-v] [-f] [-n] [-D] [--show-commands] [--confirm-commands]
[--only-locals ONLY_LOCALS [ONLY_LOCALS ...]]
[--only-remotes ONLY_REMOTES [ONLY_REMOTES ...]]
[--config CONFIG]
command
backup data from multiple sources
positional arguments:
command backup|restore|config|plugins
optional arguments:
-h, --help show this help message and exit
-v, --verbose print more messages
-f, --force force backup if not out-of-date
-n, --nrpe Nagios-compatible output
-D, --dry dry mode: do not execute commands
--show-commands display all bash executed commands
--confirm-commands ask the user to confirm each command
--only-locals ONLY_LOCALS [ONLY_LOCALS ...]
limit to these local tags
--only-remotes ONLY_REMOTES [ONLY_REMOTES ...]
limit to these remote tags
--config CONFIG, -C CONFIG
config dir