Skip to content

backup and restore $CARGO_HOME cache to cargo_bak.zip cargo restore for custom docker ci

Notifications You must be signed in to change notification settings

luyikk/cargo-bak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo backup

backup and restore $CARGO_HOME cache to cargo_bak.zip cargo restore for custom docker ci

list of backup directories:

   $CARGO_HOME/registry/index/
   $CARGO_HOME/registry/cache/
   $CARGO_HOME/git/db/

usage:

  • backup
cargo-bak bak
cargo-bak bak -s [filename]
  • backup zip compression level default 0
  • change compression level use -c
cargo-bak bak -c 6
  • restore
  cargo-bak restore ./cargo_bak.zip 

About

backup and restore $CARGO_HOME cache to cargo_bak.zip cargo restore for custom docker ci

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages