Compare commits
No commits in common. '5956f0fd71bf633113349dcf9992a46f56e91101' and '354265a7e27bcee6128b4064692680981198feb6' have entirely different histories.
5956f0fd71
...
354265a7e2
@ -1,7 +1,3 @@
|
|||||||
/home/**/.cache
|
/home/**/.cache
|
||||||
/home/**/.config/discord/Cache
|
/home/**/.config/discord/Cache
|
||||||
/home/**/.steam
|
/home**/.steam
|
||||||
/home/**/Games
|
|
||||||
/home/**/.local/share/Trash
|
|
||||||
**/backupsVariables.sh
|
|
||||||
**/backupsVariablesAWS.sh
|
|
@ -1,18 +1,22 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ $AWS_RESTIC_BACKUP = 'no' ]; then
|
if [ AWS_RESTIC_BACKUP = 'no' ]; then
|
||||||
restic backup --verbose \
|
restic backup --verbose \
|
||||||
--tag "${RESTIC_TAG_01}" --tag "${RESTIC_TAG_02}" \
|
--tag "${RESTIC_TAG_01}" --tag "${RESTIC_TAG_02}" \
|
||||||
--exclude-caches \
|
--exclude-caches \
|
||||||
--exclude-file="${RESTIC_EXCLUDES}" \
|
--exclude-file="${RESTIC_EXCLUDES}" \
|
||||||
|
--exclude "${SCRIPT_DIR}"/variables.sh \
|
||||||
|
--exclude "${SCRIPT_DIR}"/variablesAWS.sh \
|
||||||
"${RESTIC_SOURCE}"
|
"${RESTIC_SOURCE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $AWS_RESTIC_BACKUP = 'yes' ]; then
|
if [ AWS_RESTIC_BACKUP = 'yes' ]; then
|
||||||
restic backup --verbose \
|
restic backup --verbose \
|
||||||
--tag "${RESTIC_TAG_01}" --tag "${RESTIC_TAG_02}" \
|
--tag "${RESTIC_TAG_01}" --tag "${RESTIC_TAG_02}" \
|
||||||
--exclude-caches \
|
--exclude-caches \
|
||||||
--exclude-file="${RESTIC_EXCLUDES}" \
|
--exclude-file="${RESTIC_EXCLUDES}" \
|
||||||
|
--exclude "${SCRIPT_DIR}"/variables.sh \
|
||||||
|
--exclude "${SCRIPT_DIR}"/variablesAWS.sh \
|
||||||
-o s3.connections="${AWS_CONNECTIONS}" \
|
-o s3.connections="${AWS_CONNECTIONS}" \
|
||||||
--limit-upload "${AWS_UPLOAD}" \
|
--limit-upload "${AWS_UPLOAD}" \
|
||||||
"${RESTIC_SOURCE}"
|
"${RESTIC_SOURCE}"
|
||||||
|
Loading…
Reference in New Issue