Skip to content

romanoff/dk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataKeeper

DataKeeper allows you to easily create backups of data and restore them. It supports backups for databases as well as file backups. Here is an example of configuration file:

[sources]
  [sources.database]
  type="mysql"
  name="root"
  password="password"
  host="localhost"
  database="blog_development"

This is an example of .dk configuration file. It specifies data source type (in this case mysql). Here are commands you can use to work with local data:

Commands:

dk init <source> - Creates datakeeper config after couple questions dk config - Show datakeeper configuration dk create <name> - Creates database dump and stores it with specified name dk list -> List all local dumps dk remove <name> - Removes local database dump dk apply <name> - Applies database dump locally

Data sources:

  • mysql
  • fs (filesystem)
  • mongo (mongodb)

Others are coming :)

Releases

No releases published

Packages

No packages published

Languages