summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-21Generate a new `byteback-mysql` package.Steve Kemp
2016-07-27Exclude /var/lib/mysql/James Lawrie
2016-07-27Fixes the essence of #2James Lawrie
2016-07-27fixed a typoJames Carter
2016-05-11Merge branch 'rpm' into 'master' Steve Kemp
Add rpm spec file See merge request !2
2016-05-11Merge branch 'ruby18-errors' into 'master' Steve Kemp
Ruby18 errors Fixes some errors on CentOS 6. ``` $ byteback-prune /usr/bin/byteback-receive:120: undefined method `+' for nil:NilClass (NoMethodError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `inject' from /usr/bin/byteback-receive:119:in `each' from /usr/bin/byteback-receive:119:in `inject' from /usr/bin/byteback-receive:119 # byteback-backup /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/share/byteback/byteback/backup_directory.rb:154: syntax error, unexpected '.', expecting kEND (SyntaxError) .compact ^ /usr/share/byteback/byteback/backup_directory.rb:194: syntax error, unexpected '.', expecting kEND .compact ^ from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/share/byteback/byteback.rb:3 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/bin/byteback-receive:11 ``` See merge request !1
2016-05-11Use orig.tar.gzJamie Nguyen
2016-05-11Add rpm spec fileJamie Nguyen
2016-05-11Avoid chaining over a newlineJamie Nguyen
2016-05-11Prevent accumulator from being set to NilJamie Nguyen
2016-04-24Merge pull request #1 from ivuk/fix-typo-readmeSteve Kemp
Fix typos in README.md
2016-04-23Use plural when referring to 'commands'Igor Vuk
2016-04-23Fix a typo in README.mdIgor Vuk
2016-04-23Updated public links to point to githubSteve Kemp
2016-04-23Minor reformatting updates.Steve Kemp
2015-12-18Updated changelogPatrick J Cherry
2015-12-18Added "." to the rsync restore commandPatrick J Cherry
This prevents ALL TEH BACKUPS being copied back to the host.
2015-12-17Ignore auto-generated man-pages.Steve Kemp
2015-12-17New release - fixed build-deps.Steve Kemp
The build-dependencies didn't include `txt2man` so manpages were not being generated/installed correctly.
2015-12-03Correct the encoding-defintion.Steve Kemp
2015-12-03Fixed a couple of minor typos in the text.Steve Kemp
2015-12-02Updated changelogPatrick J Cherry
2015-12-02Added manpagesPatrick J Cherry
I've moved documentation out of README.md into the man/*.txt files to convert to manpages.
2015-12-02Added "all" flag to restore_files in byteback-restorePatrick J Cherry
Also updated the signatures of list_files and restore_files to match.
2015-12-02Added copyright for sys-filesystem.rbPatrick J Cherry
2015-12-02Removed leading spaces from description in debian/controlPatrick J Cherry
2015-12-02Removed pp from test.Patrick J Cherry
2015-12-02Updated Byteback::Restore#find to sort files in chronological orderPatrick 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-02Tidied 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-02Tidied up trollop options.Patrick J Cherry
Including checking that only one of --complete, --ping, or --list are called.
2015-12-02Catch situations where no files are matched during restore.Patrick J Cherry
2015-12-02Exclude "." 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-02Updated argument parsing in the restore functionality of receivePatrick J Cherry
* Verbose is now caught properly * --all is caught and removed
2015-12-02Fixed UK spelling of licence.Patrick J Cherry
Oops.
2015-12-02Added the ability to use the same rsync_flags as byteback-backupPatrick J Cherry
This allows the user to specify --xattrs --acl --hard-links etc.
2015-12-02Changed the word "revision" to "snapshot" everywherePatrick J Cherry
This is for consistency and understanding. We use btrfs snapshots, so this makes sense. To me at least.
2015-12-02Catch out-dated clients by looking for the old "restore" commandPatrick J Cherry
Hopefully this will prompt people to update.
2015-12-02Added missing "time" dependency to restore_file.rbPatrick J Cherry
This is required for Time#parse
2015-12-02Fixed 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-02Updated copyrightPatrick J Cherry
2015-12-01Completely re-vamped restore command. Fixes #12403Patrick 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-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.