seasnake

Docker volume imports and exports

seasnake

installation

$ npm install --save seasnake

usage

exporting

import Seasnake from 'seasnake';

const seasnake = new Seasnake('dockercomposeprefix_volumename');

seasnake.export('backup-file.tar');

importing

import Seasnake from 'seasnake';

const seasnake = new Seasnake('dockercomposeprefix_volumename');

seasnake.import('backup-file.tar');

Note: the backup file is relative to the working directory but cannot be in a parent directory (eg. ../backup-file.tar)

HomePage

https://github.com/dylanitorium/seasnake#readme

Repository

git+ssh://git@github.com/dylanitorium/seasnake.git


相关推荐

暂无相关文章