bin: update
This commit is contained in:
parent
0cc125394f
commit
a93593061c
5 changed files with 35 additions and 3 deletions
10
bin/backup
Executable file
10
bin/backup
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue