Code Monkey home page Code Monkey logo

Comments (8)

ben-rogerson avatar ben-rogerson commented on July 18, 2024 4

Don't worry, I'm working on the feature as we speak :)

Here's an idea of the steps Swiff will perform:

  1. SSH into remote
  2. Dump and gzip remote db
  3. Download remote db and store in backups
  4. Dump local db and gzip
  5. Upload db to remote
  6. Import db into remote
  7. Clean up

Hope to have it released soon, I'll let you know.

from swiff.

ben-rogerson avatar ben-rogerson commented on July 18, 2024 3

A task that replaces the remote database with your local database is a great feature!
Perhaps it could be triggered with a command like:
swiff --updb or swiff --uploaddb
And those who use the staging as the master database could use the feature to populate the remote for the first time.
Thanks for your request and I'll let you know when it's available 👍

from swiff.

ben-rogerson avatar ben-rogerson commented on July 18, 2024 3

@chasegiunta @chrisrowe Hope you guys had a great easter holiday!

Swiff v1.4.0 was just released 🥳
If you want to give it a whirl: npm install --global swiff
Release notes
Closing this issue for now as the database push task is now available 👍

from swiff.

jalendport avatar jalendport commented on July 18, 2024 1

This seems to be something Good Work really wants judging from who's commented and upvoted so far 😂

from swiff.

chasegiunta avatar chasegiunta commented on July 18, 2024 1

@ben-rogerson No need to apologize. Appreciate your work! Excited!

from swiff.

chrisrowe avatar chrisrowe commented on July 18, 2024 1

Awesome, thanks @ben-rogerson 💓

from swiff.

chrisrowe avatar chrisrowe commented on July 18, 2024

That'd be swell

from swiff.

ben-rogerson avatar ben-rogerson commented on July 18, 2024

Apologies for the delay on this, there's some issues that surfaced after adding this feature so I'm working through those at the moment. Aiming for next release within a week, should be sweet.

from swiff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.