You’re probably hitting SQL Command Timeout (60 seconds) so SambaExecution class retries (5 times) to complete the command. That happens before starting creating the zip file so it does not relates with zip file creation. When zip file building starts you’ll see a 0 size zip file on that folder. We’re using .net framework’s default zip file creation method. However if it was a zip file creation issue SambaPOS won’t retry as it works when a command timeout issue (or similar database connection related issues) occurs.
So SQL should complete creating bak file in 60 seconds. 300 MB bak file is a really small file so it should generate in a couple seconds. This is the exact SQL command we’re using to create the backup. You can try executing it manually on management studio to test how long does it take to execute the command.
BACKUP DATABASE [{database name}] TO DISK = N'{file path}' WITH FORMAT, NAME = N'{backup name}'
Yes was hurting a bit onsite as never do anything unless we have good backups. Anyway I did do one on SSMS before importing my new “Skin Updates”.
Emre I think the problem was related to the 5.1.60 Licensing error as all Workstations came up with “Please Activate…” so I went through the process and presto! - the backup started to operate normally from Samba?