nilmbuntu/backup.sh
Jim Paris 26215d6ac8 Add scripts to backup/restore FS directory
This lets you save the state of things to more quickly test other
changes

(for example, run customize-inner, then backup, then run the
standalone_install scripts)
2016-07-01 16:17:29 -04:00

8 lines
112 B
Bash
Executable File

#!/bin/bash
. config || exit 0
set -e
echo Backing up filesystem...
sudo rsync -a --delete ${FS} ${FS}.backup