Changed names of and references to var files to reduce confusion with other programs

release/full-rewrite
capntack 8 months ago
parent 354265a7e2
commit 0e0ca1878c

4
.gitignore vendored

@ -7,5 +7,5 @@ resticClean.sh
resticExcludes
rsync.sh
rsyncManifest
variables.sh
variablesAWS.sh
backupsVariables.sh
backupsVariablesAWS.sh

@ -11,17 +11,17 @@ cp ./templates/resticExcludesTemplate ./resticExcludes
cp ./templates/resticTemplate.sh ./restic.sh
cp ./templates/rsyncManifestTemplate ./rsyncManifest
cp ./templates/rsyncTemplate.sh ./rsync.sh
cp ./templates/variablesAWSTemplate.sh ./variablesAWS.sh
cp ./templates/variablesTemplate.sh ./variables.sh
cp ./templates/backupsVariablesAWSTemplate.sh ./backupsVariablesAWS.sh
cp ./templates/backupsVariablesTemplate.sh ./backupsVariables.sh
# Set scripts to executable
chmod +x ./backups.sh
chmod +x ./resticClean.sh
chmod +x ./restic.sh
chmod +x ./rsync.sh
chmod +x ./variablesAWS.sh
chmod +x ./variables.sh
chmod +x ./backupsVariablesAWS.sh
chmod +x ./backupsVariables.sh
# Set variable files to r/w by owner only
chmod 600 ./variablesAWS.sh
chmod 600 ./variables.sh
chmod 600 ./backupsVariablesAWS.sh
chmod 600 ./backupsVariables.sh

@ -58,7 +58,7 @@ readonly LOG_RETENTION='30'
## Only uncomment and set these if RSYNC_BACKUP further above is set to 'yes'
## Set these vars
# readonly RSYNC_SOURCE='/'
# readonly RSYNC_SOURCE='/home'
# readonly RSYNC_DEST='/path/to/dir/to/backup/to'
# readonly RSYNC_RETENTION_KEEP_LAST='7'
@ -100,7 +100,7 @@ readonly LOG_RETENTION='30'
## Recommendation is to leave the first tag be, and configure the second
# readonly RESTIC_TAG_01="${HOSTNAME}"
# readonly RESTIC_TAG_02='TAG-02'
# readonly RESTIC_TAG_02='home'
## Leave this var be
# readonly RESTIC_EXCLUDES="${SCRIPT_DIR}/resticExcludes"
Loading…
Cancel
Save