summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/backup.rake6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tasks/backup.rake b/lib/tasks/backup.rake
index 51fd2f2..ad4d41d 100644
--- a/lib/tasks/backup.rake
+++ b/lib/tasks/backup.rake
@@ -41,6 +41,12 @@ namespace :backup do
system "cd / && sudo /bin/tar xzfP #{restore_directory}/GS5/archives/voicemails.tar.gz"
end
+ # Restore recordings
+ #
+ if File.exists?("#{restore_directory}/GS5/archives/recordings.tar.gz")
+ system "cd / && sudo /bin/tar xzfP #{restore_directory}/GS5/archives/recordings.tar.gz"
+ end
+
# Restore avatars
#
if File.exists?("#{restore_directory}/GS5/archives/avatars.tar.gz")