Problem doing fullBackup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem doing fullBackup

NorbertHartl
I'm trying to do a full backup on a newly installed stone. I'm using

run
SystemRepository startNewLog.
SystemRepository fullBackupCompressedTo: '$STONE_DIR/backup/backup.dbf.gz'
%

but I get

[Info]: Login Time: 09/22/2011 04:13:30 PM.679 UTC
[09/22/2011 04:13:30 PM.722 UTC] gci login: currSession 1 rpc gem processId -1
successful login
topaz 1> topaz 1> backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
backup: attempting to beginTransaction at checkpoint
-----------------------------------------------------
GemStone: Error         Nonfatal
Unable to begin full backup, 'unable to begin transaction at checkpoint'
Error Category: 231169 [GemStone] Number: 2392 Arg Count: 1 Context : 38623489
Arg 1: [38622977 sz:41 cls: 74753 String] unable to begin transaction at checkpoint

Now executing the following command saved from "iferr 1":
   where
==> 1 Repository >> _fullBackupTo:backupId:MBytes:firstFile:compressed: @1 line 1   [GsMethod 8030209]
2 Repository >> fullBackupTo:MBytes:compressed: @33 line 31   [GsMethod 8058881]
3 Repository >> fullBackupCompressedTo: @2 line 10   [GsMethod 8024065]
4 Executed Code @2 line 2   [GsMethod 38613761]
  [GsProcess 38623489]
topaz 1>
[Info]: Logging out at 09/22/2011 04:18:30 PM UTC

Can you say from the provided information what could be the cause for the problem?

thanks,

Norbert
Reply | Threaded
Open this post in threaded view
|

Re: Problem doing fullBackup

Dale Henrichs
Norbert,

>From one of our engineers:

If the checkpoints are taking a really long time you can get this error,
if it times out before the pre-existing checkpoint completes and it can
start a new one.  We saw this on 32-bit at TI, and maybe someone else,
it's been a while.

Statmonitor data can show the problem, we have lots of checkpoint
details as a result of the earlier issues.

===========================

I think that System class>>startCheckpointSync will block until a checkpoint is complete, so you might use this command before doing the full backup ...

Dale

----- Original Message -----
| From: "Norbert Hartl" <[hidden email]>
| To: "GemStone Seaside beta discussion" <[hidden email]>
| Sent: Thursday, September 22, 2011 9:39:01 AM
| Subject: [GS/SS Beta] Problem doing fullBackup
|
| I'm trying to do a full backup on a newly installed stone. I'm using
|
| run
| SystemRepository startNewLog.
| SystemRepository fullBackupCompressedTo:
| '$STONE_DIR/backup/backup.dbf.gz'
| %
|
| but I get
|
| [Info]: Login Time: 09/22/2011 04:13:30 PM.679 UTC
| [09/22/2011 04:13:30 PM.722 UTC] gci login: currSession 1 rpc gem
| processId -1
| successful login
| topaz 1> topaz 1> backup: attempting to beginTransaction at
| checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| backup: attempting to beginTransaction at checkpoint
| -----------------------------------------------------
| GemStone: Error         Nonfatal
| Unable to begin full backup, 'unable to begin transaction at
| checkpoint'
| Error Category: 231169 [GemStone] Number: 2392 Arg Count: 1 Context :
| 38623489
| Arg 1: [38622977 sz:41 cls: 74753 String] unable to begin transaction
| at checkpoint
|
| Now executing the following command saved from "iferr 1":
|    where
| ==> 1 Repository >>
| _fullBackupTo:backupId:MBytes:firstFile:compressed: @1 line 1
|   [GsMethod 8030209]
| 2 Repository >> fullBackupTo:MBytes:compressed: @33 line 31
|   [GsMethod 8058881]
| 3 Repository >> fullBackupCompressedTo: @2 line 10   [GsMethod
| 8024065]
| 4 Executed Code @2 line 2   [GsMethod 38613761]
|   [GsProcess 38623489]
| topaz 1>
| [Info]: Logging out at 09/22/2011 04:18:30 PM UTC
|
| Can you say from the provided information what could be the cause for
| the problem?
|
| thanks,
|
| Norbert