Fwd: undelete bookmark folder

Matt Graham danceswithcrows at usa.net
Thu Jul 11 08:24:38 MST 2013


From: James Dugger 
> While I don't have hard links (mainly soft links) in my working
> directories, I am using hard links in my incremental backup strategy.
> I implement the following simple script to create a rotating backup
> using rsync's --link-dest=[filename].
[snip script]
> subdirectory with today's date under a directory called 'archive'
> and then proceeds to read changed files from the previous day's
> archive directory, copy and link any changed files from this
> directory to today's archive.  It then proceeds to delete the
> directory that is 121 days old.

This should work and be useful to some extent.  Keeping some sort of record of
"how did everything look on YYYY-MM-DD?" could be useful for various things.

However, using hard links like this means that your backup lives on the same
filesystem and same disk as the original data.  If your filesystem ever gets
corrupt or the disk ever dies, you could easily lose both the original and the
backup.  I've had filesystems and disks fail, so I would never use this as my
only backup strategy.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see



More information about the PLUG-discuss mailing list