How to add multiple folders from CLI? To clarify my example above, I pasted the wrong one, but I've tried:
Both paths separated by a semi-colon within one set of quotes - fails because it says the path doesn't exist:
C:\Program Files\CloudBerryLab\CloudBerry Backup>cbb addBackupPlan -a "tst-local" -n "tst-local-3" -d "c:\folder_1; c:\folder_2"
CloudBerry Backup Desktop Edition Command Line Interface started
WARNING: Cannot add file or folder 'c:\folder_1; c:\folder_2'. Path doesn't exist
Backup plan is created.
A separate set of quotes for each path (the example in my first post). It does create a plan, but only with the first path:
C:\Program Files\CloudBerryLab\CloudBerry Backup>cbb addBackupPlan -a "tst-local" -n "tst-local-3" -d "c:\folder_1"; "c:\folder_2"
CloudBerry Backup Desktop Edition Command Line Interface started
Backup plan is created.
C:\Program Files\CloudBerryLab\CloudBerry Backup>cbb getPlanDetails -n "tst-local-3"
CloudBerry Backup Desktop Edition Command Line Interface started
Name: tst-local-3
ID: 40c30766-d768-4d40-8826-44f5100aaf11
Connection: tst-local (4c81fb52-a3c8-478e-a827-0779bf461623) (ID= 4c81fb52-a3c8-478e-a827-0779bf461623)
Simple backup mode: False
Force using VSS: True
Use system VSS provider: False
Use fast NTFS scan: True
Use block-level backup: False
Backup items:
C:\folder_1
Backup filter type: All
Back up system and hidden files: False
Compress files: True
Use encryption: False
Storage class: STANDARD
Backup schedule: False
Backup force full schedule: False
Notification options
SendNotification: No
Windows Event log options
Add entry to &Windows Event Log when plan completes: No