Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| encrypted_backups_to_the_cloud [14.08.2017 07:01] – [the script] Pascal Suter | encrypted_backups_to_the_cloud [15.08.2017 08:44] (current) – [the script] Pascal Suter | ||
|---|---|---|---|
| Line 78: | Line 78: | ||
| # | # | ||
| - | # (c) 2017 Pascal Suter, Version | + | # (c) 2017 Pascal Suter, Version 0.10 Beta |
| # this script creates an enecrypted offsite backup of a locally kept backup. | # this script creates an enecrypted offsite backup of a locally kept backup. | ||
| # ideally suited to work with rubi (http:// | # ideally suited to work with rubi (http:// | ||
| Line 105: | Line 105: | ||
| echo "here are the last lines of the rsync process:" | echo "here are the last lines of the rsync process:" | ||
| tail -n 3 / | tail -n 3 / | ||
| + | umount $PLAINMOUNT 2>/ | ||
| + | exit 0 | ||
| } | } | ||
| Line 140: | Line 142: | ||
| # rsync to offsite location | # rsync to offsite location | ||
| - | rsync -AaHvXx $RSYNCOPTS " | + | rsync -AaHvXx |
| res=$? | res=$? | ||
| if [ $res -gt 0 ]; then | if [ $res -gt 0 ]; then | ||
| Line 153: | Line 155: | ||
| fi | fi | ||
| </ | </ | ||
| + | === Known Issues === | ||
| + | For some reason gocryptfs seems to generate some files (two in my case) like '' | ||
| + | |||
| ===== Restoring Files ===== | ===== Restoring Files ===== | ||
| to restore files you could use '' | to restore files you could use '' | ||