|
|
|
@ -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
|