Questions tagged [restore]

1

votes
2

answer
19

Views

NuGet packages added to my project that are not referenced

When restoring NuGet packages I see that Xamarin.ios.CameraViewController is restored to my package and with it, all its dependencies. But I never referenced Xamarin.ios.CameriaViewController nor it is a dependency of my referenced packages. My csproj nuget references: 7.0.3 5.2.0 2.0.11 2.3.2 2.2.2...
Chris Fodor
1

votes
0

answer
318

Views

NuGet restore in VSTS always takes over 2 minutes

In VSTS my nuget restore tasks has a 2 minute pause, with this log: 2017-12-26T21:20:51.7164100Z [command]d:\a\_tool\NuGet\4.3.0\x64\nuget.exe restore d:\a\1\s\MarketMaking.sln -Verbosity Detailed -NonInteractive -ConfigFile d:\a\1\Nuget\tempNuGet_1748.config 2017-12-26T21:23:01.0823030Z NuGet Versi...
yzorg
1

votes
0

answer
640

Views

How to update a Nuget Package Reference from TFS Build?

I'm calling the 'Nuget Restore Task' and 'Nuget Update Task' before I build Solution B in a TFS CI Build definition. Solution B references the Nuget Package created from Solution A which I built prior to Solution B. I also have a retention policy for my CI Nuget packages so only the last 5 packages...
PatrickNolan
1

votes
2

answer
252

Views

PostgreSQL Backup from pg_dumpall (Ubuntu)

I was tasked with writing a python script to backup our current instance of Alfresco ECM. The backup works like a charm. I am running into problems with restoring PostgreSQL from the text dump .sql file. Here is my command: psql -f /home/alfresco/alfresco-backup/20180124/20180124_183146.sql -h loc...
sruffatti
1

votes
0

answer
359

Views

.NET Core 1.1: Nuget unable to restore local package

I have a .NET core 1.1.2 app that package references to two other .NET core 1.1.2 apps. Here's my csproj: netcoreapp1.1 It's able to restore the three packages near the bottom just fine, but cannot restore the two local ones near the top. I don't know why. The exact error I get is: Error NU1101 U...
smoothgrips
1

votes
0

answer
117

Views

How to dump/restore only diff data between the old and the new database

