Commit Graph
100 Commits
Author SHA1 Message Date
Fuxino 22a3e8d60f Make paramiko optional 2023-06-18 22:53:29 +02:00
Fuxino a26182cedd Update version number 2023-06-16 19:16:47 +02:00
Fuxino 5b3558c282 Merge branch 'development' 2023-06-16 19:15:44 +02:00
Fuxino 4e6adf3c56 Use dict for config options 2023-06-16 17:42:13 +02:00
Fuxino ffed2dec90 Add numeric-ids option for rsync 2023-06-16 16:18:12 +02:00
Fuxino 169f824d83 Improve documentation 2023-06-15 23:15:00 +02:00
Fuxino f77ff2d24f Allow running remote rsync as sudo 2023-06-15 23:12:19 +02:00
Fuxino ffe2b69c99 Fix error in man page 2023-06-15 22:12:38 +02:00
Fuxino 82b0ea88fa Merge branch 'master' into development 2023-06-15 22:10:19 +02:00
Fuxino 970d3dde1e Add manual selection of rsync options 2023-06-15 21:30:43 +02:00
Fuxino 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
Fuxino ff70358496 Version bump 2023-06-15 17:38:00 +02:00
Fuxino 6f1e91e2cd Add more return codes 2023-06-15 17:14:17 +02:00
Fuxino b3fee0d022 Add some meaningful return codes 2023-06-15 16:58:56 +02:00
Fuxino d63eb8f771 Improve handling of missing inputs 2023-06-15 15:34:00 +02:00
Fuxino 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
Fuxino f37cd89b4e Fix parsing of old config file 2023-06-15 09:30:59 +02:00
Fuxino d1b429d37a Merge branch 'master' into development 2023-06-04 16:53:22 +02:00
Fuxino 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
Fuxino d6d9fbf6e4 Add no-syslog option 2023-06-04 10:16:50 +02:00
Fuxino cee4d13837 Fix bug
Fix crash when attempting to close a non-existent paramiko
SSH connection
2023-06-03 16:14:36 +02:00
Fuxino 252617e4f2 Fix old backups counting 2023-06-03 16:09:34 +02:00
Fuxino 809545b172 Explicitly close paramiko connection 2023-06-03 15:56:24 +02:00
Fuxino b34627fe58 Improve readability 2023-06-03 15:44:31 +02:00
Fuxino cd558e8608 Merge branch 'nolink' into development 2023-06-02 20:12:53 +02:00
Fuxino ffbf8ece91 Remove last_backup link 2023-06-02 19:38:28 +02:00
Fuxino 78760bdda3 Merge branch 'master' into development 2023-06-02 18:38:54 +02:00
Fuxino 6c07c147ae Version bump 2023-06-02 17:04:53 +02:00
Fuxino 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
Fuxino 3d3fbbcbd9 Add password authentication for SSH 2023-06-02 00:09:14 +02:00
Fuxino 4f3d83f458 Update manpage 2023-06-01 22:18:32 +02:00
Fuxino d48eaabbd3 Merge branch 'master' into development 2023-06-01 17:47:44 +02:00
Fuxino 525f381094 Remove PKGBUILD
Removed PKGBUILD since the packages is available in the AUR. Added
a note about AUR in README.md
2023-06-01 17:23:58 +02:00
Fuxino e1ba388296 Update version 2023-06-01 17:18:42 +02:00
Fuxino e84cf81b13 Add man page 2023-06-01 17:08:31 +02:00
Fuxino 7664fa1b33 Update README.md 2023-05-31 22:12:59 +02:00
Fuxino 98cb7f5822 Fix ssh authentication when running with sudo 2023-05-31 20:39:03 +02:00
Fuxino b957200deb Change missing hostkey policy 2023-05-31 19:30:31 +02:00
Fuxino 9e90d620e6 Merge branch 'master' into development 2023-05-31 19:21:11 +02:00
Fuxino 06620a4dba Fix bug when exclude pattern is None 2023-05-31 19:07:50 +02:00
Fuxino ba97b25e25 Add docstrings 2023-05-29 23:10:29 +02:00
Fuxino 335ad348e5 Update README.md 2023-05-29 21:56:58 +02:00
Fuxino df18e383ed Update dependencies 2023-05-29 19:02:05 +02:00
Fuxino 7eb71bc924 Add rsync compress option 2023-05-29 18:33:02 +02:00
Fuxino c25ef52393 Implement remove old backups from server 2023-05-29 17:57:12 +02:00
Fuxino 24a59bde2d Use ssh agent if available 2023-05-29 00:09:54 +02:00
Fuxino 88e6a9a141 Add incremental backups on server 2023-05-28 23:19:08 +02:00
Fuxino 38c090e257 Add basic remote backup functionality 2023-05-28 21:30:40 +02:00
Fuxino 0dd7b887f7 Update PKGBUILD to use release version 2023-05-28 11:07:03 +02:00
Fuxino 7684bc43b0 Add desktop notifications 2023-05-25 23:44:59 +02:00
Fuxino a07fce1b6c Version bump 2023-05-25 19:01:50 +02:00
Fuxino 11c1ab0952 Add options to remove old backups before copying files 2023-05-25 19:01:19 +02:00
Fuxino a42ade4f2b Version bump 2023-05-25 17:27:04 +02:00
Fuxino c6432c1350 Check rsync return code 2023-05-25 17:20:32 +02:00
Fuxino fa1d8f410e Remove old last_backup link after copying files 2023-05-25 17:10:38 +02:00
Fuxino 8b9087cdf6 Version bump 2023-05-11 20:21:00 +02:00
Fuxino 3c155e62a2 Version bump 2023-05-11 20:19:56 +02:00
Fuxino 5a4a26f9a7 Fix minor bugs and improve exception handling 2023-05-11 20:18:42 +02:00
Fuxino ca0e3d133f Fix entry_point in setup.cfg 2023-05-05 19:41:32 +02:00
Fuxino cc788735dd Fix README.md 2023-05-05 19:30:53 +02:00
Fuxino 631ffa85d3 Remove broken desktop notifications 2023-05-05 19:23:21 +02:00
Fuxino fe2d66c24c Remove data_files from setup.cfg 2023-05-05 19:12:41 +02:00
Fuxino 97419c30f9 Use setuptools to build the project 2023-05-05 19:03:23 +02:00
Fuxino c6871ac81a Bump PKGBUILD version 2023-05-04 23:42:55 +02:00
Fuxino 90120031e2 Update PKGBUILD 2023-05-04 23:21:12 +02:00
Fuxino d61ffa199a Use setuptools 2023-05-04 23:16:15 +02:00
Fuxino a4c4b88193 Fix PKGBUILD 2023-05-02 18:10:43 +02:00
Fuxino eb8bdde1fc Rename configuration file 2023-05-02 18:07:41 +02:00
Fuxino 5d17aaf03a Update dependencies in PKGBUILD 2023-04-30 22:06:30 +02:00
Fuxino d181d2970f Better handle missing parameters 2023-04-30 14:38:26 +02:00
Fuxino 84e6d58493 Handle dbus exceptions 2023-04-30 11:53:31 +02:00
Fuxino d2e982469b Log number of old backups removed 2023-04-30 11:41:37 +02:00
Fuxino 0dde6b8df9 Fix last_backup broken link detection 2023-04-30 11:32:35 +02:00
Fuxino e45ae1b1b6 Decrease log verbosity 2023-04-30 11:02:59 +02:00
Fuxino d1ccc33d0a Update gitignore 2023-04-30 10:41:51 +02:00
Fuxino 8b52115b4a Change journal log format 2023-04-30 10:40:18 +02:00
Fuxino c02fd658bc Use systemd journal for logging 2023-04-29 22:26:38 +02:00
Fuxino 7d0125344f Update install file 2023-04-29 21:53:06 +02:00
Fuxino 3f2e133eff Change default config path 2023-04-29 21:50:35 +02:00
Fuxino d2e03f89ca Add desktop notifications 2023-04-29 21:28:42 +02:00
Fuxino 92ecc95f72 Fix Arch Linux .install file 2023-04-15 22:16:50 +02:00
Fuxino 3e5e3cb066 Add timing 2023-04-15 21:53:16 +02:00
Fuxino bd74cf0e14 Fix PKGBUILD 2023-04-15 21:43:09 +02:00
Fuxino 1a251f61af Send rsync output to logger 2023-04-15 21:36:45 +02:00
Fuxino 661a5d4232 Add requirements.txt 2023-04-15 21:06:58 +02:00
Fuxino 642d807d61 Use destination if input is symlink 2023-04-15 21:01:01 +02:00
Fuxino b08b0474ac Refactor code 2023-04-15 19:49:33 +02:00
Fuxino b4dee0ccd2 Rename config file 2023-04-15 12:40:09 +02:00
Fuxino da07c602b5 Fix small bugs 2023-04-15 11:09:36 +02:00
Fuxino b4294a5792 Add .gitignore 2023-04-15 10:39:26 +02:00
Fuxino b79e929f2d Improve exception handling 2019-09-18 09:55:46 +02:00
Fuxino 2bcab8f3ab Remove option user
Now the program handles automatically the correct user even when
running with sudo
2019-09-17 19:35:25 +02:00
Fuxino fbd9520845 Clean code 2019-09-17 16:30:06 +02:00
Fuxino 5f0742874e Add some exception handling 2019-09-17 15:02:30 +02:00
Fuxino 4c9a30d979 Update PKGBUILD 2019-09-16 19:40:35 +02:00
Fuxino 55a2c58e0b Remove LICENSE 2019-09-16 19:27:58 +02:00
Fuxino ffea2abdb2 Clarify help function 2019-09-16 18:36:45 +02:00
Fuxino 2d50c7b158 Convert to Python 2019-09-16 18:12:19 +02:00
Fuxino 27324634b4 Fix version output 2017-06-24 23:42:01 +02:00
Fuxino 133a6b1a48 Fix minor bug
When using the '-s/--checksum' option, rsync output numbers were
not in human readable format. This commit fix this minor issue.
2017-06-24 23:29:39 +02:00