You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Readme suggests using cat archive | docker ... - to restore backups, but that is another process call, wouldn't it be more efficient to just use docker ... - <archive instead?
While it does work (I only tested with small backups) I'm not quite sure myself if there are major downsides to it.
The text was updated successfully, but these errors were encountered:
Yes, you are right, it probably would be more efficient. I wrote it with cat out of habit and for readability. Would you be able to prepare a benchmark to illustrate that there's a difference?
Never mind, I think it will be even more readable with < at the end, since it's similar to normal restore syntax and backup syntax. I will change it when I have a bit of time. Thanks for your suggestion.
The Readme suggests using
cat archive | docker ... -
to restore backups, but that is another process call, wouldn't it be more efficient to just usedocker ... - <archive
instead?While it does work (I only tested with small backups) I'm not quite sure myself if there are major downsides to it.
The text was updated successfully, but these errors were encountered: