I'm looking for a backup solution for a specific use case. If none exists, then I'm tempted to make one.
I have a large and growing collection of video files. On my workstation I have a fairly large disk in RAID5, consisting of a few 2TB disks, which is easily expandable. These files are never changed. If I need to edit one, then I create a new file. I use hotswapable 2.5" harddisks for backup, which so far I've done manually. It works, but I'm afraid of doing anything wrong. I might forget to copy a file, mislabel a disk, etc.
I would like a solution that watches the video files on my workstation, automatically copies new files to the current backup disk and presents me with an overview of which backup disk contains which files, descriptions, dates and where those disks are physically stored. It would be nice if I could just insert an unformatted disk and it would be formatted, labeled and tracked automatically. When the free space of a backup disk reaches a certain level, I should be notified so that I can store it safely and replace it with a new one. Each backup disk should contain a copy of the current database and thumbnails for the videofiles contained on this disk.
For restore, I should be able to simply provide a root directory where the hierarchy should be recreated and it would then tell me to "insert disk x" -- like installing Windows 95 from floppies.
Does anyone know of a free backup solution that fits this profile, or should I go ahead and make one?
I don't think there's an existing solution that offers exactly what you describe. You would have to write a couple of scripts, starting with something like fsniper that watches for new files and then triggering the addition of this file to a text file tracking all files, copying the file to the harddisk, complaining if the disk is full etc. It is of course feasible, but involves a lot of work and has a lot of pitfalls that existing backup solutions take care of coping with (e.g. handling a crash during the copy of a file).
Another solution (that does not store plain files on the disk and does not allow any nice thumbnail preview) is using a powerful backup solution like bacula , that is built for enterprise grade backups and can cope with backing up to multiple tape drives. You can then adapt such a solution to use harddrives instead of tape drives, as explained here on the bacula wiki
A software that might be useful for your current workflow (manual copying of new files) is “Virtual Volumes View” (short: VVV):
Unfortunately it's not available in the repositories but has to be compiled from source.
I'm using a simple script for rsync. It syncs my laptop with an external hard drive.
It keeps (a) some folders in external drive only [
LTDS
list folder for that], (b) others are synced with local drive [LTDD
list folders for that], (c) also dot files are backed-up [last 4 lines of the script do that].My external hard dirve is called
box
. And in a script it's hardcoded, as a distination path is:DEST="/media/box"
.I'm using that script for quite now. It works fine.
You might want to look into r
sync
. I know it's a bit scary b/c its a command line tool, but there is a GUI for it,grsync
which you can find in synaptic or doThere are a ton of options for the backup and the
-i
option gives you an itemized changes list. It should fit the ticket. See the wikipedia page