diff --git a/app/src/main/java/io/legado/app/help/storage/Backup.kt b/app/src/main/java/io/legado/app/help/storage/Backup.kt index e0efa4b9e..995ff8fdd 100644 --- a/app/src/main/java/io/legado/app/help/storage/Backup.kt +++ b/app/src/main/java/io/legado/app/help/storage/Backup.kt @@ -121,7 +121,7 @@ object Backup { private fun copyBackup() { for (fileName in backupFileNames) { FileHelp.getFile(backupPath + File.separator + "bookshelf.json") - .copyTo(FileHelp.getFile(legadoPath + File.separator + "bookshelf.json")) + .copyTo(FileHelp.getFile(legadoPath + File.separator + "bookshelf.json"), true) } } } \ No newline at end of file