Sitecore / Sitecore-Instance-Manager

SIM is an open-source tool for managing the local park of Sitecore instances. You can install, locate, maintain, reinstall or delete Sitecore products.
http://dl.sitecore.net/updater/sim/v2/
MIT License
108 stars 76 forks source link

Backup fails with SC9 #222

Closed xc-tonycwang closed 1 year ago

xc-tonycwang commented 6 years ago

Description:
When attempting to back up a SC9 instance, the backup fails because it's unable to find databases associated with experience platform.

Scenario:

  1. Install SC9 with SIM
  2. Backup instance from the above step.
  3. Get Error

Issue is actual
I hereby confirm the issue is new:

Valid for QA
I hereby confirm the issue is reproducible on the latest QA version [1.5.0.190] which was downloaded today from http://dl.sitecore.net/updater/qa/sim

Screenshots: Please find screenshots attached. backup selection backup error

Attachments:
Please find attached latest log files from this folders:

%APPDATA%\..\Roaming\Sitecore\Sitecore Instance Manager-QA\logs 

2018-02-22.txt

xc-tonycwang commented 6 years ago

This error appears to be an issue related to the XP databases that are not installed during CMS install. Once I commented out the connection strings, the backup worked as expected. Would it be possible for SIM to either ignore those connection strings, or commented out those entries during install?

isaadansari commented 6 years ago

I am getting the similar error


Sitecore Instance Manager

Backing up databases action failed with message: Cannot open backup device 'C:\inetpub\wwwroot\sxa.sc backups\2018-07-09 at 09-21-01\Databases\core.bak'. Operating system error 5(Access is denied.).

BACKUP DATABASE is terminating abnormally.

You can find details in the log file. Would you like to open it?

AlenPelin commented 6 years ago

@isaadansari that's permissions error, make sure that SQL Server has write access rights to C:\inetpub\wwwroot\sxa.sc backups\2018-07-09 at 09-21-01\Databases folder (try to create backup to that folder manually vis SSMS).

DmitryKolinchuk commented 1 year ago

Closed since the backup functionality is deprecated (removed) for Sitecore 9+ instances.