summaryrefslogtreecommitdiff
path: root/lib/backup/helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Describe workaround when restore fails because of `Errno::EBUSY`Bob Van Landuyt2018-04-231-0/+14
| | | | | | When `Errno::EBUSY` is raised during restore, this could indicate that the directory being restored into is a mountpoint. In this case we explain the user how to retry the restore.
* Move existing dirs to a temp location while restoreBalasankar "Balu" C2018-03-301-0/+17
Instead of renaming existing storage directories to a timestamped format, create a timestamped directory in a temporary location and move the individual files and folders inside storage directories to it. This helps us with nested storage directories.