6 lines
96 B
Bash
Executable File
6 lines
96 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIR=$(dirname "$0")
|
|
cd "$DIR/backup"
|
|
ssh pi@pi "cd backups; tar czf - *" | tar xzf -
|