Repairing the Yosemite Backup Catalog

Just in case i ever need to repair the database again which seems to go funny more often than you would expect.

Yosemite KB TID:001583

Yosemite Backup incorporates a “self repairing” (ha!!!) database, however it may
occasionally be desirable to manually initiate a database repair operation.

TO REPAIR THE YOSEMITE BACKUP CATALOG MANUALLY:
1.  Close Yosemite Backup
2.  Stop the Yosemite Backup Service:
A.  Open a Command Prompt (Start > Run > CMD {ENTER})
B.  To change to the Yosemite Backup Directory type the following at a
Command Prompt:
1)  CD\ {ENTER}
2)  CD “Program Files” {ENTER}
3)  CD Yosemite {ENTER}
4)  CD “Yosemite Backup” {ENTER}
C.  Type the following at the Command Prompt:
ytwinsvc -x {ENTER}
D.  This will stop the Yosemite Backup Service on the local machine.
3.  Open the ytconfig.ini file in the Yosemite Backup directory
([Install_Path]\config, by default) on the Master Server.
4.  In the [configuration] section, add the following line:
repairDatabase=Yes
5.  This section should now look like this:
[configuration]
lastUser=admin
lastDomain=Yosemite Backup Storage Domain
nodeGuid={00001001-421F132A-0003F771-FFE580D7}
databaseServerAddress=localhost
isDatabaseServer=Yes
databaseServerName=Yosemite Backup Storage Domain
disableNetwork=No
remoteAdmin=No
repairDatabase=Yes
6.  Save and close this file.
7.  Open Yosemite Backup 8 – DO NOT RESTART THE SERVICE.
8.  The catalog repair will run automatically.
9.  After the repair has completed the Login screen will appear. Close this
window.
10. Restart the Yosemite Backup Service:
A.  Open a Command Prompt (Start > Run > CMD {ENTER})
B.  To change to the Yosemite Backup Directory type the following at a
Command Prompt:
1)  CD\ {ENTER}
2)  CD “Program Files” {ENTER}
3)  CD Yosemite {ENTER}
4)  CD “Yosemite Backup” {ENTER}
C.  Type the following at the Command Prompt:
ytwinsvc -s {ENTER}
D.  This will start the Yosemite Backup Service on the local machine.
11. Login to the Yosemite Backup Administrator.

12 comments to Repairing the Yosemite Backup Catalog

  • John

    Thanks! I’ve needed this info more frequently than I care to admit. Now that YT is supported by Barracuda, they seem to have made it more difficult to find.

    I appreciate your posting this…

    Cheers

  • Mark

    I know it was bad before but now it is really awful

  • ttom

    thanks – worked great

  • Thanks for your help. I like yosemite, but their documentation is loose to say the least.

  • Kevin

    thanks!
    that helped

  • I like the helpful info you supply in your articles. I’ll bookmark your blog and check once more here frequently. I’m slightly sure I’ll be told many new stuff right right here! Best of luck for the following!

  • Michael Johannsen

    I have had more issues with the Yosemite Database getting corrupted, I would think they would come up with a better solution.

  • Chris

    Just leaving a quick note of ‘Thanks!’.

  • eric

    Hello to all, sorry for my english, i m french…
    My yosemite software is out, i try the process, but not ok for me
    i give you my ytconfig
    ;——————————————————————————

    [configuration]
    nodeGuid={00001001-51D3FC0A-04C0904E-12D7A46C}
    nodeName=SB-2K3-SRV01
    lastUser=admin
    repairDatabase=Yes
    timeFixed=%h.%n.%s
    timeLong=%h.%n.%s
    timeShort=%h.%n
    dateFixed=%d/%m/%y
    dateLong=%2d %3d %1m %y
    dateShort=%d-%2m-%y
    dateFormat=1
    timeFormat=1
    lngId=fre

    [debug]

    [domainList]
    localhost

    [virtualLoaders]

    [installControl]
    lastInstallTime=”Ven Oct 12ième, 2007 11:13:03 AM”
    installTo=C:\Program Files\Yosemite
    installFrom=E:
    installedQuickAccess=Yes
    installedDisableNetwork=No
    installedRemoteAdmin=No
    installedWeb=No
    installedService=Yes
    installedDesktop=Yes
    installedCore=Yes

    [licenseKeyRing]
    document.33555438=ZKGAV38S-YA6DH753-PGHFY2M8

    [defaults.bvr.device]
    devices=removable_cart

    [quickAccessSettings]
    maxLogMenus=10
    maxAlertMenus=10
    maxJobMenus=10
    autoLogin=Yes
    autoStart=Yes
    jobFailure=Yes
    jobInProgress=Yes
    alertNotification=Yes
    password
    username=admin
    hostname=localhost

  • Mark

    See the bold text, that should do it for you

  • Glen Harouff

    Just a note to say thank you!

  • Gijs

    I know this thread is 7 years old, but it still works.
    I found that I need to do this about 4 times a year.
    Previously I had a maintenance contract with Barracuda, so they did this for me. I cancelled the contract but found that I am still stuck with Yosemite for a backup solution. Your information was helpful to get the backup working again until a better solution is implemented.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>