How do people who would use this kind of thing manage to have remote servers with terabytes of available disk space on them? Anything is possible with money, of course, but how is this anything other than really expensive? For example AWS S3 would be $235/month (that's $2,820/year!) for 3TB not even including any data-out transfer charges. Sure there are others that are cheaper but only marginally so. Is this really…
Bup: Efficient file backup system based on the git packfile format
21–30 of 63 posts
Re: Bup: Efficient file backup system based on the git packfile format
#22Bup is lovely. I used it to back up my huge home folder and only switched away to rdiff-backup because (at the time) there was no support for deleting old revisions. Is there any support for that? (Of course, for a large enough hard drive, it's not much of a problem...)
I wrote ddar, which is basically this but solves that particular problem, by using something other than the git packfile format. http://www.synctus.com/ddar and http://github.com/basak/ddar It's recently been made available on Homebrew, too.
Re: Bup: Efficient file backup system based on the git packfile format
#23So simplified it's like: rsync -avx remote:/etc /backup/ && zfs snapshot backup@`date`
With zfSnap (https://github.com/graudeejs/zfSnap) you can tell how long incremental backups/snapshots are kept, "rsync && zfSnap -d -a 1w backup"
You can take advantage of the /backup/.zfs/snapshot directory to access all snapshots, built-in compression and possible data deduplication.
If you also have ZFS on the remote host, you can use zfs send and zfs receive to transfer the snapshot directly to the backup server, instead of using rsync for the diff.
Re: Bup: Efficient file backup system based on the git packfile format
#24Another backup possibility I currently use: ZFS on a backup server (not necessarily ZFS on the system that should be backed up), pull data with rsync on the backup host to a ZFS, after that make a snapshot for an "incremental backup". So simplified it's like: rsync -avx remote:/etc /backup/ && zfs snapshot backup@`date` With zfSnap ( https://github.com/graudeejs/zfSnap ) you can tell how long incremental backups/snap…
$> ssh rsyncnet ls .zfs/snapshot
daily_2014-02-09
daily_2014-02-10
daily_2014-02-11
daily_2014-02-12
daily_2014-02-13
daily_2014-02-14
daily_2014-02-15
They allow you to customise the length of time for which these snapshots are kept, too (IIRC) (at the cost to you of the incremental extra storage)Re: Bup: Efficient file backup system based on the git packfile format
#25This is an outstanding project with great potential. Killer for many commercial, overpriced services.
Where would you host the backups?
Re: Bup: Efficient file backup system based on the git packfile format
#26I'm assuming you're not the author. But just in case the author wanders by: How did you decide which parts to write in C?
It's not too hard actually. A line of python is roughly 80x slower than a line of C (no exaggeration). But a typical line of python does a lot more than a typical line of C. So things you can do with a "loose" loop (like once per 64k block) is usually ok in python. Things you have to do with a "tight" loop (like once per byte) need to be in C. I once did a presentation about python performance optimization lessons fr…
I know that I would humbly submit at the least that my position has moved to believing that PyPy is a viable option for high-speed code (albeit in substantial part due to better interaction with C, nowadays).
Re: Bup: Efficient file backup system based on the git packfile format
#27How do people who would use this kind of thing manage to have remote servers with terabytes of available disk space on them? Anything is possible with money, of course, but how is this anything other than really expensive? For example AWS S3 would be $235/month (that's $2,820/year!) for 3TB not even including any data-out transfer charges. Sure there are others that are cheaper but only marginally so. Is this really…
For backups, you're dealing with a relatively consistent or predictable amount of data. Buy the appropriate dedicated server for your needs.
Re: Bup: Efficient file backup system based on the git packfile format
#28Another backup possibility I currently use: ZFS on a backup server (not necessarily ZFS on the system that should be backed up), pull data with rsync on the backup host to a ZFS, after that make a snapshot for an "incremental backup". So simplified it's like: rsync -avx remote:/etc /backup/ && zfs snapshot backup@`date` With zfSnap ( https://github.com/graudeejs/zfSnap ) you can tell how long incremental backups/snap…
Re: Bup: Efficient file backup system based on the git packfile format
#29Earlier quoted context omitted.
I wrote ddar, which is basically this but solves that particular problem, by using something other than the git packfile format. http://www.synctus.com/ddar and http://github.com/basak/ddar It's recently been made available on Homebrew, too.
I don't see a link to the source code on your page, is it just me ?