News for hackers. Stuff that matters.
Re:Bup: Efficient file backup system based on the git packfi... by tobias2014 on Saturday February 15, 2014 @06:26PM (#7245950)
Another 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/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 packfi... by jedbrown on Saturday February 15, 2014 @07:17PM (#7246104)
I do the same with btrfs. I actually tried bup first, but had a series of problems (see mailing list) and switched to btrfs snapshots. My main disk is also btrfs so I send incremental snapshots ("btrfs send -p"; faster than rsync and I can keep using the machine without making the backed-up state inconsistent), but the rsync method is fine for other source file systems.
Re:Bup: Efficient file backup system based on the git packfi... by tekacs on Saturday February 15, 2014 @06:34PM (#7245972)
rsync.net is an example of a host that does something like this (with daily snapshots)

    $> 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 packfi... by rsync on Sunday February 16, 2014 @03:19PM (#7249088)
Just a clarification ...

All accounts get 7 days (as the parent shows) and all 1TB+ accounts get 7 days + 4 weeks.

However, if you want a custom schedule (say, 30 days, 8 weeks, and 6 months) it only costs more if the space they use exceeds your existing account.

So, if you have a 100 GB account and you use 60 GB and your fancy snapshot schedule (of which the first 7 days is always free) only uses 35 GB ... then there is no additional cost at all.

Re:Bup: Efficient file backup system based on the git packfi... by res0nat0r on Sunday February 16, 2014 @11:46AM (#7248178)
rsync.net looks awesome, but it is just way too expensive for me.
Re:Bup: Efficient file backup system based on the git packfi... by rsync on Sunday February 16, 2014 @03:21PM (#7249091)
You should email us and ask about the "new customer HN reader discount".

Also, note that 1TB accounts are 15c per GB, per month, and 10TB accounts are 7c per GB, per month - all with no traffic or usage costs.

This compares very favorably with S3 and blows the mozy pro pricing out of the water[1].

[1] https://mozy.com/product/mozy/business

Re:Bup: Efficient file backup system based on the git packfi... by cbhl on Sunday February 16, 2014 @01:17PM (#7248526)
Have you asked for the HN discount?

https://news.ycombinator.com/item?id=6554313

(I happen to get a discount for being a prgmr.com user, but IIRC the terms are similar.)

Re:Bup: Efficient file backup system based on the git packfi... by developuh on Sunday February 16, 2014 @02:51AM (#7246992)
Where can I learn more about using rsync and ZFS ?