LeoFS Manager Maintenance

Shell Description
leofs-adm backup-mnesia <backup-filepath>
  • Copy LeoFS’s Manager data to the filepath
leofs-adm restore-mnesia <backup-filepath>
  • Restore LeoFS’s Manager data from the backup file
leofs-adm update-managers <manager-master> <manager-slave>
  • Update LeoFS Manager nodes
  • Destribute the new LeoFS Manager nodes to LeoFS Storage and Gateway
leofs-adm dump-ring (<manager-node>|<storage-node>|<gateway-node>)
  • Dump the ring data to the local disk

backup-mnesia <backup-filepath>

Copy LeoFS’s Manager data to the file-path

$ leofs-adm backup-mnesia /path/to/file
OK

restore-mnesia <backup-filepath>

Restore LeoFS’s Manager data from the backup file

$ leofs-adm restore-mnesia /path/to/file
OK

update-managers <manager-master> <manager-slave>

  • Update LeoFS Manager nodes
  • Destribute the new LeoFS Manager nodes to LeoFS Storage and Gateway
$ leofs-adm update-managers [email protected] [email protected]
OK

dump-ring (<manager-node>|<storage-node>|<gateway-node>)

Dump the ring data to the local disk

$ leofs-adm dump-ring [email protected]
OK