Only backup database and config file before update

This commit is contained in:
Mark McDowall 2014-02-07 18:16:19 -08:00
commit e16a6f2b9c
4 changed files with 27 additions and 9 deletions

View file

@ -26,6 +26,7 @@ namespace NzbDrone.Common.Disk
void CopyFolder(string source, string destination);
void MoveFolder(string source, string destination);
void DeleteFile(string path);
void CopyFile(string source, string destination, bool overwrite = false);
void MoveFile(string source, string destination);
void DeleteFolder(string path, bool recursive);
string ReadAllText(string filePath);