← Back to context Comment by krn1p4n1c 1 day ago tar cf - . | tar xf - -C <dest> 7 comments krn1p4n1c Reply jhallenworld 1 hour ago I never bothered to learn -C, instead I use: tar -cf - . | (cd <dest>; tar -xf -) For doing something like duplicating root of a filesystem you may want --one-file-system. Rygian 1 day ago with a sandwiched `| pv |` for fun stats dspillett 1 day ago And `| ssh <target> ` for a remote copy.(or ssh <target> prepended rather than sandwiched, to copy from remote) Rygian 1 day ago At some point it starts very much looking like zfs send | pv | ssh <target> zfs receive 1 reply → krn1p4n1c 1 day ago I usually sandwich zstd and base64 encode/decode in with the ssh pipe. Used when I need root permissions to pull the remote dirs. 1 reply →
jhallenworld 1 hour ago I never bothered to learn -C, instead I use: tar -cf - . | (cd <dest>; tar -xf -) For doing something like duplicating root of a filesystem you may want --one-file-system.
Rygian 1 day ago with a sandwiched `| pv |` for fun stats dspillett 1 day ago And `| ssh <target> ` for a remote copy.(or ssh <target> prepended rather than sandwiched, to copy from remote) Rygian 1 day ago At some point it starts very much looking like zfs send | pv | ssh <target> zfs receive 1 reply → krn1p4n1c 1 day ago I usually sandwich zstd and base64 encode/decode in with the ssh pipe. Used when I need root permissions to pull the remote dirs. 1 reply →
dspillett 1 day ago And `| ssh <target> ` for a remote copy.(or ssh <target> prepended rather than sandwiched, to copy from remote) Rygian 1 day ago At some point it starts very much looking like zfs send | pv | ssh <target> zfs receive 1 reply → krn1p4n1c 1 day ago I usually sandwich zstd and base64 encode/decode in with the ssh pipe. Used when I need root permissions to pull the remote dirs. 1 reply →
Rygian 1 day ago At some point it starts very much looking like zfs send | pv | ssh <target> zfs receive 1 reply →
krn1p4n1c 1 day ago I usually sandwich zstd and base64 encode/decode in with the ssh pipe. Used when I need root permissions to pull the remote dirs. 1 reply →
I never bothered to learn -C, instead I use:
For doing something like duplicating root of a filesystem you may want --one-file-system.
with a sandwiched `| pv |` for fun stats
And `| ssh <target> ` for a remote copy.
(or ssh <target> prepended rather than sandwiched, to copy from remote)
At some point it starts very much looking like zfs send | pv | ssh <target> zfs receive
1 reply →
I usually sandwich zstd and base64 encode/decode in with the ssh pipe. Used when I need root permissions to pull the remote dirs.
1 reply →