Network and Storage Protocols

OnCommand 5.0 upgrade - database backup failing

columbus_admin
3,241 Views

I have recently completed the upgrade from DFM 4.0.2 to OnCommand 5 and now my OC database backups are failing.

I had my backups going to a CIFS share on a filer, but now it fails unless the backup is run local to the machine.  I know the DB itself cannot run to a network location, but why can't the backup be run there?

"The error is 4684 : 0x1254 : Could not prepare the keystore file for backup"

OC5 host:

Windows 2003 SP2 running on VMware.

  - 1 CPU at 2.8GHz

  - 3 GB RAM

  - 22 GB free on the drive that OC runs off of

  - All services run with a service account with access to the CIFS share that has been verfied after the failure started(Including the two new ones.)

CIFS connection:

  - FAS3160 on a shelf of SATA

  - ONTAP 8.0.1

Any thoughts on this are appreciated!

- Scott

1 ACCEPTED SOLUTION

rshiva
3,241 Views

Hi there,

This is my first guess: Are you trying to backup the DFM database to the root of CIFS share? If so, try creating a sub directory and see if that works. Here’s an example:

Before creating a sub directory:

C:\Users\Administrator>dfm backup create \\<server_name>\vol_share_2\backupname2

Disabling Performance Advisor.

Failed to create the temporary backup directory \\<server_name>\vol_share_2\dfm_temp_dest_dir. Error:-1.

Enabling Performance Advisor.

Error: Could not prepare the keystore file for backup.

After creating a sub directory:

C:\Users\Administrator>dfm backup create \\<server_name>\vol_share_2\backup\backupname2

Disabling Performance Advisor.

Copying keystore for backup ...

1 File(s) copied

SQL Anywhere Backup Utility Version 10.0.1.4207

(19101 of 19077 pages, 100% complete)

Database backup completed

Waiting for existing writes to stop, which could take a few minutes.

Please be patient ...

Creating the archive ...

Verifying the archive ...

Enabling Performance Advisor.

Completed backup \\<server_name>\vol_share_2/backup/backupname2.ndb.

Thanks and regards

Shiva Raja

View solution in original post

2 REPLIES 2

rshiva
3,242 Views

Hi there,

This is my first guess: Are you trying to backup the DFM database to the root of CIFS share? If so, try creating a sub directory and see if that works. Here’s an example:

Before creating a sub directory:

C:\Users\Administrator>dfm backup create \\<server_name>\vol_share_2\backupname2

Disabling Performance Advisor.

Failed to create the temporary backup directory \\<server_name>\vol_share_2\dfm_temp_dest_dir. Error:-1.

Enabling Performance Advisor.

Error: Could not prepare the keystore file for backup.

After creating a sub directory:

C:\Users\Administrator>dfm backup create \\<server_name>\vol_share_2\backup\backupname2

Disabling Performance Advisor.

Copying keystore for backup ...

1 File(s) copied

SQL Anywhere Backup Utility Version 10.0.1.4207

(19101 of 19077 pages, 100% complete)

Database backup completed

Waiting for existing writes to stop, which could take a few minutes.

Please be patient ...

Creating the archive ...

Verifying the archive ...

Enabling Performance Advisor.

Completed backup \\<server_name>\vol_share_2/backup/backupname2.ndb.

Thanks and regards

Shiva Raja

columbus_admin
3,241 Views

Thank you Shiva, this worked perfectly!

- Scott

Public