Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-05-11 | Use orig.tar.gz | Jamie Nguyen | |
2016-05-11 | Add rpm spec file | Jamie Nguyen | |
2016-04-24 | Merge pull request #1 from ivuk/fix-typo-readme | Steve Kemp | |
Fix typos in README.md | |||
2016-04-23 | Use plural when referring to 'commands' | Igor Vuk | |
2016-04-23 | Fix a typo in README.md | Igor Vuk | |
2016-04-23 | Updated public links to point to github | Steve Kemp | |
2016-04-23 | Minor reformatting updates. | Steve Kemp | |
2015-12-18 | Updated changelog | Patrick J Cherry | |
2015-12-18 | Added "." to the rsync restore command | Patrick J Cherry | |
This prevents ALL TEH BACKUPS being copied back to the host. | |||
2015-12-17 | Ignore auto-generated man-pages. | Steve Kemp | |
2015-12-17 | New release - fixed build-deps. | Steve Kemp | |
The build-dependencies didn't include `txt2man` so manpages were not being generated/installed correctly. | |||
2015-12-03 | Correct the encoding-defintion. | Steve Kemp | |
2015-12-03 | Fixed a couple of minor typos in the text. | Steve Kemp | |
2015-12-02 | Updated changelog | Patrick J Cherry | |
2015-12-02 | Added manpages | Patrick J Cherry | |
I've moved documentation out of README.md into the man/*.txt files to convert to manpages. | |||
2015-12-02 | Added "all" flag to restore_files in byteback-restore | Patrick J Cherry | |
Also updated the signatures of list_files and restore_files to match. | |||
2015-12-02 | Added copyright for sys-filesystem.rb | Patrick J Cherry | |
2015-12-02 | Removed leading spaces from description in debian/control | Patrick J Cherry | |
2015-12-02 | Removed pp from test. | Patrick J Cherry | |
2015-12-02 | Updated Byteback::Restore#find to sort files in chronological order | Patrick J Cherry | |
Also only the latest copy is returned by default, unless :verbose or :all are set in the options, in which case all the copies, or just the unique copies are returned. | |||
2015-12-02 | Tidied up byteback-restore options. | Patrick J Cherry | |
* Reinstated --list (although this is a no-op really) * Changed --list-all to -all * Checks to made to make sure only --restore or --list is given * | |||
2015-12-02 | Tidied up trollop options. | Patrick J Cherry | |
Including checking that only one of --complete, --ping, or --list are called. | |||
2015-12-02 | Catch situations where no files are matched during restore. | Patrick J Cherry | |
2015-12-02 | Exclude "." from the rsync so the pwd doesn't get its permissions changed.. | Patrick J Cherry | |
Otheriwse you end up with your current directory owned by byteback:byteback (or whoever owns the byteback_root). | |||
2015-12-02 | Updated argument parsing in the restore functionality of receive | Patrick J Cherry | |
* Verbose is now caught properly * --all is caught and removed | |||
2015-12-02 | Fixed UK spelling of licence. | Patrick J Cherry | |
Oops. | |||
2015-12-02 | Added the ability to use the same rsync_flags as byteback-backup | Patrick J Cherry | |
This allows the user to specify --xattrs --acl --hard-links etc. | |||
2015-12-02 | Changed the word "revision" to "snapshot" everywhere | Patrick J Cherry | |
This is for consistency and understanding. We use btrfs snapshots, so this makes sense. To me at least. | |||
2015-12-02 | Catch out-dated clients by looking for the old "restore" command | Patrick J Cherry | |
Hopefully this will prompt people to update. | |||
2015-12-02 | Added missing "time" dependency to restore_file.rb | Patrick J Cherry | |
This is required for Time#parse | |||
2015-12-02 | Fixed up tests to work. | Patrick J Cherry | |
I'd changed some of the arguments to the functions, and not updated the tests. So much for TDD..! | |||
2015-12-02 | Updated copyright | Patrick J Cherry | |
2015-12-01 | Completely re-vamped restore command. Fixes #12403 | Patrick J Cherry | |
The byteback-restore command now uses the rsync xattrs to display information about the files due to be restored. It can handle filenames with spaces (!) and other characters. | |||
2015-11-17 | Updated changelog | Patrick J Cherry | |
2015-11-17 | Fix typo (undefined variable) in byteback-push | James Hannah | |
2015-11-13 | Updated changelog | Patrick J Cherry | |
2015-11-13 | Do not prune unless there is at least one backup that is a week old. | Patrick J Cherry | |
2015-11-09 | Added --delete-excluded to rsync flags, otherwise fiddling with the | Matthew Bloch | |
/etc/byteback/excludes file between runs can stop your next backup completing. | |||
2015-11-03 | New release | Steve Kemp | |
2015-11-03 | Update our deletion-handling. | Steve Kemp | |
We've switched the default from --delete-after to --delete-during. The intention being that we'll free up space during the rsync run, rather than having to wait until all data has transferred, hoping it will fit before deletion. | |||
2015-08-18 | new release | Steve Kemp | |
2015-08-13 | Run-parts against our pre-backup directory. | Steve Kemp | |
If the /etc/byteback/pre-backup.d/ directory is present then execute the contents. | |||
2015-08-13 | Specify the timeout period as an integer, not a string. | Steve Kemp | |
This is required as we're essentially passing the value to the command-line, via fork()+exec(). | |||
2015-08-13 | Abort cleanly if we cannot acquire our lockfile. | Steve Kemp | |
This avoids a backtrace, and shows a clean reason for failure. | |||
2015-08-13 | Run all scripts in the post-completion directory. | Steve Kemp | |
If the directory /etc/byteback/post-backup.d/ exists then run all scripts in it, once we've completed our run. | |||
2015-08-13 | Reorder source-code. | Steve Kemp | |
Moved the functions to the top of the script, wrap the body of the program in a test to ensure we're being invoked. | |||
2015-08-11 | Drop the I/O timeout down to three hours. | Steve Kemp | |
At the moment we kill the rsync if there is no I/O for the given period (6 hours previously, 3 after this commit lands) and then retry the rsync connection up to three times. This meant that a backup could take no more than 3x6 = 18 hours but that was too long. Now we'll be 3x2 = 6 hours and that should be sufficient that transient failures are handled, but never-gonna-complete cases fail in a timely fashion. | |||
2015-08-11 | Enable (ssh) compression. | Steve Kemp | |
This is useful to speed up backups, because otherwise they will be I/O-bound and the CPU-overhead is a net-win. | |||
2015-08-11 | Allow I/O timeout to be specified. | Steve Kemp | |
Rather than having a hard-wired value we now allow this to be specified on the command-line: --io-timeout=7200 Or in a file: /etc/byteback/io_timeout | |||
2015-08-11 | Simplified logging-logic. | Steve Kemp | |
We don't use the environmental variable, which was never documented, instead we either: * Log to the console when running interactively. * Log to syslog otherwise. |