74 Commits

Author SHA1 Message Date
c715188973 Fix code with autopep8 2025-03-30 15:02:50 +02:00
57613649c2 Add missing type hints 2025-03-30 15:02:04 +02:00
bd8934d57f Update version tag 2025-03-30 14:38:56 +02:00
9fdb959540 Improve handling of user detection failure 2025-03-30 14:37:30 +02:00
45a07205a1 Add type hints plus minor code fixes 2024-09-28 09:47:33 +02:00
9390cd2de8 Allow removing remote old backups with sudo if possible
If allowed by the remote server, try using sudo to remove
old backups (rm needs to be allowed in sudoers to run
without password)
2023-10-15 15:39:06 +02:00
77661c0964 Handle getpass exception 2023-07-16 08:22:51 +02:00
e3a970217f Improve logging 2023-06-25 11:49:02 +02:00
8968fcd1a8 Fix parsing option bug 2023-06-25 10:12:07 +02:00
35b87c859e Add --user arg 2023-06-20 19:22:22 +02:00
f3d5ebd276 Merge branch 'development' 2023-06-20 17:36:40 +02:00
fb726a80ab Fix bug
Remove forgotten test code -.-
2023-06-20 17:36:12 +02:00
4701ee0b05 Fix typo 2023-06-19 16:00:21 +02:00
dd779d242b Fix crash when config file missing 2023-06-18 22:58:53 +02:00
22a3e8d60f Make paramiko optional 2023-06-18 22:53:29 +02:00
a26182cedd Update version number 2023-06-16 19:16:47 +02:00
4e6adf3c56 Use dict for config options 2023-06-16 17:42:13 +02:00
ffed2dec90 Add numeric-ids option for rsync 2023-06-16 16:18:12 +02:00
f77ff2d24f Allow running remote rsync as sudo 2023-06-15 23:12:19 +02:00
82b0ea88fa Merge branch 'master' into development 2023-06-15 22:10:19 +02:00
970d3dde1e Add manual selection of rsync options 2023-06-15 21:30:43 +02:00
4d23bde906 Check that inputs from command line exist
Check that the inputs specified on the command line (i.e. with the
option '-i' or '--input') exist and print a warning when they don't.
If no valid inputs are found, exit.
2023-06-15 18:44:22 +02:00
ff70358496 Version bump 2023-06-15 17:38:00 +02:00
6f1e91e2cd Add more return codes 2023-06-15 17:14:17 +02:00
b3fee0d022 Add some meaningful return codes 2023-06-15 16:58:56 +02:00
d63eb8f771 Improve handling of missing inputs 2023-06-15 15:34:00 +02:00
f95cd86cdc Check backup folder for remote backup
Check that the backup folder exists at the end of the backup when
performing backup over ssh
2023-06-15 11:48:23 +02:00
f37cd89b4e Fix parsing of old config file 2023-06-15 09:30:59 +02:00
d1b429d37a Merge branch 'master' into development 2023-06-04 16:53:22 +02:00
56df958c5b Add expansion of params in config file
Allow using wildcards (i.e. * to match any character and ~ to match the
user's home directory) in inputs and ouput variables in config file
2023-06-04 12:09:30 +02:00
d6d9fbf6e4 Add no-syslog option 2023-06-04 10:16:50 +02:00
cee4d13837 Fix bug
Fix crash when attempting to close a non-existent paramiko
SSH connection
2023-06-03 16:14:36 +02:00
252617e4f2 Fix old backups counting 2023-06-03 16:09:34 +02:00
809545b172 Explicitly close paramiko connection 2023-06-03 15:56:24 +02:00
b34627fe58 Improve readability 2023-06-03 15:44:31 +02:00
cd558e8608 Merge branch 'nolink' into development 2023-06-02 20:12:53 +02:00
ffbf8ece91 Remove last_backup link 2023-06-02 19:38:28 +02:00
78760bdda3 Merge branch 'master' into development 2023-06-02 18:38:54 +02:00
6c07c147ae Version bump 2023-06-02 17:04:53 +02:00
5ddd374350 Fix notification bug
Correctly handle exception when trying to display notification if
dbus-python is not available
2023-06-02 17:01:37 +02:00
3d3fbbcbd9 Add password authentication for SSH 2023-06-02 00:09:14 +02:00
4f3d83f458 Update manpage 2023-06-01 22:18:32 +02:00
e1ba388296 Update version 2023-06-01 17:18:42 +02:00
98cb7f5822 Fix ssh authentication when running with sudo 2023-05-31 20:39:03 +02:00
b957200deb Change missing hostkey policy 2023-05-31 19:30:31 +02:00
9e90d620e6 Merge branch 'master' into development 2023-05-31 19:21:11 +02:00
06620a4dba Fix bug when exclude pattern is None 2023-05-31 19:07:50 +02:00
ba97b25e25 Add docstrings 2023-05-29 23:10:29 +02:00
7eb71bc924 Add rsync compress option 2023-05-29 18:33:02 +02:00
c25ef52393 Implement remove old backups from server 2023-05-29 17:57:12 +02:00