You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cp ./templates/backupsTemplate.sh ./backups.sh
|
|
|
|
cp ./templates/resticCleanTemplate.sh ./resticClean.sh
|
|
|
|
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
|
|
|
|
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 600 ./variablesAWS.sh
|
|
|
|
chmod 600 ./variables.sh
|