Compare commits
6 Commits
354265a7e2
...
5956f0fd71
Author | SHA1 | Date |
---|---|---|
capntack | 5956f0fd71 | 8 months ago |
capntack | 74e5bcc1a7 | 8 months ago |
capntack | 30751e8c3f | 8 months ago |
capntack | 9d9594f998 | 8 months ago |
capntack | a096862ddb | 8 months ago |
capntack | 0e0ca1878c | 8 months ago |
@ -1,3 +1,7 @@
|
||||
/home/**/.cache
|
||||
/home/**/.config/discord/Cache
|
||||
/home**/.steam
|
||||
/home/**/.steam
|
||||
/home/**/Games
|
||||
/home/**/.local/share/Trash
|
||||
**/backupsVariables.sh
|
||||
**/backupsVariablesAWS.sh
|
@ -1,22 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ AWS_RESTIC_BACKUP = 'no' ]; then
|
||||
if [ $AWS_RESTIC_BACKUP = 'no' ]; then
|
||||
restic backup --verbose \
|
||||
--tag "${RESTIC_TAG_01}" --tag "${RESTIC_TAG_02}" \
|
||||
--exclude-caches \
|
||||
--exclude-file="${RESTIC_EXCLUDES}" \
|
||||
--exclude "${SCRIPT_DIR}"/variables.sh \
|
||||
--exclude "${SCRIPT_DIR}"/variablesAWS.sh \
|
||||
"${RESTIC_SOURCE}"
|
||||
fi
|
||||
|
||||
if [ AWS_RESTIC_BACKUP = 'yes' ]; then
|
||||
if [ $AWS_RESTIC_BACKUP = 'yes' ]; then
|
||||
restic backup --verbose \
|
||||
--tag "${RESTIC_TAG_01}" --tag "${RESTIC_TAG_02}" \
|
||||
--exclude-caches \
|
||||
--exclude-file="${RESTIC_EXCLUDES}" \
|
||||
--exclude "${SCRIPT_DIR}"/variables.sh \
|
||||
--exclude "${SCRIPT_DIR}"/variablesAWS.sh \
|
||||
-o s3.connections="${AWS_CONNECTIONS}" \
|
||||
--limit-upload "${AWS_UPLOAD}" \
|
||||
"${RESTIC_SOURCE}"
|
||||
|
Loading…
Reference in New Issue