npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dockguard

v1.1.3

Published

> :warning: **This project is in very early development stage!** I'm still actively working on adding more services & backup storages!

Downloads

18

Readme

:warning: This project is in very early development stage! I'm still actively working on adding more services & backup storages!

DockGuard

The easiest way to backup your Docker containers.

???

Are you struggling with backing something up, a database, container, or whatever? DockGuard is here for you! Simply run the command, enter in some basic data and get a neat export file for any kind of service! Accidentially deleted the entire database? :) Don't worry, DockGuard can get it back with just a few clicks, or, well, keyboard presses i guess... Uhh, moving on!

Support

This is the full list of containers DockGuard currently supports:

  • MySQL database

if you know anything at all about coding, please add new container types to the engines! I'll whip up some documentation soon, for now you can just check the existing files.

Usage

You can go the fully guided route by running npx dockguard and following the prompts, or you can fully automate the process by adding environment variables.

Fully Guided

Backing up

npx dockguard

Restoring

npx dockguard --restore [containername]

Environment Variables (Currently backing up only, restoring is not supported yet)

export CONTAINERNAME_USER=yourusername
export CONTAINERNAME_PASSWORD=yourpassword

npx dockguard --unattended

Supported Environment Variables & Flags

Environment Variables

  • CONTAINERNAME_USER - The username of the database running in docker container 'containername'

  • CONTAINERNAME_PASSWORD - The password of the database running in docker container 'containername'

  • DOCKGUARD_DISABLE_AUTH - Set to true to automatically temporarily disable authentication for the database running in docker container 'containername' (DANGEROUS FOR PRODUCTION)

Flags

  • --unattended - Run DockGuard without any prompts
  • --verbose - Show verbose output
  • --restore [CONTAINERNAME] Restore from backup