HyperV incremental backups - hyper-v

I wanted to take incremental backup of hyperv vms, how can we do that??
I have read about (Change Block Tracking) CBT is that function available in any hyper (2012 R2,2016 R2), If yes, how to enable and pull just the changed block.
Thank you

There is no out-of-box solution to achieve this. You have to obtain a backup software such as Altaro, Veeam, Arcserve (these 3 ones works with CBT) as the CBT driver is provided by these editors.
Veeam has a free edition with some limitations.

Related

Difference between cbmanager backup and cbbackup command

While taking my couchbase backup I found two way in couchbase 1) cbbackup 2) cbmanager utility.
What is the deference between both. I have tried both command and working fine but cbbackup is taking more time than cbmanager command.
Please help in this case. Thanks
In short, use CBMANAGER whenever you can.
CBMANAGER - "Designed for the Enterprise Edition, it replaces the cbbackup and cbrestore tools as the primary and recommended means of backup and restore for Enterprise customers from version 4.5 and above"
https://docs.couchbase.com/server/6.0/backup-restore/backup-restore.html

Teradata backup and restore

We want to take a BACKUP of our data in Teradata and
RESTORE it on another Teradata box. Is this possible, and if yes do we neeed to have same version of database on other teradata box? What are the tools available for this?
RESTORE it on Teradata Emulator perhaps running on Windows/Linux box. Is this possible, if not entirely at least few tables?
RESTORE it on Oracle Database, possible?
RESTORE it on Hadoop/Hive system, possible?
If this is still relevant:
Yes, you can. Make sure that system you're restoring backup to is the same version or higher. Most basic tool you can use - "arc" also known as arcmain. It is part of Teradata Tools and Utilities pack. But make sure you're using for restore very same version of ARC as you were using for backup. More advansed tools are: DSU from Teradata (or ABU in older versions), NetBackup from Symantec.
If by Emulator you mean Teradata VM - yes, again possible with same conditions mentioned in #1.
Not by backup-restore. It would be more export-import operation rather than backup-restore. And you need to use custom tools for it.
Same as #3. There is a tool called Teradata Connector for Hadoop that can help you with data movement between Teradata and Hadoop.

Database reverse engineer installation

I have an existing database (SQL Server 2008 R2), and my goal is to have a project that can install the same database as I already have.
i.e the project will read the schema and the data, and will be able to duplicate the existing data and schema.
This tool needs to save the database information to disk so I will able to install the database on different machines.
Can I do it with Visual studio 2010 database projects?
Is it a simple task?
(The reason I am asking is that I already have such a project that installs my database, but this tool is very old(~2000).
That old project is one big mess, it has C#, java, sql, batch files and some 3rd party tools and has many more capabilities than I need for my current product..)
Thanks.
Use SQL Server Management Objects (SMO) to create a snapshot of your source db and then restore it to the target server.
More on SMO here: http://msdn.microsoft.com/en-us/library/ms162169.aspx .
A nice tutorial here: http://www.codeproject.com/KB/database/SMO_Tutorial_1.aspx
The easiest way is to backup using SQL server management studio. Then move the backup file to the second server and there restore it with SQL server management studio. If you need SQL code to do it (instead of GUI way), just drop a comment...
This codeplex project has a basic library that does that if you like to roll your own and has two sample projects for migration/comparison tasks.
http://dbschemareader.codeplex.com/
Also the commercial option is to use Sql Redgate's tools. They are expensive but worth every penny if this is a mission critical database. On the otherhand, if you are just using a db as an alternative to a file, say in a embedded scenario, it might be hard to justify such an expensive tool.
Have you tried DBSourceTools ? http://dbsourcetools.codeplex.com
It is an open-source database versioning tool that will script out all database objects and data to disk, and then re-create the database on another machine.
It has all of the features that you are looking for.

SQL Server script to remove replication?

I have been asked to write a SQL script that can be run, which will stop replication and remove the subscriber/subscription.
Is this at all possible? Or do you have to use the GUI?
Which version of SQL Server you are using.
Try
sp_removedbreplication 'DB_PROD'
go
Related Read - How to cleanup Replication Bits - http://blogs.msdn.com/b/repltalk/archive/2010/11/17/how-to-cleanup-replication-bits.aspx
Google as well provides MSDN article in results
How to: Disable Publishing and Distribution (Replication Transact-SQL Programming) - http://msdn.microsoft.com/en-us/library/ms147921.aspx
If you're look to completely remove replication, including all the "bits". Or your server only has one publication and this is the one you're trying to remove.
I would recommend:
Connect to the Publisher or Distributor you want to disable in Microsoft SQL Server Management Studio, and then expand the server node.
Right-click the Replication folder, and then click Disable Publishing and Distribution.
Follow the steps in the Disable Publishing and Distribution Wizard, and instead of processing select the option to generate scripts.
This has the advantage of not only completely cleaning things up. But also removing the distribution database, which if you've ever dealt with before is known to become littered with remnants of replications past.
Full documentation can be found here.

Open databases from SQL Server like you do it with MySQL with PhpMyAdmin

i have a backup from a data base (SQL Server), i never worked with this type (always with MySQL and PhpMyAdmin to see the data). How can i see the data who is inside the backup? there is a Microsoft program to do that? like access.
Using SQL Server Management Studio, you use Restore feature. The process is laid out in the MSDN documentation.
Obviously, you restore to another SQL Server database instance. The version of the instance can be newer than the version the backup came from - the compatibility level will just be set accordingly.
depends whether you want to pay for the solution ;)
If you have the disk space and don't want to pay then you have to restore the backup.
If you dont have the disk space, and/or don't mind paying and/or you only want to restore a certain subset of the data you can use quest software's litespeed http://www.quest.com/litespeed-for-sql-server