Commit Graph

804 Commits

Author SHA1 Message Date
Christoph Klaffl 77d0135a60
prepare v2.1.0 release 2020-11-24 11:52:20 +01:00
Christoph Klaffl eaa8eb2368
Merge pull request #4 from jim-perkins/patch-3
typo  'target -bwlimit'
2020-11-03 18:46:15 +01:00
Jim Salter 50cf9c9cc5
Merge pull request #437 from phreaker0/preserve-recordsize
preserve recordsize
2020-11-03 12:19:07 -05:00
Christoph Klaffl 2da9ba2095
only preserve recordsize for datasets of type "filesystem" 2020-11-03 18:05:13 +01:00
Christoph Klaffl bdd0dfb733
Merge branch 'master' into preserve-recordsize 2020-11-03 17:50:50 +01:00
Jim Salter a4cde57d29
Merge pull request #497 from phreaker0/scripts-snapshot-grouping
Scripts snapshot grouping
2020-11-01 17:47:11 -05:00
Jim Salter 59e8949efe
Merge pull request #498 from phreaker0/syncoid-dst-fix
append timezone offset to the syncoid snapshot name to fix DST collis…
2020-11-01 17:46:32 -05:00
Jim Salter 6041f0982b
Merge pull request #399 from phreaker0/path2
don't use hardcoded paths
2020-11-01 17:28:20 -05:00
Jim Salter 2de05798f4
Merge pull request #509 from phreaker0/docs-busybox
added note for busybox based distributions
2020-11-01 17:24:39 -05:00
Jim Salter 14e6c62d0a
Merge pull request #508 from phreaker0/check-arguments
check for an invalid argument combination
2020-11-01 17:24:29 -05:00
Jim Salter 42ea8dffce
Merge pull request #507 from phreaker0/fix-busy-detection
fix iszfsbusy check for similar dataset names
2020-11-01 17:24:20 -05:00
Jim Salter 25823b1006
Merge pull request #505 from phreaker0/docs-defaults-note
added note about the default options if some interval types aren't ...
2020-11-01 17:24:11 -05:00
Jim Salter bb19048501
Merge pull request #504 from phreaker0/docs-capacity-overiding
added note about capacity limit overriding
2020-11-01 17:24:02 -05:00
Jim Salter 318f7993ef
Merge pull request #502 from phreaker0/docs-fix-argument
fix typo in argument description
2020-11-01 17:23:49 -05:00
Jim Salter 2acb3e3fea
Merge pull request #501 from phreaker0/docs-centos
extended install instructions for centos if perl dependencies can't b…
2020-11-01 17:23:33 -05:00
Jim Salter 006f897d74
Merge pull request #500 from phreaker0/docs-cron-example
added cron setup example
2020-11-01 17:23:06 -05:00
Jim Salter 345e7e58b5
Merge pull request #374 from aerusso/pulls/syncoid-dont-require-user
Do not require user to be specified for syncoid
2020-11-01 17:22:57 -05:00
Jim Salter 58263cc8aa
Merge pull request #503 from phreaker0/docs-atomic-option
document the atomic way to take snapshots recursively
2020-11-01 17:20:57 -05:00
Jim Salter f187e072b8
Merge pull request #529 from phreaker0/root-resume-check
use sudo if neccessary for checking pool capabilities regarding resum…
2020-11-01 17:19:50 -05:00
Jim Salter c21b72a376
Merge pull request #510 from phreaker0/reset-resume-2
catch another case in which the resume state isn't availabe anymore
2020-11-01 17:19:22 -05:00
Jim Salter 0ac10750a7
Merge pull request #536 from phreaker0/keep-sync-snap
implemented option for keeping sync snaps
2020-11-01 17:19:00 -05:00
Jim Salter d526d9167d
Merge pull request #580 from kr4z33/patch-1
Update INSTALL.md
2020-11-01 17:18:36 -05:00
Jim Salter e6fdc196f0
Merge pull request #576 from jim-perkins/patch-1
Update sanoid.conf
2020-11-01 17:18:15 -05:00
Antonio Russo f397687968
Do not require user to be specified for syncoid
Extends syncoid remote capabilities to match that of ssh as closely as
possible: allow a remote dataset to be specified without a username.

 - Detect if a remote reference is possible by looking for a : before
   any / characters.
 - Check if there are any pool names that might conflict with this
   name. E.g., 'weird:symbol/ds' might refer to the pool "symbol" on
   host "weird", and dataset ds. OR it might refer to the local pool
   "weird:symbol" and dataset ds.
 - Prefer local pools, matching existing behavior. No preexisting
   functioning configurations will break.
 - The name of the control socket is changed slightly.
 - A bug in the handling of remote datasets with colons in the name
   is addressed.

