aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/sync-backups2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-backups b/files/sync-backups
index bd62b33..e580c30 100644
--- a/files/sync-backups
+++ b/files/sync-backups
@@ -42,7 +42,7 @@ function sync_backups_node {
# Copy encrypted images.
if [ -d "$IMAGES" ]; then
- for image in `find $IMAGES -type f`; do
+ for image in `find $IMAGES -name '*.img' -type f`; do
mkdir -p /$MEDIA/$HOSTNAME/images/`dirname $image`
echo "Copying image to /$MEDIA/$HOSTNAME/images/`dirname $image`"
cp $image /$MEDIA/$HOSTNAME/images/`dirname $image`