[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: does anybody have an incron based backup script?



On Mon 19, 19:06 +0100, Johan Brinch wrote:
> I see.. Should have read up on incron before answering ;)
> But it is quite likeyly, that running tarsnap every 5 minutes or so
> will keep your file stats cached.

Ideally I would like to backup files in real-time whenever there are 
changes. Incrond makes that easy and I already an offline solution using 
plain tar that works nicely. But it would be sweet to use tarsnap to have a real-time 
encrypted cloud backup as well.
 
I guess the problem is that a tar archive can contain multiple versions 
of a file with the same name. When restoring from the archive, only the 
newest version of the file will be restored. If you want to get an older 
version, you can specify the version with an additional command-line 
switch. Tarnsap doesn't (yet?) seem to have this feature.

But maybe it is just good enough to have hourly backups and stop 
worrying about real-time..