Signed-off-by: Antonio Russo <aerusso@aerusso.net>
2020-11-01 10:55:50 -07:00
Leo Winter d7bf12623d
Add git to apt install on Debian 2020-10-06 13:48:34 +00:00
kr4z33 b31a7ba7d8
Update INSTALL.md
"build-essential" was required for me to complete the Debian/Ubuntu instructions.
2020-08-17 19:16:26 -10:00
Jim Perkins 5092ff1000
typo 'target -bwlimit'
Use of uninitialized value in concatenation (.) or string at ./syncoid line 1317.
just an asuumption on my part considering the rest of the variables with same name dont have the space in that location
2020-08-05 11:37:48 -05:00
Jim Perkins 2c3de61b2b
Update sanoid.conf
keeps system from running sanoid on non existent datasets
2020-08-03 02:58:06 -05:00
jimsalterjrs 9544ea7e6a typo in syncoid help 2020-05-23 16:27:29 -04:00
James Bunton 6bc210deb3 fix stream sync from bookmark
syncoid fails in the following case:
- performing a stream sync (default)
- there are no matching snapshots between source and target
- there is a bookmark on the source matching a snapshot on the target
- there is an unrelated snapshot on the source older than this bookmark

This happens because the units for snapshots and bookmarks were
different. syncoid tells `zfs send` to generate an incremental stream
starting from the bookmark and going to the unrelated older snapshot.
ZFS refuses to do this because it doesn't make sense.

This fix is a bit of hack. Ideally we should share the counter code
between getsnaps and getbookmarks.
2020-05-03 23:45:29 +10:00
Christoph Klaffl 9ab57e9bb4
added documentation regarding --keep-sync-snap option 2020-05-01 17:26:54 +02:00
Christoph Klaffl d77cfdf4c7
implemented option for keeping sync snaps 2020-05-01 17:20:07 +02:00
Christoph Klaffl 0e807386c4
use sudo if neccessary for checking pool capabilities regarding resumeable send 2020-04-20 19:20:28 +02:00
Christoph Klaffl e1a6507455
direct connection will default to busybox nc again but can be switched to mbuffer 2020-04-02 21:37:06 +02:00
Christoph Klaffl fcae918ffa
updated readme regarding busybox nc -> mbuffer switch 2020-03-31 09:40:36 +02:00
Christoph Klaffl 807f6fa1bb
check if socat and mbuffer is available for insecure direct connection 2020-03-31 09:27:17 +02:00
Christoph Klaffl f0dfd46c9f
use mbuffer tcp listen socket instead of busybox nc 2020-03-30 20:15:09 +02:00
Christoph Klaffl 2e6abddb5e
fixed uninitialized value warning 2020-03-30 19:01:54 +02:00
Christoph Klaffl 84bc3164f0
implemented option for direct connection via socat and busybox nc 2020-02-21 20:34:28 +01:00
Christoph Klaffl adc99d0349
fixed minor warning 2020-02-17 17:43:23 +01:00
Jim Salter e6c5aa052e
Merge pull request #454 from phreaker0/reworked-options
reworked argument parsing and error out if file path is not provided
2020-02-15 09:36:58 -05:00
Christoph Klaffl b808a74e2e
catch another case were the resume state isn't availabe anymore 2020-02-14 18:38:38 +01:00
Christoph Klaffl 909d3f3765
added note for busybox based distributions 2020-02-14 09:37:38 +01:00
Christoph Klaffl 4ebdc9d173
check for an invalid argument combination 2020-02-13 18:31:56 +01:00
Christoph Klaffl b09d2b66fc
typo 2020-02-13 09:26:15 +01:00
Christoph Klaffl 13ba2b43fa
fix iszfsbusy check for similar dataset names 2020-02-13 01:37:54 +01:00
Christoph Klaffl 44f7cae115
implemented pre pruning script hook 2020-02-13 01:01:09 +01:00
Jim Salter 487693993b
Merge pull request #499 from phreaker0/docs-install-stable
instruct to use the latest stable release instead of master
2020-02-12 15:47:20 -05:00
Christoph Klaffl eabe3aa791
added note about the default options if some interval types aren't sepcified 2020-02-12 21:31:21 +01:00
Christoph Klaffl cf7ab69e69
added note about capacity limit overriding 2020-02-12 21:14:08 +01:00