HNHacker News
TopNewBestAskShowJobs

latitude

1,791 karma · joined March 23, 2010

http://swapped.cc
submissionscomments
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
* Whoops, thanks, my brother's tablet :-/

No, sorry, don't blog and can't mentor you. I just don't have time for either.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
It's not a theme, just some basic color palette with green for preprocessor, yellow for keywords, cyan for string and numbers and white for the rest. Dark gray for the comments.

Re: animations - yeah, they are all custom, but there's not really much to them. The hardest part was to do flickerless fade-ins and -outs, the code for that just ain't pretty. Window transformations are just DeferWindowPos with the right combination of flags and a bit of painting cooperation from custom controls. Still though... the amount of work required to get these animations working was ungodly compared to $('div').animate({ ... }); :)

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
It's C++ on top of raw Win32 API with very light use of actual ++ features and no external dependencies except for Windows SDK. About 75KLoC in libraries (UI, RPC, event loop, tasklets, etc) and 90KLoC in the app itself. The IDE font is one and only Dina - https://www.donationcoder.com/Software/Jibz/Dina/.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
It was an exercise in quirky branding on my part - http://bvckup.tumblr.com/post/3283335299/how-bvckup-got-its-.... To my excuse it was almost 5 years ago, long before using "V" in place of a vowel became mainstream. And, in retrospect, I should've picked something a bit more pronounceable.

In Svpply and Svbtle it simply stands for "u", which is a deferral to how Romans would've written it.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Thanks, and, no, I don't, sorry. It's just a matter of observing how other people do it and then improving upon it by good old trial and error.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Per install, with progressive discounts based on total volume.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Yes, it is faster.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
This - backup verification - is one of few outstanding features that I will be adding shortly.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Yes, this works just fine.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Can you elaborate?
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
It's former. It splits files into blocks (defaulting to 32KB, but that's configurable), computes hashes (two separate hashes per block) and stores them in a file in the backup config directory. These are used to detect modified blocks. It also computes a hash of an entire file and stores it in the same hash file. This is used to hedge against false negatives with modified block detection. The original version (from '09) didn't use the full-file hash, so it resorted to re-copying files in full after several incremental updates.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Yes, I know how doctorate degrees work and what they mean. It was a joke (as indicated by a smiley) and as with every joke there's a grain of joke in it. Not all PhDs are created equal.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
To be fair, if someone casually links to a HowTo for rsync-based snapshots, saying that he can't understand how a mirroring app can be used for setting up rolling backups is a pretense modesty.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Re: dry runs - my bad, I should've checked more carefully.

Re: copying changed portions only - yes, http://bvckup2.com/#delta

Re: compare file contents - not for deciding if the file was modified or not, no. There was just no demand for this. That said, it's easy to add and it can be done more efficiently than doing a raw comparison between the original and the backup copies. That's because the delta copier computes file hash as a part of the process, so the app can simply go through the source file, redo the hash and see if it's changed since the last run. But as I said there were zero demand for this, so the comparison is done based on timestamps and the file size. Depending on the file system support the app automatically selects between comparing just the modified time or both the modified and created. HTH.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
It's a file-level replicator, it is just not meant for system/image backups, because those need to be aware of MBRs, partition tables and other non-FS elements.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Oh, good point. I totally missed that, thanks.

(Edit) Better now?

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
No, that's the actual app. As it says right under the button -

    Two-week unrestricted trial
  Anytime upgrade to paid status
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
If you are referring to the "last beta", then it's just what it says on the tin - it's the last of beta releases, meaning that it's unsupported and it's the end of the line, feature-frozen since mid May, no updates. The exact list of differences is over at [1]. The reason the last beta exists is that the beta period was quite long and there were people who got used to using the app for free, so that version is for them (though all beta users got 50% the production version).

[1] http://www.donationcoder.com/forum/index.php?topic=36388.msg...

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
From what I've read persistent volume snapshots has been removed from W8 and replaced with File History. You can still use VSS to make temporary snapshots though (and that's what allows backup apps to process locked files).
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
> We're trying to narrow the range of things that people consider a "backup" so that they don't get wildly disappointed in the future

Aye, I totally hear you.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
It's in C++, but closer to the C than to ++. The UI is done in a thin wrapper framework that runs directly over Win32 API. Custom controls, animations, etc. - all's from scratch. It's all much easier than it looks, just need to let MFC/ATL/XYZ go :)
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Care to show some examples?
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Because things happen. Like bad sectors leading to internal CRC failures, network drives disappearing, WiFi getting saturated, etc.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
This reminds me how every time someone posts a salad recipe to /r/cooking the whole discussion inevitably converges to the topic of a salad without a mayo not being a real salad ... just as it is not a salad with the mayo :)

Every backup has a set of risks that it mitigates. If the goal is to mitigate human errors, then, yes, versioning/archiving is a must. However if someone just needs to have a daily snapshot of their photos and documents to protect them against fire of theft, then you can certainly call it a file sync, but it still is a backup. To each his own. "Backup" is not an exact term, but rather a range of data protection techniques.

All that said, the archiving is coming up.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Erm ... it's an installable standalone program. The price is for lifetime. I thought it was obvious.
latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Why is it that you are surprised to see it marketed as a backup tool?

I know about bup, thanks.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Faster bulk copying, lighter build, lighter on resource usage, removable device tracking, much better UI (it's subjective, of course, but just try it out and see for yourself). Formal backup planner, dry runs, native support for running as a service with separate engine and UI processes.

  -- edit --
Let me give an example of what I mean by "much better UI".

Bvckup 2 has a hierarchical log viewer [1] and this thing does an absolute wonder for usability. Essentially you can go from a backup run summary to the specifics of a failure in a matter of 2-3 clicks without being overwhelmed in the process.

The issue however is that it was a total bitch to implement so that it wouldn't require keeping an entire log in memory at all times. See, if the log is flat, it's easy to display its relevant part by looking at the scroll position and then rendering respective chunk from the log file in a window. But once you have a tree, determining which item is visible becomes a hard problem, because random nodes can be opened and closed. Consider the case when you have a million-item log and, say, 15% of the nodes are closed. Moreover, the visibility look-up needs to have a real-time performance, because the window needs to respond in real-time to user dragging scroll button up and down. So, behind the scenes, this hierarchical log viewer is backed by a double-indexed b-tree index file - a construct that that has no prior art and that took me several weeks to converge to and to implement [2]. It could very well pass for a modest PhD thesis in a smaller university :)

So, I mean, there are smaller simple-looking differences between bvckup's UI and other apps, but the thing is that they are sometimes really hard to implement. They do however improve the overall UI experience quite a bit.

[1] http://bvckup2.com/img/r8/screenshot-3-log-viewer-2.png

[2] http://bvckup2.com/wip/#27012014

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Let's not go there. I wish I named it something else. It was a dorky name for a toy project, who'd knew it would get any traction.

Incidentally, I do own backvp.com.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
There are backups and there are backups.

For some people, like yourself, archiving backup is the one true backup, while others make do with rolling hourly/daily/weekly backups or even something as rudimentary as copy-pasting folders by hand. Ideally, yes, everyone should be doing versioned backups to a zfs storage cluster. In practice, no, lots of people have just enough motivation to get an external drive and start making copies onto it.

That said, I am planning to add versioning and I am looking at adopting git's packfiles for that purpose. The idea basically is to use an open format for storing archived versions, so not to lock in the users. This is in its early stages, so it may or may not work out.

latitude··on Show HN: Bvckup 2 – Simple Fast Backup for Windows
Author's here. A bit of a background on the project if I may.

I wrote the original version several years ago. It was purely for myself, to automate the way I was doing the backups at the time. I also threw together a website and put it online, just because and with no hope that something this simple would be in demand. Then went on doing other things like having kids and what not. Fast forward to 2012 and there's a couple of thousand people on the mailing list and a trickle of emails asking when an update would come out. So I sat down and did a proper rewrite. I thought it would take 2-3 months, but it took almost a year. And a half. The breadcrumbs of the process are over on the /wip page [1]. You might've seen it as it was on HN some time ago.

The app is notable for three things - (1) it has a single, simple purpose (2) it is light and very fast and (3) it has an excellent UI.

Also of some interest - I ran a 12-month long beta. Started with just 100 people testing private builds for 6 months and then moved on to a public beta for another 6, altogether yielding about 15,000 installs. If there's a single takeaway from the project so far - a beta this long is incredible. It helps shaping the feature set like nothing else and it flushes the most obscure bugs that no formal QA could ever find.

  ---
By the way of introduction - I come from the system programming background. I spent several years writing firmware for network appliances, I wrote a P2P VPN system from scratch and I generally prefer C to Java if you know what I mean. I also get a major kick from doing visual design for my projects and got 2000 followers on Dribbble to prove it :)

  ---
In any case, there you have it - my take on simple backup software. Let me know what you think. Thanks!

  ---
[1] http://bvckup2.com/wip
← PreviousPage 2 of 9Next →