I'm working with the neo4j graph database these days for a project and as a precaution, I need to find out that is there a way to export the graph every time I build or make a change in the graph in case an accidental deletion occurs I can rebuild the graph. For example, in MySQL, we can export the database into a SQL script and rebuild the database by running it. What I'm asking is, is there a way in neo4j to do the same thing?
PS:- I use an online sandbox provided by graphenedb.com. Not the one installed locally in the computer.
You could use the export feature. That export file can be used within GrapheneDB to restore it into any other database or to take your data elsewhere.
Related
I am new to this whole containarization and backend as a services technologies. But I wanted to give appwrite a shot because it seemed very easy and well suited for a small project I am about to build. The only problem is I donot know that much about docker, and I am a bit unsure if and how will I be able to move the appwrite image instance that is running locally with all the changes that I have made to it (i.e. created projects, existing db documents, functions etc) to production server or any other computers. How might I be able to do this? thanks
If you're looking to move the configuration for your project AND the data, the best thing to do would be to:
Backup your project
Move the backups and the appwrite folder to the new location
Start Appwrite
Restore the backup
If you only need to migrate the schema for your collections, you can use the Appwrite CLI to create an appwrite.json file of your project and then deploy it to another instance. The CLI can also be used to manage your Appwrite Functions too.
References:
YouTube Video on Backing Up and Restoring
Docs on Backups
Docs on Appwrite CLI
I have an existing influx database on one of my raspberry pis, and I want to transfer it to another pi that is taking over.
The information I did find wasn't helpful as it had one command to export (using influxd backup) which created a series of files in a directory, but the import command I tried was expecting a single file so didn't work.
Some reading seemed to show that there is a couple of methods, and some referred to the web gui (which I cannot get to work). Is there a pointer to the latest and best way to do this now? Preferably from the command line.
Thanks,
-Steve
I am currently working on a project and It's time for me to host both the application and my graph database. I have chosen heroku and I have been able to deploy my application, add an add-on (GrpaheneDB). Now I would like to migrate my local dataset on my online database. I have been searching for two days now.
Every time I try restoring the database, I get this error:
To quote from GrapheneDB's troubleshooting section for importing:
When a restore process fails, it’s usually due to one of the following
reasons:
The store files were copied while Neo4j is still running: Make sure
Neo4j is stopped.
The store files correspond to a newer version of
Neo4j than the one on GrapheneDB: Make sure you restore to the same
version or higher.
The compressed file is not a supported format: Make
sure you use one of our supported formats, which include zip, tar,
cpio, gz, bz2 and xz.
There are store files missing within the
compressed file: Make sure the archive contains the full graph.db
directory and all files inside (use the recursive option when creating
the archive).
We are trying to alicve our Reporting and Analysis Services in Team foundation Server (currently it is14.0.23128.0 (Tfs2015)).
It was not using for a couple years.
And now we want to use it. But when we connected to our analysis via Excel we've faced to strange data in report builder:
All Date boxes are empty and lots of SID Instead of people:
After that we went to our SQL Server where all TFS databases are and looked at tables:
This is Dim.Date table in Tfs_Warehouse
And this is Dim.Person table. It is filled with SID's and normal names. Some of SID's in AD have normal names. But here are they presented by SID.
So that is the problem we have.
We tried to solve it by ourself.
So what we have tried to do:
First of all we tried just to rebuild Reporting Services. It did not worked.
Also we tried to rebuild services with deleting Tfs_Warehouse and Tfs_Analysis databases. It did not worked too.
After that i installed an extra TFS on another pc. And its database is filled with correct data.
After that I turned off reporting service, deleted Tfs_Warehouse and Tfs_Analysis databases, deleted SQL Server Analysis and Reporting features, reboot a vm and installed them again. Configured Analysis and Reporting features and turned TFS Reporting service on. When all tables were filled i have seen that corrupted data. Just same as i saw at first.
And after that i did all that i wrote in a previous try but also i reinstall an application server. Result is the same. Data is corrupted.
Also i tried to switch app server from "good" TFS. But did not helped.
Have anyone any ideas about that? :)
I have backup of TFS databases and I want to get my code files from it. Is it possible? If so, then what exactly do I need to do? TFS Version: 11.0.61030.0 (Tfs2012.Update4)
Whatever investigation I have done so far, it seems that the only way to restore the files is to install TFS 2012 on another machine, restore the database backups on that machine. And hopefully afterwards I should be able to download the files from this new TFS. I wanted to verify my procedure because I need to know if there is something missing in my understanding before I start the task.
Yes restore is the way to go, but you must be careful at some important details. I write as I remember:
Use the same version of TFS for the new environment.
The new environment is in the same Active Directory domain. If you are in a workgroup, must add additional steps to make, at least some, accounts match.
Restore from a marked transaction (this is done by the built-in backup/restore tool)
You will have two live system with the same identifier: this may confuse clients. To avoid run the tfsconfig ChangeServerID command.
If you restore the Configuration DB, must run TfsConfig RegisterDB.
For getting code this is enough, but consider that the new environment is still pointing to existing resources: build server, lab management.
If the TFS instance was already used, more steps are necessaries, like cleaning cache on AT.
I do not remeber a complete guidance: there are many variations on this topic. Make sure to study the content of Restore a deployment to new hardware