How to take a backup for the ‘connection details’ in sqldeveloper?

The ‘oracle sqldeveloper’ stores all the connection details in an xml file ie. connections.xml. If you want to have a backup for the connection details, you will have to navigate to In windows XP C:\Documents and Settings\<YourUserName>\Application Data\SQL Developer\systemX.X.X.X.X\o.jdeveloper.db.connection.X.X.X.X.X.X.X\ In Windows 7 C:\Users\<YourUserName>\AppData\Roaming\SQL Developer\systemX.X.X.X.X\o.jdeveloper.db.connection.X.X.X.X.X.X.X\ and take a backup of connections.xml . Later, if you need … Read more

How should I backup & restore docker named volumes

Actually it should be done same way as written in official documentation. Data volume container stores it’s data in “virtual root”, so you should backup with next command: docker run –rm \ –volume [DOCKER_COMPOSE_PREFIX]_[VOLUME_NAME]:/[TEMPORARY_DIRECTORY_TO_STORE_VOLUME_DATA] \ –volume $(pwd):/[TEMPORARY_DIRECTORY_TO_STORE_BACKUP_FILE] \ ubuntu \ tar cvf /[TEMPORARY_DIRECTORY_TO_STORE_BACKUP_FILE]/[BACKUP_FILENAME].tar /[TEMPORARY_DIRECTORY_TO_STORE_VOLUME_DATA] where: –rm means that the image created for this run command … Read more

restoring git repository from bundle backup

Short answer: $ git bundle verify $somewhere/foo.bundle $ git clone $somewhere/foo.bundle Cloning into ‘foo’… Receiving objects: 100% (10133/10133), 82.03 MiB | 74.25 MiB/s, done. Resolving deltas: 100% (5436/5436), done. $ cd foo $ git status … Lazy Badger said this, but it’s in the last paragraph. 🙂

Opening a SQL Server .bak file (Not restoring!)

From SQL Server 2008 SSMS (SQL Server Management Studio), simply: Connect to your database instance (for example, “localhost\sqlexpress”) Either: a) Select the database you want to restore to; or, alternatively b) Just create a new, empty database to restore to. Right-click, Tasks, Restore, Database Device, […], Add, Browse to your .bak file Select the backup. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)