copyBackup -> copy

This commit is contained in:
Girish Ramakrishnan
2017-09-18 14:25:46 -07:00
parent 7fc45b3215
commit f5d32a9178
5 changed files with 5 additions and 5 deletions

View File

@@ -109,7 +109,7 @@ function copy(apiConfig, oldBackupId, newBackupId, callback) {
var oldFilePath = getBackupFilePath(apiConfig, oldBackupId);
var newFilePath = getBackupFilePath(apiConfig, newBackupId);
debug('copyBackup: %s -> %s', oldFilePath, newFilePath);
debug('copy: %s -> %s', oldFilePath, newFilePath);
mkdirp(path.dirname(newFilePath), function (error) {
if (error) return callback(new BackupsError(BackupsError.EXTERNAL_ERROR, error.message));