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

build documentation with correct path for ssh_filter_btrbk #502

Open
calestyo opened this issue Nov 15, 2022 · 0 comments
Open

build documentation with correct path for ssh_filter_btrbk #502

calestyo opened this issue Nov 15, 2022 · 0 comments

Comments

@calestyo
Copy link
Contributor

Hey.

I think it would be nice if at least here:

command="ssh_filter_btrbk.sh --target --delete --restrict-path /mnt/btr_backup",restrict ssh-rsa AAAAB3NzaC1...hwumXFRQBL btrbk@example.org

the pathname would match that where it's actually installed.

Does asciidoc provide any replacement mechanism or should I make something with sed and rename the file to .in?

Possibly also here:

btrbk/README.md

Lines 554 to 561 in af2d7b2

command="/backup/scripts/ssh_filter_btrbk.sh -l --source --delete",restrict <pubkey>...
# example backup target (also allowing deletion of old snapshots)
command="/backup/scripts/ssh_filter_btrbk.sh -l --target --delete",restrict <pubkey>...
# example fetch-only backup source (snapshot_preserve_min=all, snapshot_create=no),
# restricted to subvolumes within /home or /data
command="/backup/scripts/ssh_filter_btrbk.sh -l --send -p /home -p /data",restrict <pubkey>...

OTOH, that should be directly readable, so maybe just hardcode /usr/share/btrbk/scripts/ssh_filter_btrbk.sh.

Cheers,
Chris.

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

No branches or pull requests

1 participant