Check the preview of 2nd version of this platform being developed by the open MLCommons taskforce on automation and reproducibility as a free, open-source and technology-agnostic on-prem platform.
script:save-restore-repos (v3.0.0)
Copyright: See copyright in the source repository
License: See license in the source repository
Creation date: 2018-09-12
Source: GitHub
cID: 84e27ad9dd12e734:e9eaae1e6e729eff

Don't hesitate to get in touch if you encounter any issues or would like to discuss this community project!
Please report if this CK component works: 1  or fails: 0 
Sign up to be notified when artifacts are shared or updated!

ReadMe  

Save/restore CK repositories

The bash scripts in this directory can be used to migrate all CK repositories from one machine to another one. While standard repositories (e.g. ck-env) can simply be pulled from GitHub, users often accumulate some local repositories (e.g. with experimental data). Moreover, even standard repositories can contain valuable local modifications which users might want to preserve.

Save

To backup local CK repositories, please specify their location via the CK_REPOS environment variable (if it is not defined already). If CK_REPOS is not defined, the script tries $HOME/CK and $HOME/ck` (in this order).

Also, please specify the target directory via the CK_BACKUP environment variable. This directory must exist e.g.

$ export CK_BACKUP=$HOME/ck-backup
$ mkdir $CK_BACKUP

Run the save script:

$ cd `ck find ck-env:script:save-restore-repos`
$ ./save.sh
Archiving CK repositories in '/home/anton/CK_REPOS/' to '/home/anton/ck-backup/' ...

- archiving 'ck-analytics' into '/home/anton/ck-backup/ck-analytics.zip':
...
Total size:
24M     /home/anton/ck-backup

Restore

TODO

Versions  

Files  

Comments  

Please log in to add your comments!
If you notice any inapropriate content that should not be here, please report us as soon as possible and we will try to remove it within 48 hours!