Backup codebases with Dørst.
cargo install dorst
Run dorst
to create a configuration file in $HOME/.config/dorst
and set the first backup target.
dorst /tmp/src-backups
Example without authentication:
targets: - https://github.com/charlesrocket/dotfiles - https://github.com/charlesrocket/freebsd-server ```
Add ssh_key
path and ssh_pass_protected
boolean to authenticate with SSH key:
sshkey: ~/private-ssh-key sshpass_protected: true targets: - https://github.com/charlesrocket/freebsd-station - git@github.com:charlesrocket/openbsd-station ```
The -c
/--config
flag allows the usage of an alterantive configuration file.