Hello everyone,
I'm trying to backup my iPhoto library with rsync to an airdisk.
I'm having some problems, the backup doesn't seem to go anywhere.
it stays frozen on this.
After more then 1 hour, still the same.
iPhoto Library/.ipspot_update
16 100% 0.00kB/s 0:00:00 (xfer#1, to-check=1030/1032)
iPhoto Library/AlbumData.xml
32768 0% 138.53kB/s 0:01:32
According to activity monitor there's minimal network activity going on.
i don't know what i'm doing wrong.
There's the script i use.
oh and i only want to copy data from my mac to my airdisks, so just 1 way sync, not 2 way
I'm trying to backup my iPhoto library with rsync to an airdisk.
I'm having some problems, the backup doesn't seem to go anywhere.
it stays frozen on this.
After more then 1 hour, still the same.
iPhoto Library/.ipspot_update
16 100% 0.00kB/s 0:00:00 (xfer#1, to-check=1030/1032)
iPhoto Library/AlbumData.xml
32768 0% 138.53kB/s 0:01:32
According to activity monitor there's minimal network activity going on.
i don't know what i'm doing wrong.
There's the script i use.
oh and i only want to copy data from my mac to my airdisks, so just 1 way sync, not 2 way
Code:
#/bin/bash
echo "Checking if MacBackup airdisk local directory is available"
if [ -d /Volumes/MacBackup/ ];
then
echo "No need to create local directory in /Volumes"
else
echo "Local directory not available, creating..."
mkdir /Volumes/MacBackup/
fi
if [ ! -f /Volumes/MacBackup/available.txt ];
then
echo "Mounting MacBackup airdisk"
mount -t afp afp://username:password@ip/MacBackup /Volumes/MacBackup
disktool -r
fi
#Backing up iPhoto library
if [ -f /Volumes/MacBackup/available.txt ];
then
echo "Backing up iPhoto Library"
rsync -avz --delete --exclude '.DS_Store' --stats --progress ~/Pictures/iPhoto\ Library /Volumes/MacBackup/autobackup/
else
echo "MacBackup airdisk not available"
#exit(1)
fi
if [ -d /Volumes/NightAirDisk/ ];
then
echo "No need to create local directory in /Volumes"
else
echo "Local directory not available, creating..."
mkdir /Volumes/NightAirDisk/
fi
if [ ! -f /Volumes/NightAirDisk/available.txt ];
then
echo "Mounting NightAirDisk airdisk"
mount -t afp afp://username:password@ip/NightAirDisk /Volumes/NightAirDisk
disktool -r
fi
#Backing up truecrypt containers
if [ -f /Volumes/NightAirDisk/available.txt ];
then
echo "Backing up truecrypt containers from NightAirDisk"
#Put backup script here
rsync -av --delete --exclude '.DS_Store' --stats --progress /Volumes/NightAirDisk/Tom/tc /Volumes/MacBackup/autobackup/
else
echo "NightAirDisk airdisk not available"
#exit(1)
fi
Last edited: