orientdb - database backup zero byte file - orientdb

orientDB backup is creating zero byte file.
error is as below :-
Error: java.lang.UnsupportedOperationException: backup
orientdb {db=isc}> connect remote:localhost/isc root admin
Disconnecting from the database [isc]...OK Connecting to database
[remote:localhost/isc] with user 'root'...OK
CONFIGURED SERVERS orientdb {db=isc}> BACKUP DATABASE
C:\IntelliSURF\backup\june22_ORDB.zip Executing full backup of
database 'isc' to: DATABASE C:\IntelliSURF\backup\june22_ORDB.zip...
Backup executed in 0.00 seconds Error:
java.lang.UnsupportedOperationException: backup
orientdb {db=isc}>
Version is - orientdb-community-2.2.0-beta on Windows Server 2008 R2 standard

OrientDB Community Edition does not support backing up remote databases. OrientDB Enterprise Edition does support this feature.
Hope it helps.
Regards

Related

DB2 CLP connect to remote DB

I downloaded and installed on Windows the following:
IBM DB2 Runtime Client (64-Bit) 10.5
with the aim of connecting to a remote server database.
It installed here:
C:\Program Files\IBM\SQLLIB
But I don't see any DB2 folders in there.
I tried to catalog the remote db like this:
db2 catalog tcpip node testing remote the.server.com server 446
If I then try to connect to it, I get the following:
SQL1031N The database directory cannot be found on the indicated file system.
There is some wizard installed called the 'Default DB2 and IBM Database Client Interface Selection Wizard'. I ran this and it said it would create a default DB2 copy and would be used by default, called DB2COPY1 and it would be installed to C:\Program Files\IBM\SQLLIB.
But I'm nnot sure what this is doing really.
What do I need to do here to connect to the remote DB2??
EDIT:
I have managed to get a bit further based on this article here:
https://www-01.ibm.com/support/docview.wss?uid=swg21008914
my current commands look like:
db2 catalog tcpip node tstnode remote my.server.com server 446
db2 catalog db db1name as mytstdb at node tstnode authentication server
db2 catalog dcs db db1name as A123456DAT
db2 terminate
db2 connect to mytstdb user <username> using <password>
However the connect fails with:
SQL30061N The database alias or database name "A123456DAT " was not
found at the remote node. SQLSTATE=08004
Any ideas?
If you are connecting through port 446, I guess you are trying to connect to DB2 for IBM z or DB2 for IBM i. If yes, you will need at least Db2 Connect.
Regarding error "SQL30061N The database alias or database name "A123456DAT " was not found at the remote node. SQLSTATE=08004" it happens to me when the userid does not have some priviledges on the source system. If it is an IBM i, look at the corresponding spool file. DRDA Connections are attended by jobs called QRWTSRVR. With the IBM i command WRKSPLF SELECT(USERID) (changing USERID by the user trying the DRDA connection) you can see the spool files for jobs related to your connection. Usually spool file messages are very specific on the cause of the failure.
If you are trying to connect to DB2 on z, I don't have experience.

DB2 backup error

We've a DB2 10.5 instance running on Windows 2008 R2 server. This instance has 10 databases. We have been encountering the following error while performing an offline backup of one of the databases. The error occurs every 5 mins for more than an hour and at some point it is able to get an exclusive connection and backup this database
SQL1035N The operation failed because the specified database cannot
be connected to in the mode requested.
We tried the following:
db2 quiesce instance with restricted access and force connections
db2 deactivate database
db2 backup
db2 activate
db2 unquiesce instance
Before this, we also tried a force application all and db2terminate but was in vain. Has anyone encountered such and error before? Appreciate your thoughts and thanks for your time.
Regards,

Tableau Server 9.2.4: Microsoft SSAS connection issue

I have built a workbook on my laptop connecting MS SSAS to Tableau server. It worked fine by using MS SSAS connector.
After I published to Tableau server 9.2.4 and installed MS SSAS driver below, I got an error.
MS SQL SSAS 2014 driver on the Tableau servers. Microsoft Analysis Services 2012 SP1 64-bit (version 11.0.2100.60) from: https://www.tableau.com/support/drivers
An unexpected error occurred. If you continue to receive this error,
please contract your Tableau Server Administrator.
Thanks again for your help.
This issue is resolved. It is a permission issue after reading the Tableau server log:
2016-03-21 16:17:23.968 -0700 catalina-exec-40 Default abc.com\John Doe ERROR requestId=VvCBA6BFEMwAABvo4hUAAAFx: wgsessionId=fu5qnq7cUm3ZAtpeZx6qqhmiOlTKCLW4 com.tableausoftware.controller.vizql.ExceptionController - Exception details:
Analysis Services database error 0x80004005: Either the user, ABC\TestSvc, does not have access to the Analysis database, or the database does not exist.
Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database.
Errors occurred while trying to load the workbook "/views/Dashboard". The load was not able to complete successfully.

How to restore SQL SERVER MANAGEMENT STUDIO DATABASE to PC Server to SQLEXPRESS Server?

I am using SQL SERVER MANAGEMENT STUDIO 2008 R2. I have used my pc's name(For example, MY-PC) as a server name to make databases. Now how can I get the database I created in my pc's named server, when I select .\sqlexpress as a server.
The error it shows when I tried to restore in .\sqlexpress from .bak file:
Restore failed for Server 'MY-PC\SQLEXPRESS'. (Microsoft.SqlServer.SmoExtended)
Additional Information:
System.Data.SqlClient.SqlError: The database was backed up on a server running version 10.50.1600. That version is incompatible with this server, which is running version 10.00.2531. Either restore the database on a server that supports the backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.Smo)
You can't restore the database in the above scenario - as per the error, the backup was taken on a SQL Server 2008R2 instance, and you are trying to restore it on a SQL Server 2008 instance - backup files are not backwards compatible.
You can see this from the error message:
10.50.1600 is SQL Server 2008 R2 RTM
10.00.2531 is SQL Server 2008 Service Pack 1
See the following Microsoft article for details on SQL Server version numbers:
http://support.microsoft.com/kb/321185

Backup Oracle 10g Database from Windows Server 2003 R2 on which command line is disabled

I need to backup Oracle 10g Database from Windows Server 2003 R2 where command line is disabled by some virus problem. RMAN and other graphical utilities are also not working. Only possible thing is that I could take OS file backup of the running database (it can't be stopped also). I do have a trace control file of the database. Please provide some solution so that I could restore the database to a new server.
You can create a backup using Oracle DataPump through SQL:
http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/d_datpmp.htm
Here are some examples how to use it:
http://psoug.org/reference/dbms_datapump.html
http://jhdba.wordpress.com/2009/05/06/237/