From d7febf3199a496e763a2f1fba418af069b6c6ccd Mon Sep 17 00:00:00 2001 From: JackCarterSmith Date: Sun, 15 Oct 2017 12:27:56 +0200 Subject: [PATCH] Fixed wrong name for backup --- ISEN-Repair Inventory Manager/Main.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ISEN-Repair Inventory Manager/Main.vb b/ISEN-Repair Inventory Manager/Main.vb index 3302a78..296d4a1 100644 --- a/ISEN-Repair Inventory Manager/Main.vb +++ b/ISEN-Repair Inventory Manager/Main.vb @@ -427,7 +427,7 @@ Public Class Main If MsgBox("Souhaitez-vous faire une backup de la DB ?", 292, "Backup") = 7 Then End If Not My.Computer.FileSystem.DirectoryExists(localAppData & "backups") Then My.Computer.FileSystem.CreateDirectory(localAppData & "backups") - File.Copy(dbLocFile, localAppData & "backups\" & DateTime.Now.ToString("yyyy-MM-dd_HH.mm") & ".sqlite") + File.Copy(dbLocFile, localAppData & "backups\db_" & DateTime.Now.ToString("yyyy-MM-dd_HH.mm") & ".bck") log.Info("Backup de la DB") End End Sub