Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Send changes from one database to another

Translated29 USD

  1. 2328
     15  0

    3 days29 USD

    Hello!

    The task is clear, and it is absolutely feasible. We can set up a secure data exchange between your servers so that information about balances and orders is pulled from the necessary database and updated correctly.

    To offer you the best solution and accurately assess the scope of work, I need to review the connection code to the databases on both servers.

    I am ready to start the analysis as soon as you provide access. After that, we can immediately begin work.

  2. 278    5  1   1
    3 days261 USD

    Hello,

    I propose the architecture:

    A) Direct connection to the remote database (minimum code and budget)
    The admin panel on VDS-1 reads/writes the balance and reads the order count directly in the database on VDS-2.
    Technically: a separate database user with minimal rights, IP-whitelist through the firewall, TLS, prepared queries.

    B) Lightweight API on VDS-2 (slightly more expensive, but more flexible and secure)
    On VDS-2, we will set up a mini-service (PHP/NGINX), endpoints:
    GET /user/{tg_id} → balance, orders; PATCH /user/{tg_id}/balance; HMAC signature + IP whitelist.
    The admin panel on VDS-1 accesses this API, the database remains closed to the outside.

    What I will do:
    1. The balance and the number of orders in the user card will always come from VDS-2 (single source).
    2. In the admin panel on VDS-1, editing the balance writes to the database on VDS-2 (with change logs).
    3. Protection: IP whitelist, accounts with minimal rights, prepared queries, optionally TLS.
    4. Documentation on integration points and rollback.

    Option A (direct connection to the database on VDS-2)
    19 hours → $285, deadline 2–3 working days
    1. Code audit, access, data schema — 2 hours / $30
    2. Network connection: firewall, database role, TLS — 3 hours / $45
    3. Admin panel modification: reading balance/orders from VDS-2 — 4 hours / $60
    4. Admin panel modification: writing balance to VDS-2 + logs — 5 hours / $75
    5. e2e tests, bot regression, fixes — 3 hours / $45
    6. Documentation, rollback checklist — 2 hours / $30

    Option B (mini-API on VDS-2):
    25 hours → $375, deadline 3–4 working days
    (items from option A are replaced with API development: GET/PATCH routes, HMAC signature, validation, PHP client in the admin panel)

    We will start with the most budget-friendly A. If security/policies require an API — we switch to B without redesigning the data model.

    1. What database is on VDS-2 (MySQL/MariaDB/Postgres) and its version?
    2. Where are the balance and orders_count currently stored (table/field names)? Do the schemas differ on VDS-1 and VDS-2?
    3. Is it necessary to keep a history of balance changes and comments on edits in the admin panel?
    4. Are there any requirements for channel encryption (TLS to the database) or is VPN/firewall + localhost proxy sufficient?
    5. Do we limit access by IP from VDS-1 or will multiple addresses be needed (staging)?
    6. Can SSH/PhpMyAdmin/config access be provided for a short audit (read-only)?
    7. Are notifications in logs/Telegram needed when the balance changes?

    I work through a safe.

  3. 2642    6  1
    1 day45 USD

    Hello! I see that you need to ensure synchronization and editing of user order balances and quantities between two servers with Telegram bots on PHP. For this, a reliable data exchange between the databases on the servers can be implemented through an API or direct connection to the remote database, so the admin panel always retrieves up-to-date information from the main server. I have experience integrating Telegram bots with external databases and building connections between distributed systems. I am ready to discuss the details, propose a solution architecture, and quickly get to work for correct data exchange between your VDS and bots.

  4. 195    1  0
    3 days29 USD

    Hello, perhaps a good option would be to make a request from one side to obtain this invoice, and on the other end there will be an API that will accept this request, so in the future it will be possible to connect these two bots.

  5. 360  
    2 days112 USD

    Hello Andriy, I can help you solve your problem, let's discuss the details in private messages.

  6. 457  
    1 day29 USD

    Good day,

    I can implement the connection of the admin panel to the server with the database via API to retrieve data from the database, not from the bot.

    I would be happy to collaborate!

  7. 259    1  0
    1 day29 USD

    Good afternoon.
    I can help you with your problem.
    Feel free to reach out.

  8. 2885    42  0
    1 day45 USD

    Good day.
    The task is clear, I can implement it quickly.
    I have experience with php, mysql, vds.
    We can discuss the details and implement data duplication, or change the direction in another database.

  9. 1323    35  1
    1 day29 USD

    Good day. Contact me, I will do it.
    ++++++++++++++++++++++++++++++

  10. 368  
    2 days29 USD

    Good afternoon.
    I understand that you need to add a new API that will allow pulling the necessary information between servers.
    I will do it in the best way, as an addition that will not interfere with the code update of the bots themselves.

  11. Another 6 proposals concealed

Current freelance projects in the category PHP

Laravel/Blade developer (middle) — website enhancement

100 USD

I am looking for a developer for a project consisting of 4 related tasks for the website best-matchmaking.com to be completed sequentially:Integration of a ready-made premium Blade template for blog articles + auto-generation of Schema/SEO markup (Article, FAQPage, Open Graph,…

PHP ∙ 12 hours 33 minutes back ∙ 43 proposals

Improvement of the website https://koleso-center.com/ on OpenCart

223 USD

Add categories to the online store websiteUsed disksSpare tiresFastenersData is taken from the 1C database.A few more questions Type of performer: single Backend developer (OpenCart/PHP) at the Middle levelThe modifications must meet all requirementsSEO + AI promotion AI…

PHP ∙ 1 day 5 hours back ∙ 43 proposals

Module for OpenCart: mass creation of products from folders with images

Development of a mass product creation module for OpenCart (ocStore 3.x) A backend module for OpenCart / ocStore 3.x needs to be developed that automatically creates products from a pre-prepared folder structure with images.Main functionality: mass creation of products from…

Content Management SystemsPHP ∙ 2 days 12 hours back ∙ 49 proposals

Website optimization

Optimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -…

HTML & CSSPHP ∙ 6 days 10 hours back ∙ 34 proposals

Horoshop Specialist

Need a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different…

PHPWebsite Maintenance ∙ 7 days 13 hours back ∙ 22 proposals

Client
Profile blocked


Project published
10 months 3 days back
195 views
Tags
  • vds
  • PHP
  • Telegram