Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sneako/mnesia_restore
Utility functions to rename mnesia backups, allowing you to restore them on different nodes
https://github.com/sneako/mnesia_restore
elixir erlang mnesia
Last synced: 2 days ago
JSON representation
Utility functions to rename mnesia backups, allowing you to restore them on different nodes
- Host: GitHub
- URL: https://github.com/sneako/mnesia_restore
- Owner: sneako
- Created: 2019-09-17T14:47:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T20:52:26.000Z (about 5 years ago)
- Last Synced: 2024-11-17T07:14:20.801Z (about 2 months ago)
- Topics: elixir, erlang, mnesia
- Language: Elixir
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MnesiaRestore
When you take a backup of your mnesia database using the built in `:mnesia.backup/1` function, you will not be able to load this backup on a different node, unless you first rename the backup.
This library provides some helper functions to help you rename mnesia backups.
Adapted from the [Mnesia User's Guide](http://erlang.org/documentation/doc-5.8.1/lib/mnesia-4.4.15/doc/html/Mnesia_chap7.html#id74479)
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `mnesia_restore` to your list of dependencies in `mix.exs`:```elixir
def deps do
[
{:mnesia_restore, "~> 0.1.0"}
]
end
```Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/mnesia_restore](https://hexdocs.pm/mnesia_restore).