Diff
1diff --git a/dt-s3-backup.sh b/dt-s3-backup.sh
2index bfb82adce4f2e00612ad9779aa43e93866eabe4c..d79ebc84833a2e7957e3db6c48ead21f4601d046 100644
3--- a/dt-s3-backup.sh
4+++ b/dt-s3-backup.sh
5@@ -20,8 +20,8 @@
6
7 # AUTHORS:
8
9-# Damon Timm <usertimm@gmail.com> <http://blog.usertimm.com> Mario
10-# Santagiuliana <mario@marionline.it> <http://www.marionline.it>
11+# Damon Timm <damontimm@gmail.com> <http://blog.damontimm.com>
12+# Mario Santagiuliana <mario@marionline.it> <http://www.marionline.it>
13
14 # VERSION 4 NOTE (02/12/2010):
15
16@@ -59,7 +59,7 @@
17
18 # MORE INFORMATION:
19 #
20-# http://usertimm.com/code/dt-s3-backup
21+# http://damontimm.com/code/dt-s3-backup
22
23 # ---------------------------------------------------------------------------- #
24
25@@ -87,7 +87,7 @@ ROOT="/home/"
26 # NOTE: You do need to keep the "s3+http://<your location>/" format;
27 # even though duplicity supports "s3://<your location>/" this script
28 # needs to read the former.
29-DEST="file:///home/user/new-backup-test/"
30+DEST="file:///home/foobar_user_name/new-backup-test/"
31 #DEST="s3+http://backup-bucket/backup-folder/"
32
33 # RESTORE FOLDER
34@@ -95,7 +95,7 @@ DEST="file:///home/user/new-backup-test/"
35 # setup to easily be able to restore a backup by adding the
36 # "--restore" flag. Indicate where you want the fili to restore to
37 # here so you're ready to go.
38-RESTORE="/home/user/restore-backup-01"
39+RESTORE="/home/foobar_user_name/restore-backup-01"
40
41 # INCLUDE LIST OF DIRECTORIES
42 # Here is a list of directories to include; if you want to include
43@@ -106,7 +106,7 @@ RESTORE="/home/user/restore-backup-01"
44 # "/home/www/mysql-backups" \
45 # )
46
47-INCLIST=( "/home/user/Documents/Prose/" ) # small dir for testing
48+INCLIST=( "/home/foobar_user_name/Documents/Prose/" ) # small dir for testing
49
50 # EXCLUDE LIST OF DIRECTORIES
51 # Even though I am being specific about what I want to include,
52@@ -148,11 +148,22 @@ CLEAN_UP_VARIABLE="2"
53 # just makes it easier for me to read them and delete them as needed.
54
55 # LOGDIR="/dev/null"
56-LOGDIR="/home/user/logs/test2/"
57+LOGDIR="/home/foobar_user_name/logs/test2/"
58 LOG_FILE="duplicity-`date +%Y-%m-%d-%M`.txt"
59-LOG_FILE_OWNER="user:user"
60+LOG_FILE_OWNER="foobar_user_name:foobar_user_name"
61 VERBOSITY="-v3"
62
63+# END OF USER EDITS
64+
65+
66+
67+
68+
69+
70+
71+
72+
73+
74
75 ##############################################################
76 # Script Happens Below This Line - Shouldn't Require Editing #
77@@ -372,7 +383,7 @@ elif [ "$1" = "--restore-to-dir" ]; then
78 OPTION="restore"
79
80 if [[ ! "$2" ]]; then
81- echo "Please provide a path destination (eg. /home/users/savehere):"
82+ echo "Please provide a path destination (eg. /home/user/restore-dir):"
83 read -e NEWDESTINATION
84 DEST=$NEWDESTINATION
85 echo ">> You will restore to ${DEST} from ${ROOT}."