Ready, steady… save!
You don’t need a chart to join in. Here are 2 ways to record your savings:
1. Cross it off
Pop a chart into your first post. Saved an amount? Cross it out! Read more »
£0.01 £0.02 £0.03
2. Write it down
Skip the chart and add updates to your first post. Read more »
“Another +£3 saved today. Go me!”
Use +£ before each new saving so it counts towards your total.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Sourcing reliable server
Comments
-
He does use rysnc to do incremental backups but the issue is if you discover a file has got corrupt and it got corrupted 3 months ago (for example) so he wants to be able to go back to when it wasn't corrupt.
This will be no problem with my method. This is a snippet of my backup scriptBACKUPDIR="/mnt/data/backup/"
DATE=`date +%y%m%d`
SOURCES="/boot/ /etc/ /home/ /usr/local/bin/" # !!!IMPORTANT!!! directories must end with /
RSYNC="--delete"
LASTBACKUP=`ls -d $BACKUPDIR | sort -r | grep -v lost+found | head -1 `
for SOURCE in `echo $SOURCES`
do
if [ "$LASTBACKUP" ]; then
INC="--link-dest=$LASTBACKUP$SOURCE"
fi
mkdir -p $BACKUPDIR$DATE$SOURCE # create directories without error control
rsync -avzP $RSYNC $INC $SOURCE $BACKUPDIR$DATE$SOURCE
done
You can delete any backup and still have a complete backup in any other backup folder.
http://en.wikipedia.org/wiki/Hard_links0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 355.9K Banking & Borrowing
- 255K Reduce Debt & Boost Income
- 456.2K Spending & Discounts
- 248.4K Work, Benefits & Business
- 606.1K Mortgages, Homes & Bills
- 179.1K Life & Family
- 264K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards