Forum Discussion

druid84's avatar
druid84
Level 2
7 years ago

bpbackup issues/database name includes spaces

Hello. I'm having a hard time getting my bpbackup command to work correctly with an old database that has spaces in its name. Here's the command structures I tried: bpbackup -p policy_name -s ...
  • Lowell_Palecek's avatar
    7 years ago

    Put your path in quotes: "G:\path with spaces in it". As in any CLI, spaces break up the command line into separate parameters.

  • Michal_Mikulik1's avatar
    7 years ago

    Hello,

    try this:

    bpbackup -p test_windows -s User_1h "g:\MSSQL\Backups\Database Name\LOG\Database Name_LOG.trn"

    P.S. the subject is confusing, the fact that the path is related to a database has no relevance here.

    Michal