Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created BorgBackup (borg) shell and sudo functions #462

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jmrcsnchz
Copy link

@jmrcsnchz jmrcsnchz commented Aug 18, 2024

BorgBackup (short: Borg) is a deduplicating backup program. Optionally, it supports compression and authenticated encryption.

The techniques shown in this PR leverages Borg's --rsh argument. When set, the argument's value is used instead of ssh. This can be used to specify ssh options, such as a custom identity file ssh -i /path/to/private/key.

The techniques shown spawn an sh shell instead:
sudo borg extract @:/::: --rsh "sh -c 'sh </dev/tty >/dev/tty 2>/dev/tty'"

image

@jmrcsnchz jmrcsnchz changed the title Added BorgBackup (borg) shell and sudo functions Created BorgBackup (borg) shell and sudo functions Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant