backup.sh:
- Add use getopts for a more friendly user interface.
- Add timeout to ping check.
- Add unix epoch to backup file names.
- Backup ssh information (/etc/ssh, $USER/.ssh).
restore.sh:
- Add use getopts for a more friendly user interface.
- Add timeout to ping check.
- If user doesn't specify a backup file to restore, attempt to
find the latest for the host name passed in.
Signed-off-by: Aaron Bieber <aaron@bolddaemon.com>
- Significantly decrease time it takes to save a backup
- Remove host dependency on 'zip' binary
- Preserve file attributes on backed-up files
- Avoid copying files on the pi itself to /tmp
Signed-off-by: Jeremy O'Brien <neutral@fastmail.com>