Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2015-08-11 | Updated formatting - just for neatness. | Steve Kemp | |
2015-08-11 | Updated the fatal-error handling. | Steve Kemp | |
Now we use the utility classes we have to log errors to syslog. | |||
2015-08-05 | Added a simple utility for future-reference. | Steve Kemp | |
This takes each snapshot on-disk, and uses an intermediary snapshot, to essentially change the ownership of all snapshots from `root` to `byteback`. | |||
2015-07-01 | Change rsync timeout from 12 to 6 hours. | Steve Kemp | |
2015-06-03 | Resync | Steve Kemp | |
2015-06-03 | Resync. | Steve Kemp | |
2015-06-03 | Resync | Steve Kemp | |
2015-06-03 | Minor update. | Steve Kemp | |
2015-06-03 | We have a restore-script now. | Steve Kemp | |
2015-06-03 | This is not executable. | Steve Kemp | |
2015-06-03 | Install binaries from beneath bin/ | Steve Kemp | |
This simplifies the installation script significantly. | |||
2015-06-03 | Relocated the binaries to bin/ | Steve Kemp | |
2015-06-03 | Reformatted | Steve Kemp | |
2015-06-03 | Reformatted the code to lose literal TABs, etc. | Steve Kemp | |
2015-06-03 | Removed +x permission. | Steve Kemp | |
2015-06-03 | Added trailing newline. | Steve Kemp | |
2015-06-03 | Reformatted. | Steve Kemp | |
This involved fixing the literal TAB characters, changing the quotes, and similar non-functional edits. | |||
2015-06-03 | Reformatted. | Steve Kemp | |
This involved reformatting the code to remove TAB characters, changing " -> ', & etc. | |||
2015-06-03 | Updated documentation on restoration. | Steve Kemp | |
2015-06-03 | Use the full options in the demonstration. | Steve Kemp | |
Since we've told the user they must use `user_subvol_rm_allowed` we should actually do so explicitly. | |||
2015-06-03 | Ensure that we restore permissions too. | Steve Kemp | |
2015-06-03 | Correctly handle rsync send vs. restore | Steve Kemp | |
2015-06-03 | New release is scheduled, but not yet made. | Steve Kemp | |
2015-06-03 | Removed | Steve Kemp | |
2015-06-03 | Added myself as an uploader. | Steve Kemp | |
2015-06-03 | Install the restoration-program in the binary package. | Steve Kemp | |
2015-06-03 | Working restorations. | Steve Kemp | |