backup fails at 100% when writing catalog locked error

Have questions about Backup4all, or having problems using it? Ask here for help.
Post Reply
nohero
Posts: 3
Joined: Thu Sep 26, 2013 5:55 pm

backup fails at 100% when writing catalog locked error

Post by nohero »

my backup failed with a zip memory error so I updated to version 5 and unticked the use memory for catalog option.

the bsckup now transfers all the files to zip but fails when writing the catalog with a partially locked error.

ive turned the memory option back on and have the same problem.

how can I resolve this?

if I am having problems writing the catalog shall I untick the 'use local catalog' option?

will the backup still be useable whilst I figure this out?

please see the log below.

[08/05/2014 05:25:22] Backup4all 5.0.436
[08/05/2014 05:25:22] C:\Program Files (x86)\Softland\Backup4all 5\bBackup.exe /GUI {1C0CBCEF-C57D-4A2E-95F6-AA0483EAC055} /JOB {0A9DDFC7-E347-4C94-904B-3E4AF610635C}
[08/05/2014 05:25:22] Search for "Warning: " and "Error: " to locate warnings and errors in this log file
[08/05/2014 05:25:22] Operating system: Windows 7 Professional Service Pack 1 (build 7601)
[08/05/2014 05:25:22] Starting backup for "Daily Backup of Y and Sales Data" at 08/05/2014 05:25:22
[08/05/2014 05:25:22] Backup Summary:
General:
Name: Daily Backup of Y and Sales Data
Tags:
Description:
Ini file: C:\Users\server\AppData\Roaming\Softland\Backup4all 5\Jobs\{0A9DDFC7-E347-4C94-904B-3E4AF610635C}.ini
Destination:
Destination type: External hard drive
Drive: G:
Folder: G:\
Catalog: G:\Daily Backup of Z and Y.bkc
Lock the destination to this external hard drive: No
Enable disk spanning: No
Source(s):
\\lettingsfiles\lettings-data
D:\newportserver
Filters:
Main:
Include filter:
Include all files.
Exclude filter:
Hiberfil on System Drive - use as exclude
( File name = 'hiberfil.sys'
AND Folder name = '%SystemDrive%')
OR
Pagefile on System Drive - use as exclude
( File name = 'pagefile.sys'
AND Folder name = '%SystemDrive%')
OR
Temporary Files - use as exclude
( File name = '*.tmp|*.temp|*.bak|*.chk|*.bkc-journal')
OR
Temporary Folders - use as exclude
( Folder name = '%temp%|%USERPROFILE%\Local Settings\Temporary Internet Files|?:\System Volume Information|?:\Recycler|?:\Recycled|%SystemRoot%\Temp\*')
Backup type:
Type: Full
Use block backup: No
Save storage space: No
Clear archive bit: No
Compression:
Compression level: none
Do not compress files of type: *.zip|*.rar|*.mp3|*.avi|*.7z|*.gif|*.png|*.jpeg|*.jpg|*.mpg|*.gz|*.gzip|*.mov|*.swf
Always use temporary folder to create zip files: No
Use alternate zipping mode: No
Password: no password
Zip split size: Automatic
Create independent splits: No
Advanced settings:
Backup:
Use local catalog: Yes
Compress catalog in destination: No
Test after backup: No
Delete sources after successful backup: No
Repair catalog: No
Ask for backup label before execution: No
Backup open files: No
Store temporary catalog data in memory: Yes
Backup execution priority: Normal priority
Actions:
Action before backup: not enabled
Action after backup: not enabled
Comparison:
Comparison criteria: [Size, Read-Only, Archived, Hidden, System]
Sounds: not enabled
Emails: not enabled
Scheduler:
Abort backup when source drives are not available: No

[08/05/2014 05:26:00] Checking if the drives of the sources exist
[08/05/2014 05:26:02] Checking backup destination (External hard drive)
[08/05/2014 05:26:02] Creating the list of files to backup
[08/05/2014 05:29:16] Folders found to backup: 3,848
[08/05/2014 05:29:16] Files found to backup: 183,403 (152.44 GB)


[08/05/2014 05:29:24] Archiving files to 141_lettingsfiles_lettings-data.zip

[08/05/2014 06:18:59] Archiving files to 141_D.zip

[08/05/2014 07:52:26] Saving backup catalog "C:\Users\server\AppData\Roaming\Softland\Backup4all 5\Catalogs\Daily Backup of Y and Sales Data.bkc"
Backup aborted. Reason:
Could not copy "C:\Users\server\AppData\Roaming\Softland\Backup4all 5\Catalogs\Daily Backup of Y and Sales Data.bkc" to "G:\Daily Backup of Z and Y.bkc".
The process cannot access the file because another process has locked a portion of the file.
Total number of files added to backup: 183403
Total number of folders added to backup: 3848
Total size of files added to backup: 152.44 GB (uncompressed), 152.49 GB (compressed)
Number of files excluded: 0
Number of folders excluded: 0
Next scheduled backup: 08/05/2014 18:40:00
Backup aborted at 08/05/2014 08:04:42 with 1 error(s), 0 warning(s)

net_user
Posts: 36
Joined: Thu Jan 21, 2010 8:21 am

Re: backup fails at 100% when writing catalog locked error

Post by net_user »

I was already reporting the catalog/database locking issue that happens from time to time:

The log shows this error: "Error: SQL error "DELETE FROM
JobStatus WHERE JobGuid="{25909D53-9918-4230-9206-08D018B0CD14}" AND
ActionType=0" - database is locked, database is locked (5) (SQL81)",
however the UI does not show anything, seems like the job is finished
fine, but very quickly. I suppose you would want to warn something in
this case.

I would suggest the author to request user to retry the action in the case of locking instead of just throwing an error and screwing the backup.

nohero
Posts: 3
Joined: Thu Sep 26, 2013 5:55 pm

Re: backup fails at 100% when writing catalog locked error

Post by nohero »

My log doesn't show that SQL error.

Adrian (Softland)
Posts: 1914
Joined: Wed Dec 16, 2009 12:46 pm

Re: backup fails at 100% when writing catalog locked error

Post by Adrian (Softland) »

Hi,

We will make some changes in application in order to fix this problem.

fullbore
Posts: 67
Joined: Tue Sep 27, 2011 9:53 pm

Re: backup fails at 100% when writing catalog locked error

Post by fullbore »

[quote="Support"]Hi,

We will make some changes in application in order to fix this problem.[/quote]

We're seeing this here with build 596-

Could not copy "C:\Users\Ken Dalziel\AppData\Roaming\Softland\Backup4all 5\Catalogs\Full.bkc" to "F:\Full.bkc".
The process cannot access the file because another process has locked a portion of the file.

fullbore
Posts: 67
Joined: Tue Sep 27, 2011 9:53 pm

Re: backup fails at 100% when writing catalog locked error

Post by fullbore »

Same with build 613

Niamh

Adrian (Softland)
Posts: 1914
Joined: Wed Dec 16, 2009 12:46 pm

Re: backup fails at 100% when writing catalog locked error

Post by Adrian (Softland) »

@fullbore:
Please send us the complete backup log to support[at]backup4all[dot]com

Post Reply