diff options
Diffstat (limited to 'bin/backup-settings')
-rwxr-xr-x | bin/backup-settings | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/backup-settings b/bin/backup-settings index 955a59e..1a9cc12 100755 --- a/bin/backup-settings +++ b/bin/backup-settings @@ -2,7 +2,7 @@ etcTMP=/tmp/etc.tgz etcIF=/etc -OF=/home/dave/Dropbox/sync +OF=/home/dave/ownCloud/backup/settings gpgEND=.gpg echo "Backing up /etc directory." @@ -11,7 +11,7 @@ echo "Encrypting compressed directory." su - dave -c "gpg -e -r 'David Runge <david.runge@frqrec.com>' $etcTMP" echo "Changing permissions on file." chown dave:dave $etcTMP$gpgEND -echo "Moving backup to Dropbox." +echo "Moving backup to ownCloud." mv -f $etcTMP$gpgEND $OF echo "Cleaning up." rm $etcTMP |