bin: update

This commit is contained in:
Luc Bijl 2025-08-17 15:01:12 +02:00
parent 0cc125394f
commit a93593061c
5 changed files with 35 additions and 3 deletions

10
bin/backup Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
host=""
user=""
serverdir=""
clientdirs="$HOME/.local/etc $HOME/.local/bin $HOME/.config $HOME/.volumes $HOME/.dump"
command="/usr/bin/restic"
exec $command -r sftp:${user}@${host}:/${serverdir} -v backup $clientdirs