summaryrefslogtreecommitdiff
path: root/lib/byteback/restore.rb
AgeCommit message (Collapse)Author
2017-01-31First pass with rubocoprubocopPatrick J Cherry
2017-01-31Make sure that we accept any old snapshot name when restoring.Patrick J Cherry
Also expand the tests to check that the correct ownership etc is being returned.
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-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-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.