2

I have a low-power VIA x86 PC with one SATA port. I want to backup special files (ie: /var) from the SATA drive on this port onto a USB flash disk, but I don't want a RAID1 or fully-synchronous solution for performance reasons.

It is acceptable that data isn't entirely 100% durable/reliable, but I am looking for something more elegant than rsync-ing every 5minutes in crontab.

2 Answers 2

2

You could use the lsyncd tool to automate your rsyncs - that uses the filesystem notifier to re-run rsyncs as files change.

Apart from that the other replication options are a lot more heavy-weight, using gluster backed onto both your "real" location and your "backup" would give you mirroring but the extra overhead is noticeable.

5
  • What is the "fsync tool"? Jul 27, 2012 at 2:24
  • code.google.com/p/lsyncd
    – user9565
    Jul 27, 2012 at 11:18
  • OP wants to use FUSE and avoid using rsync, but answer is about automating rsync, again. And, is it supposed that rsync is lightweight and its overhead is not noticeable?..
    – catpnosis
    Feb 29, 2016 at 16:48
  • 1
    Found this answer when looking for a FUSE replicator - I'd already looked at lsyncd but discovered I would need to add around 6Gb of RAM just to hold the kernel inotify data (and goodness only knows what the performance would be like). In my case I'm dealing with a *lot of files though.
    – symcbean
    Aug 26, 2020 at 13:37
  • ChironFS en.wikipedia.org/wiki/Chiron_FS (possibly in debian repo?) sfs github.com/immobiliare/sfs
    – symcbean
    Aug 26, 2020 at 13:52
0

As noted by @symcbean, ChironFS is a FUSE based filesystem that replicates files to two or more filesystems. It takes almost no configuration from the command line. It's latest version is at https://github.com/tweksteen/chironfs .

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .