BinBackup is a tool intended to efficiently back up a directory to a set of size-limited media like CD-Rs or DVD-Rs. It's goal is to distribute the contents of a directory to a set of media while using the space available on these media as best as possible, minimizing the number of media required for a backup. To do this, BinBackup uses a bin packing algorithm to decide how to partition the contents of a directory and where to put them.