]> arthur.barton.de Git - bup.git/commit
cmd-ls and cmd-fuse: toys for browsing your available backups.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 27 Jan 2010 00:30:30 +0000 (19:30 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 27 Jan 2010 04:34:21 +0000 (23:34 -0500)
commit0d205c0073795e8de01d93af2b1e2ed8c472bbcb
tree7d9a69b8aa9058d98a3b88f579b23e73f062615a
parent20a0534bd05c86f7a5294476e2debf464d49ee0f
cmd-ls and cmd-fuse: toys for browsing your available backups.

'bup ls' lets you browse the set of backups on your current system.  It's a
bit useless, so it might go away or be rewritten eventually.

'bup fuse' is a simple read-only FUSE filesystem that lets you mount your
backup sets as a filesystem (on Linux only).  You can then export this
filesystem over samba or NFS or whatever, and people will be able to restore
their own files from backups.

Warning: we still don't support file metadata in 'bup save', so all the file
permissions will be wrong (and users will probably be able to see things
they shouldn't!).  Also, anything that has been split into chunks will show
you the chunks instead of the full file, which is a bit silly.  There are
also tons of places where performance could be improved.

But it's a pretty neat toy nevertheless.  To try it out:

   mkdir /tmp/backups
   sudo bup fuse /tmp/backups
Makefile
cmd-fuse.py [new file with mode: 0755]
cmd-ls.py [new file with mode: 0755]
git.py