Comments (8)
Don't worry, I'm working on the feature as we speak :)
Here's an idea of the steps Swiff will perform:
- SSH into remote
- Dump and gzip remote db
- Download remote db and store in backups
- Dump local db and gzip
- Upload db to remote
- Import db into remote
- Clean up
Hope to have it released soon, I'll let you know.
from swiff.
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.
@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.
This seems to be something Good Work really wants judging from who's commented and upvoted so far 😂
from swiff.
@ben-rogerson No need to apologize. Appreciate your work! Excited!
from swiff.
Awesome, thanks @ben-rogerson 💓
from swiff.
That'd be swell
from swiff.
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)
- Add --host to the mysqldump param HOT 1
- Add support for encrypted ssh keys HOT 1
- Enable multiple environments per project HOT 6
- Show database size after pulling from remote
- Add the ability to extend and add your own tasks HOT 1
- Change default colours? HOT 3
- Swiff doesn't exit after performing a database pull HOT 2
- Package yoga-layout-prebuilt throws exception when trying to run tasks from the command line. HOT 4
- Support DB_DSN for Craft 3.4+ Installs HOT 2
- Adding cli param to disable usage tracking HOT 1
- Where are backups stored? HOT 2
- Project.yaml push/pull HOT 1
- Database push command breaks receiving Craft CMS DB
- Add a working directory HOT 1
- Error: All configured authentication methods failed HOT 1
- Add customisable file ignores for push/pulls HOT 2
- I'm getting: "TypeError: ssh.dispose is not a function" HOT 5
- Support custom SSH port HOT 3
- Unsupported key format HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiff.