Topic: Replace the backup file
Welcome
I used this code to make a backup copy, and I used the time and date to create a new file every time
Now I want to make the file with one name, and when I make a backup copy, it will replace the old file with the new file
procedure form2_Button8_OnClick (Sender: TObject; var Cancel: boolean);
begin
if CopyFile('sqlite.db', 'Backup\backup.db') then showmessage('backup ok');
end;