Hi all,
I have been using rsync to perform automated backups to a separate
physical drive for years. I recently upgraded my hardware, including
switching to an SSD for my main drive and upgrading my backup drive.
The other recent change, is Mint Linux 16.04 to 20.04.
My crontab executed script has not been altered.
It now appears that the backups are no longer sharing hard links, making
them use much more space. I have now filled 4TBs with backups in weeks,
when it would typically take a year to fill 1TB prior to my upgrades.
I am unsure where to look to figure out what may have changed. Any
suggestions you may have are appreciated.
My sctript ...
NOW=$(date +"%Y%m%d-%H%M")
BASE="/mnt/backup-int"
PREVIOUS=$(ls -r $BASE | head -1)
echo .
echo Starting snapshot to internal media at $NOW
echo .
if [ "$NOW" != "$PREVIOUS" ];
then
TARGET="$BASE/$NOW"
LINK="$BASE/$PREVIOUS"
OPTIONS="--dry-run -rptgovDH --delete --link-dest=$LINK"
rsync $OPTIONS --include-from
'/home/carolyn/backupScripts/include-list.txt' --exclude-from
'/home/carolyn/backupScripts/exclude-list.txt' $SOURCE $TARGET
fi
...
Thanks for your assistance!
Carolyn
To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org