Can I store a redis database locally? - redis

I want to use redis to store data and load up the data on a localhost webpage. I do not have a server to host the redis database and I'm curious if I can store it locally, like how sql lite can be stored in a file.

Related

Replication for local and global databases

I have a server which is running a large database. Many computers and laptops will connect to my server and download this large database to run in localhost. They will create, modify or delete this local database. When everything is done, these databases need to be synchronized to the main database on the server.
I am using PostgreSQL, by the way.
Here I come up with a solution using replication. rubyrep is my choice. However, rubyrep requires every local database to have a global IP. I cannot find a way for my server to connect to those local databases. How can I solve that problem?

Web Application hosting with amazon server

Myself trying to host a web application in amazon server which takes data from database.I tried to make an instance in amazon rds with master username as root and a password.I have mysql workbench . I don't know how to import my .sql files to amazon rds.While going through the tutorial i am getting confused wih the security group and all.My questions are
1.do i need to create a security group to do my job,to accesss my application from any ip address?
2.how can i create database with this amazon server in sql workbench/sql query browser.
You can either create or add your IP address in default security group to access application to Database.
Amazon RDS is just another database maintained by Amazon for you.No much difference in usability, You can connect to it from your MYSQL workbench by providing RDS details and you can star using just as another database.

Engine Yard Push/Load Database

I am thinking of deploying my Rails app to Engine Yard. I have a MySql db with all of the data for the site. When I deploy to engine yard cloud, will I be able to "push" this database to the server somehow?
Something like this (?):
https://blog.heroku.com/archives/2009/3/18/push_and_pull_databases_to_and_from_heroku/
Or can I somehow put the mysql database in the git repo so it is pushed to the server?
See: https://support.cloud.engineyard.com/entries/20996676-Restore-or-load-a-database
Use scp to ssh copy your database to the server.

how to setup master-slave replication over the internet?

I have few web sites/databases on cloud servers which I want to replicate to my local server
to have current data most of the time. What is the proper way doing this over the internet?
Should I use web services between? Local DB is SQL Server, remote are MySql.
thanks

Amazon AMI uploading database

I'm trying to work out how to upload a 15gb database to my Amazon AMI on EC2. It keeps dropping. My ISP gives 1.5mb/s upload. Also my download speed is goes to neraly nothing when I am uploading. Is there a way to send the database over quickly using EC2?
Thanks
You can use any database GUI manager to upload the database. Connect to your EC2 database using your database GUI manager and upload the data from your local system. If you are using MySQL as your database I will suggest SQLYog MySQL GUI manager, Connect to your EC2 using ssh tunneling and upload your data.
Consider using rsync with options like:
rsync -PazSHAX LOCALDIRECTORY/ REMOTEHOST:/REMOTEDIRECTORY/
Keep running it until it completes successfully as it will resume where it left off.
You can consider Amazon Import/Export for that. It costs some money, though.