Giter Club home page Giter Club logo

synchly's People

Contributors

ajish-sekar avatar hariprasanths avatar tanweeralii avatar vicky16898 avatar yerlantemir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

synchly's Issues

Encrypting Backup

Encrypting backup with a custom key and then upload to cloud.
Thanks

Add support to run job on demand

Currently, after a job has been scheduled, there is no way to trigger it on demand (run outside of the scheduled time).

This is a feature request to add support for that

See #3

Support for authSource for mongodb

It seem like if the database has authSource enabled, it will not be able to connect

× Authentication failed
Database configuration update failed.
MongoError: Authentication failed.
Re run with --config db to finish the configuration
Stacktrace:
MongoError: Authentication failed.
    at MessageStream.messageHandler (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\mongodb\lib\cmap\connection.js:266:20)
    at MessageStream.emit (events.js:310:20)
    at processIncomingData (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\mongodb\lib\cmap\message_stream.js:144:12)
    at MessageStream._write (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\mongodb\lib\cmap\message_stream.js:42:5)
    at doWrite (_stream_writable.js:403:12)
    at writeOrBuffer (_stream_writable.js:387:5)
    at MessageStream.Writable.write (_stream_writable.js:318:11)
    at Socket.ondata (_stream_readable.js:695:22)
    at Socket.emit (events.js:310:20)
    at addChunk (_stream_readable.js:286:12)
    at readableAddChunk (_stream_readable.js:268:9)
    at Socket.Readable.push (_stream_readable.js:209:10)
    at TCP.onStreamRead (internal/stream_base_commons.js:186:23) {
  ok: 0,
  code: 18,
  codeName: 'AuthenticationFailed'
}

The uri would be mongodb://root:password@localhost:27017/mydb?authSource=admin

Dockerization for Ease of Use

Objective
This issue aims to Dockerize the Synchly tool to eliminate the need for users to install system-level dependencies such as pg_dump, mongo_dump, and others. By containerizing the tool, users only need to run the container, mount a volume, create configuration files, and seamlessly utilize the tool without worrying about individual installations.

Proposed Solution
The proposed solution is to create a Docker image that encapsulates all the necessary dependencies and configurations required for Synchly. The image should allow users to interact with the tool by executing the container and utilizing the mounted volume for data syncing.

Steps to Achieve
Dockerfile Creation: Develop a Dockerfile that includes the Synchly tool and all required dependencies.
Volume Mounting: Enable users to mount volumes within the container to facilitate reading configuration files.

Expected Outcome
The expected outcome is a Docker image that simplifies the usage of Synchly, reducing the setup overhead for users and ensuring a smoother experience.

support for windows?

Does this tool support windows machine too?

This is the log message I gotten after installing, does the error matter or can be safety ignore?

❯ npm i -g synchly
C:\Users\Joseph\AppData\Roaming\npm\synchly -> C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\bin\synchly

> [email protected] postinstall C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\node-cron
> opencollective-postinstall

Thank you for using node-cron!
If you rely on this package, please consider supporting our open collective:
> https://opencollective.com/node-cron/donate


> [email protected] postinstall C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\nodemailer
> node -e "try{require('./postinstall')}catch(e){}"

                           === Nodemailer 6.4.11 ===

Thank you for using Nodemailer for your email sending needs! While Nodemailer
itself is mostly meant to be a SMTP client there are other related projects in
the Nodemailer project as well.

> IMAP API (  https://imapapi.com  ) is a server application to easily access
  IMAP accounts via REST API
> ImapFlow (  https://imapflow.com/  ) is an async IMAP client library for
  Node.js
> NodemailerApp (  https://nodemailer.com/app/  ) is a cross platform GUI app to
  debug emails
> Project Pending (  https://projectpending.com/  ) allows you to host DNS of
  your project domains
> Pending DNS (  https://pendingdns.com/  ) is the DNS server used that powers
  Project Pending
  accepts all your test emails

                            Don't like this message?
                  There's a Github Sponsors goal to remove it
                       https://github.com/sponsors/andris9

........

> [email protected] postinstall C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly
> node scripts/postinstall.js

Error: Shell could not be detected
    at Omelette.getActiveShell (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\omelette\src\omelette.js:189:17)
    at Omelette.getDefaultShellInitFile (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\omelette\src\omelette.js:210:35)
    at Omelette.setupShellInitFile (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\node_modules\omelette\src\omelette.js:238:42)
    at Object.<anonymous> (C:\Users\Joseph\AppData\Roaming\npm\node_modules\synchly\scripts\postinstall.js:6:16)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
    at Module.load (internal/modules/cjs/loader.js:977:32)
    at Function.Module._load (internal/modules/cjs/loader.js:877:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
    at internal/main/run_main_module.js:18:47
+ [email protected]
added 187 packages from 136 contributors in 17.423s

And if so, where would the config be stored in?

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.