We have a big postgresql database and actually we deliver the whole dump file... so it take too much time to be dumped and later restored ! Is there a lightest way to be able to dump only diff data in a specific schema and restore only that diff data (creating the new table, updating the same modifi...
Mounirsky
1

votes
1

answer
220

Views

How to correctly reset graph and variables after Restoring Trained Model

I found the following code and tried to implement a Saver() for confirming the trained model can in fact be loaded an used but seems some variables or something isn't getting restored correctly (suspect variable scope items). The code in question checks if the model exists, if the model doesn't ex...
Moe Howard
1

votes
0

answer
98

Views

Failure to restore from S3 backup using Datastax Opscenter

I have an existing Cassandra DSE cluster managed by Opscenter with a backup schedule of all keyspaces to a S3 bucket. I spinned up a fresh cluster (with a separate instance of Opscenter) to attempt a full restore of the backup and I'm facing several issues; Firstly, it's impossible to trigger a rest...
Eyal Zekaria
1

votes
0

answer
46

Views

Restoring the entire ampps folder in wordpress installation directory

I have been working in a wordpress project locally with ampps. Unfortunately, my system crashed. But I made a copy of the entire ampps directory and kept it safe. My question is, can I restore this backed directory to a new ampps installation (replacing the ampps directory) so that I can restore the...
jeff
1

votes
1

answer
359

Views

Not able to restore nuget packages/Manage nuget packages not working in visual studio 2017

I tried to open a .Net Core solution which was working fine in 2015. Recently they added some .Net Core projects to the solution and asked us to upgrade to Visual Studio 2017 to be able to run them. We installed Visual Studio 2017 and tried to open the solution, but I am not able to build it. I get...
1

votes
0

answer
595

Views

Restore corrupt mongo db from WiredTiger files

So here is my scenario: Today my server was restarted by our hoster (acpi shutdown). My mongo database is a simple docker container (mongo:3.2.18) Because of an unknown reason the container wasn't restarted on reboot (restart: always was set in docker-compose). I started it and noticed the vol...
CodeBrauer
1

votes
0

answer
145

Views

VSO Package Library - Nuget Delayed

Our team has a private Package Feed set up in Visual Studio Online. We can push the latest version of a library we are working on to the feed, and then see it in our NuGet package manager in VS2017. In the last few weeks, this process has become unreliable, and we cannot determine why. Steps: A deve...
SouthShoreAK
1

votes
0

answer
170

Views

how to restore h2 database in java

How to restore a backup of h2 database in java. I store the backup on statement.execute(String.format('SCRIPT TO '%s'','path.sql')); but I don't know how to restore this backup I tried statement.execute(String.format('RUNSCRIPT FROM '%s'', 'path.sql')); but it gives me an error: org.h2.jdbc.JdbcSQL...
Syed
1

votes
1

answer
99

Views

NuGet restore packages crashes when two parallel threads attempt to restore same package

I have a build where multiple parallel stages each start out with a NuGet restore, before doing different stuff (build and run tests, build for iOS, build for Android). The restore is executed in each stage, since they can run on different build agents. However, since our CI setup has two executors...
Andreass
1

votes
0

answer
24

Views

Mysql restore issue

I used to have mysql 5.6 server. I backed up with like this command. mysqldump -u Myuser -pMypasswor Mydatabase > C:\backups\Mydatabase.sql I removed Mysql 5.6 and installed 5.5 version. Now I try to restore my database but it fails. Firstly I tried this mysqldump -u Myuser -pMypasswor Mydatabase...
Tekin Güllü
1

votes
0

answer
29

Views

Recover SMS messages from .backup file

I have the extracted files from the .backup file created by a phones recovery menu. How do I go about restoring the SMS messages from the mmssms.db and other associated files to another phone? I was able to find a way to convert the contacts2.db file to a .vcf but haven't been able to find a way for...
Maranatha
1

votes
1

answer
77

Views

NUGET restore package without Folder?

Is there an option to restore a NuGet package the the exact path defined in repositoryPath, ignoring any Package ID? When restoring in Visual Studio 2017\2015 I get the path ..\Bin\PackageID. I want the files to restored to ..\bin. My package contains no folders inside, only the files. I use sample...
galsi
1

votes
0

answer
17

Views

Build Failing due to nuget not being able to connect to remote server

My jenkins server has proxy configured at hostname:80. I am trying to build a C# project using msbuild plugin and nuget. When I trigger a build, it fails with the below message. https://api.nuget.org/v3/index.json: Unable to load the service index for source https://api.nuget.org/v3/index.json. An e...
Kartik Makkar
1

votes
1

answer
290

Views

During undoing of a logged operation in database 'PROD_Search_Service_LinksStore', an error occurred at log record ID

I'm not a true DBA as I tend to google a lot and have not had formal training though I have had 13 years of experience as a developer. My Sharepoint Administration skills are really more as a developer. This morning we received the following alert: 'During undoing of a logged operation in database...
ext12
1

votes
0

answer
58

Views

How to migrate data from heroku to different vps?

I have a postgres db for my backend hosted in Heroku. I am changing vps now to a different vendor altogether. I used following commands: heroku pg:backups:capture heroku pg:backups:download to take dump file, and than ran the following comamnd to pg_restore to remote vps postgres (I have ssh to rem...
Maverick
1

votes
0

answer
122

Views

NuGet CLI not restore the package for the packagereference

I have created a new .net core project with Visual Studio 2017, then add a nuget package Newtonsoft.Json to the project. After that I know the package will cached at the folder C:\Users\\.nuget\packages. For some reason, I have to delete it, then I want to restore it, but I could not restore it with...
Alex
1

votes
0

answer
49

Views

Cloudera to HDP SOLR(version 5.5.2) Data Migration | Failed to Update solr indexes after restoration on solr cloud

SOLR version - 5.5.2 My Project requirement is to transfer solr cloud indexes from cloudera cluster to HDP cluster. Data is huge(1 billion indexed records on production), hence re-indexing is not an option. We have tried solr restore and backup APIs but data is not visible on cloud. Please check i...
Prachi Singh
1

votes
1

answer
106

Views

Database from AlwaysOn availability group restored as normal database

I have a problem with a normal SQL database restored from a DB set in AlwaysOn high availability group in SQL Server 2017. I restored a copy of production db to a different server, to be used as QA test database, with a different name also - MyDB_demo The problem is, the QA app copy (same code as pr...
bzamfir
1

votes
1

answer
74

Views

restoring tensorflow graph which uses shuffle_batch hangs forever

I have a tensorflow code that uses tf.train.shuffle_batch for the training part. I read some forums and I got the idea to use these lines to separate between the input pipeline that uses queues and the inference part that should just use one single image: ima=queue_loader.images is_just_one = tf.pla...
karakorum
1

votes
1

answer
389

Views

Sequence error postgres 9 to 10

I'm trying to migrate my PostgreSQL 9.6.3 to 10.4. The restore seems to work correctly on the data, but i'm losing the sequences. I'm having erros like: 'Column 'min_value' does not exists', 'Column not found in pgSet: last_values'... It seems that PG 10 has a different way of working with sequences...
1

votes
0

answer
206

Views

Memory Optimized Database recovery

There's situation when my database(with memory optimized tables) has gone into 'Recovery Pending' state. I tried to put it into emergency mode-->Single User Mode--> DBCC CHECKDB()--->set it online--->Multiuser mode. But I am facing below error message while doing ONLINE mode. Msg 5181, Level 16...
Mr. K
1

votes
0

answer
34

Views

Restore mongodb backup not working

I am trying to run mongorestore backup-2018-06-23 and when I run it, I get some output but when I do show dbs nothing returns. Here is the output: [email protected]:~$ mongorestore asset-management/ 2018-06-23T12:36:53.923-0400 building a list of dbs and collections to restore from asset-manageme...
joshk132
1

votes
1

answer
250

Views

Restoring the state of docker containers

I have a docker container in a hyperledger fabric setup. This stores all user credentials. What happens if this container or machine goes down and is not available? If I bring up a backup container, how can the entire state be restored? I tried doing the commit option but on bringing it back up, it...
vaz zir
1

votes
1

answer
646

Views

Missing NuGet Packages, But “Packages Already Installed”

I have seen this same problem brought up by numerous people online, and have tried just about everything under the sun to resolve this issue but nothing is working. I copied my visual studio solution to another location on my computer, and now when I try to build it I get the infamous... This proj...
Casey Daly
1

votes
1

answer
531

Views

dotnet build command fails while restoring packages

I have a project that's building fine locally but the build in VSTS it fails in dotnet build command. The error looks very strange to me because I have no idea why a build command would try to restore packages again. Here's what the error looks like: 2018-07-09T11:06:48.2541705Z Retrying 'FindPack...
1

votes
0

answer
46

Views

Bad results after introducing new data to a trained and restored Tensorflow model

I built a NN based on 'Binary classification, soerendip' to continuously predict binaries. The following code is the simplification of the training procedure: import numpy as np import tensorflow as tf from sklearn.model_selection import train_test_split from sklearn.datasets import make_classificat...
werderneo
1

votes
0

answer
183

Views

Teamcity Nuget Restore Error

I am trying to build my .net MVC project on teamcity. but getting nuget package restore error. It was working before but suddenly I am getting this error now. [Step 1/6] restore: Restoring NuGet packages for MyProject.sln (2h:51m:43s) [13:58:42] : [restore] NuGet command: C:\JBTeamCity\build...
susankhya
1

votes
1

answer
107

Views

How to restore database from azure storage container using c#

We have a azure storage container where everyday we are keeping database backup files. Now we are developing an application using SMO (C#) to restore database from the Azure storage container. Restoring from the local device is working properly but I am not getting any help regarding restore from th...
Sikder
1

votes
1

answer
53

Views

Why do I get random values when the initializer value is set to a tensor?

In TensorFlow when storing and restoring variables using tf.train.Saver I get random values when the initializer value is set to a tensor, why? I have two ways of creating a variable, one that initializes using a function and the other with a tensor: # Way 1, works when restoring T = tf.get_variable...
loco.loop
1

votes
0

answer
101

Views

Postgresql error on restore: [archiver (db)] could not execute query: ERROR: insert or update on table DETAIL: Key is not present in table

pg_restore: creating FK CONSTRAINT 'public.fk_id_grupa_tipa' pg_restore: creating FK CONSTRAINT 'public.fk_id_izmenio_evaluacija_iop' pg_restore: [archiver (db)] Error from TOC entry 3540; 2606 218283 FK CONSTRAINT fk_id_izmenio_evaluacija_iop postgres pg_restore: [archiver (db)] could not execute q...
Luka
1

votes
0

answer
231

Views

Recover Data and tables from .ibd file

My laptop was quickly losing power even while charged, and in a haste to save my work with a MySQL database, i saved the .ibd files and backed them up (Note I am new to working with MySQL, so i did not know of the proper way to do this). Now, I cannot access that laptop until I get a new battery, an...
Nick Engle
1

votes
0

answer
495

Views

PostgreSQL - Error when restore database

i am using pgAdmin 4, and i need to restore database and get this error : I let the number of job is empty and role name is 'postgres' pg_restore: connecting to database for restore pg_restore: creating SCHEMA 'public' pg_restore: creating COMMENT 'SCHEMA public' pg_restore: creating SCHEMA 'tiger'...
Yudha Restu
1

votes
1

answer
113

Views

SQL Server slow after restore on better server

We had a SQL Server 2014 Express database on server A. After we back up the database and restore it to a better server B, and use SQL Server 2017 Express, we found that queries take longer to execute. These are the tasks I have completed after the restore: Rebuild Indexes Reorganize All Update St...
user2160275
1

votes
1

answer
34

Views

How to persuade VS Code to refer to the latest version of a package?

We're using a private NuGet feed to manage a couple of dependencies. After updating a dependency (e.g. adding a property to a class) and triggering build and release, I can see that dotnet restore downloads the new version: $ dotnet restore Restoring packages for C:\Users\me\blah\whatever.csproj......
Tom Wright
1

votes
0

answer
436

Views

Getting Exit Code 1 when running restore DB from a .tar file in pgAdmin4 postgresql 10.5

I'm taking an intro to SQL course and I can't get my very first database loaded. I have a file dvdrental.tar, I create a new database dvdrental > right click > Restore > Select File > Pick 'Data' under Restore options, and I get the error below. I'm on Mac OSX and the pgAmin instance is being loaded...
Cdhippen

View additional questions