Exporting FTP/SFTP Connections with passwords from Aptana - aptana

Aptana allows you to export preferences, project sets and also Remote Connections. However, when I export and import into a new Aptana install on another machine, the Remote Connections do display but the passwords are no longer saved.
Is there some way around this?
I have tried copying the connections file in /Aptana Project Space/.metadata/.plugins/com.aptana.core.io but with no joy.

Related

How to work in parallel with another dev on Wordpress-based website on local machine

I'm working on WP-based project which is installed on my local machine (Wamp), so the latest version of the database and WP files is on my laptop.
I'm pushing WP files into git repository, so another dev can pull the files from there and push his code into the git as well. Merging of WP files works fine with git, the problem is the database changes. Once another dev changed something is his local database, I had to do the same in my DB to keep my database up to date, which didn't really work for us.
We are trying to use a centralized database on an external server: all the files are stored on our local machines and we connect to the external mysql server using different DB users. It works better in terms of merging of DB changes, since we both change the same database, but we're having troubles if one of us need to install a plugin, as in this case the dev who install the plugin physically have the plugin files on his local machine, but another dev - doesn't have it. As a result we have to add plugin files manually and then one of us just activate the plugin. Another downside of such approach is - we both connect to the external database, so we are loosing time based on a ping to the server each time we need to re-load a webpage during development in comparison to the same action using a local database.
Please describe how do you work on Wordpress-based website in parallel with another devs? Which tools are you using to make development process smooth and to avoid issues I described above?
Thanks.

Is there a way to sync with a remote folder over SFTP?

The remote folder in question does not have a shell or allows ssh connections, nor it has a ftp server. The folder to be sync is big, with hundreds of files and continuously updated, and I need some way of downloading any new or modified files quickly.
I have tried lftp and rsync, but the connection is not allowed. I thought about writing a script over sftp, but it seems too complex and slow. I could also use Python, but from what I know the script would be similar.
I would like to install only well-known libraries, if any, but I am not sure about my options here.

Drupal to Drupal Migration Across Servers

I am in the process of migrating a D7 site from one server to another. I have successfully exported and uploaded the settings to the new site using Features, but I need to get the content over to the site as well. I've been looking at several modules to try and solve this problem, but I have not found anything suitable for this task. Please let me know if I am overlooking a really simple solution.
Thanks!
Mark
Easiest solution is to export a database dump and import it into your new server. You can do it wotj phpMyAdmin but I recommend using Drush.
This way you can simply do a database dump via:
drush sql-dump > ~/sql-dump-file-name.sql
and later import via:
drush sql-cli < ~/sql-dump-file-name.sql
Also copy your files directory from old server to new server which is located in /sites/default/files.
I've successfully used the backup and migrate module for these tasks. True, creating a dump and then spooling the dump into the other database works, but this typically also copies all caches.
The backup_migrate module allows you save backups on your local server, but also to your hard disk, from where you can upload it again to the other site.
A neat thing here is that you can exclude tables, such as cache tables, which makes the transfer much faster.
Obviously you need a core installation on the other end, and the backup_migrate module already installed for this to work, but I assume that since you only ask about the db, you must have mirrored the file structure already (excluding the settings files).

Sublime Text 3 File Sync (connection manager)

Recently I've moved from Aptana to Sublime Text 3. In Aptana there was a nice connection manager which allowed me to connect my local files to a different Drive, and I could then upload my local changes to that Drive.
I'm wondering if there is anything like that for Sublime. I can't find anything at the moment. It would also be ideal to have one where I upload the file myself (not done automatically).
Something like the sublime SFTP package, but runs with two local directories.
Any help is appreciated.

Recover deleted ports in Biztalk

Is there any way to recover the physical send & receive ports once deleted without exporting the bindings?
Even if you export the bindings the ports will not exist and so will not be exported. I think Bilal is correct - this data resides in the management database, so you would need to restore from a backup.
Your best option is always have a binding file configuration for your application. Once your BizTalk applications are configured with correct send, receive ports, orchestration host etc make sure you back up your binding configuration using "Export Binding" option in BizTalk admin console.
In fact, in bigger projects binding files will be normally owned by deployment teams for various environments and you never create ports using admin console in real environments.
It will be bit overkill to restore your BizTalk databases, just get your ports back. I would rather create them manually again, even if the numbers are hight. Restoring databases requires special attention, if you do it wrong you will end up reconfiguring the whole environment which will be time consuming.
I agree with Saravana.
My 5c: you can import existed binding files and that will not remove ports that are not in the binding files. The import process works in "addition" mode.

Resources