Commit Graph

23 Commits

Author SHA1 Message Date
1d7403b1b9
revert 6ca8343;lock using FDs 2022-05-31 17:42:35 +02:00
6ca8343202
feat: add snapshot locking via chattr +i
the snapshot might get deleted from underneath us so lock it by setting
the immutable bit on the snapshot; note we don't need a recursive lock
because the snapshot already is read-only, we just need to prevent it
from getting pruned by 'btrfs subvolume delete'
2021-05-03 15:31:16 +02:00
e4eed494f1
feat: add zstd in-transfer compression support
* clean up trailing whitespace
* update README.md and add a standalone Credits section
2021-05-03 14:57:57 +02:00
nachoparker
6d3c3f04b5 support retries
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-07 19:29:21 -06:00
nachoparker
54c6500ceb support remote src
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-06 16:32:12 -06:00
nachoparker
61eeabb3b9 remove dst snapshot if the transfer fails
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-06 15:29:21 -06:00
nachoparker
feb889edf8 improve error message 2019-02-25 08:46:07 -07:00
nachoparker
6fc66dfb57 fix return code 2018-11-17 19:37:14 -07:00
nachoparker
4d1c7a2830 check permissions for dst 2018-11-11 12:41:49 -07:00
nachoparker
21efd59959 improve overlap detection 2018-11-10 23:42:00 -07:00
nachoparker
af2e599c8e add SSH port option 2018-11-10 22:41:27 -07:00
nachoparker
e9469983bc make faster and more robust 2018-11-10 01:41:43 -07:00
Ignacio Nunez
25d23bee02 fix SIGINT 2018-06-18 12:05:15 +02:00
Ignacio Nunez
9febef2666 prevent overlap at src 2018-06-18 12:05:12 +02:00
Ignacio Nunez
96d499006a allow only passwordless SSH 2018-06-14 12:45:03 +02:00
nacho
36c05dc9e8 prevent overlap with other btrfs-sync instances 2018-05-03 12:27:59 +02:00
nacho
d9aca00f8c fix show usage when invoked without arguments 2018-04-27 12:31:38 +02:00
nacho
d6623a6eb8 update README.md 2018-03-25 18:06:48 +02:00
nacho
fc7fb84adb make re-sync more efficient 2018-03-15 12:18:39 +01:00
nacho
54473236fc Ability to re-sync already sync'ed snapshots 2018-03-13 21:32:53 +01:00
nacho
40ae436557 fix for older versions of btrfs-tools 2018-03-13 19:48:39 +01:00
nacho
e1d774926d fix srcs order in the case of folder of snapshots 2018-03-13 19:48:39 +01:00
nachoparker
3e456fa85d Initial commit 2018-03-13 19:48:39 +01:00