summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-17Updated changelogPatrick J Cherry
2015-11-17Fix typo (undefined variable) in byteback-pushJames Hannah
2015-11-13Updated changelogPatrick J Cherry
2015-11-13Do not prune unless there is at least one backup that is a week old.Patrick J Cherry
2015-11-09Added --delete-excluded to rsync flags, otherwise fiddling with theMatthew Bloch
/etc/byteback/excludes file between runs can stop your next backup completing.
2015-11-03New releaseSteve Kemp
2015-11-03Update 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-18new releaseSteve Kemp
2015-08-13Run-parts against our pre-backup directory.Steve Kemp
If the /etc/byteback/pre-backup.d/ directory is present then execute the contents.
2015-08-13Specify 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-13Abort cleanly if we cannot acquire our lockfile.Steve Kemp
This avoids a backtrace, and shows a clean reason for failure.
2015-08-13Run 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-13Reorder 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-11Drop 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-11Enable (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-11Allow 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-11Simplified 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-11Updated formatting - just for neatness.Steve Kemp
2015-08-11Updated the fatal-error handling.Steve Kemp
Now we use the utility classes we have to log errors to syslog.
2015-08-05Added 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-01Change rsync timeout from 12 to 6 hours.Steve Kemp
2015-06-03ResyncSteve Kemp
2015-06-03Resync.Steve Kemp
2015-06-03ResyncSteve Kemp
2015-06-03Minor update.Steve Kemp
2015-06-03We have a restore-script now.Steve Kemp
2015-06-03This is not executable.Steve Kemp
2015-06-03Install binaries from beneath bin/Steve Kemp
This simplifies the installation script significantly.
2015-06-03Relocated the binaries to bin/Steve Kemp
2015-06-03ReformattedSteve Kemp
2015-06-03Reformatted the code to lose literal TABs, etc.Steve Kemp
2015-06-03Removed +x permission.Steve Kemp
2015-06-03Added trailing newline.Steve Kemp
2015-06-03Reformatted.Steve Kemp
This involved fixing the literal TAB characters, changing the quotes, and similar non-functional edits.
2015-06-03Reformatted.Steve Kemp
This involved reformatting the code to remove TAB characters, changing " -> ', & etc.
2015-06-03Updated documentation on restoration.Steve Kemp
2015-06-03Use 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-03Ensure that we restore permissions too.Steve Kemp
2015-06-03Correctly handle rsync send vs. restoreSteve Kemp
2015-06-03New release is scheduled, but not yet made.Steve Kemp
2015-06-03RemovedSteve Kemp
2015-06-03Added myself as an uploader.Steve Kemp
2015-06-03Install the restoration-program in the binary package.Steve Kemp
2015-06-03Working restorations.Steve Kemp
2015-06-03Added server-side support for listing archived files.Steve Kemp
This allows remote clients to see the files they've archived.
2015-06-03Initial attempt at restoring files.Steve Kemp
This allows listing files which are archived, and which match a given pattern.
2015-06-03Ensure that we don't use null variables.Steve Kemp
If we're sorting an empty array then return that empty array and save the pain of working with undefined time.attributes, & etc.
2015-04-02Text files don't need to be executable.Steve Kemp
2015-04-02Removed commented out lines and updated headers.Steve Kemp
2015-04-02Use consistant load-path fiddling.Steve Kemp