Closed hungryogre closed 5 years ago
Can one of you take a look at this? @MikeFal @jaapbrasser
Send this to me please.
From: Rebecca Fitzhugh notifications@github.com Sent: Wednesday, March 27, 2019 10:38 PM To: rubrikinc/rubrik-scripts-for-powershell Cc: Subscribed Subject: Re: [rubrikinc/rubrik-scripts-for-powershell] Export-RubrikDatabasesJob.ps1 Fails with DB Not Found Error (#55)
Can one of you take a look at this? @MikeFalhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMikeFal&data=02%7C01%7C%7Cd93a3fda039543c3bfc208d6b3267779%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636893375118581383&sdata=9rpIgrY22d2MEaDvrGO6jLxRSm80IEhiVXnoDZjbYDI%3D&reserved=0 @jaapbrasserhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjaapbrasser&data=02%7C01%7C%7Cd93a3fda039543c3bfc208d6b3267779%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636893375118591389&sdata=oGKgKjUfqiY01OVrNsrC7STbGtXhfTd5UEVvpsvngPc%3D&reserved=0
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Frubrikinc%2Frubrik-scripts-for-powershell%2Fissues%2F55%23issuecomment-477422689&data=02%7C01%7C%7Cd93a3fda039543c3bfc208d6b3267779%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636893375118611405&sdata=QWjrPhUNAQ0pVwWTr0KcJtWOYupfXs9VKU4vR0g636c%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVTAyMmhuFmjWH5pMYi4Sm9FdsDly7cvks5vbCsmgaJpZM4cAoGH&data=02%7C01%7C%7Cd93a3fda039543c3bfc208d6b3267779%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636893375118621416&sdata=xnqwbpq4qF%2BWclKckxPaILDvnCh6fRxxCR6lJojrX%2BQ%3D&reserved=0.
has been fixed with recent code changes.
could someone give me an example of the json file.
What happened: Exporting a database from an AG to a non-AG SQL Server fails with
Database AdventureWorks2016 on am1-sql16ag-1ag\ was not found
What you expected to happen: The script will export the backup from the specified recovery point to the location identified in the JSON job file.
How to reproduce it (as minimally and precisely as possible): In Gaia, export the AdventureWorks2016 database from the availability group to another SQL Server instance.
Anything else we need to know?: The error comes from line 127 of the script, stating no database was found. When performing the commands manually it looks like results are actually returned by Rubrik-GetDatabase.