semvec/pypi-packages huggingface dataset:
zxy-memories 1.0.1
The 'zxy-memories' software is to back up some ZFS pools with another ZFS pool or dataset.
License: BSD 2-Clause License
Requires Python: >=3.7

# zxy-memories

anatsuk1 has developed the `zxy-memories` software is to back up some ZFS pools to another ZFS pool or dataset.

anatsuk1 is backing up all the ZFS pools on internal SSDs to an external SSD with `zxy-memories` every time.

## Feature

You can back up your ZFS pools with one command, only 'zxy-memories.'

- zxy-memories backs up all the snapshots on ZFS pools.
- zxy-memories supports incremental backup from the previous backup.
- zxy-memories verifies the backup and the original ZFS pools with the portable mac on the ZFS pools.

## Install zxy-memories (Recommend)

1. Get zxy-memories from GitHub.com

   Get zxy-memories with `git clone`:

   ```bash
   git clone https://github.com/anatsuk1/zxy-memories.git
   ```

2. Run the `zxy_memories.py` script

   Move the current directory to the script directory by `cd zxy_memories/src/zxy_memories` and run the `zxy_memories.py` script:

   ```bash
   sudo ./zxy-memories.py
   ```

   Note: Copy the `zxy_memories.py` script to your home directory for your convince.

## Configure

We configure zxy-memories by editing `zxy_memories.py` first.

Configuration Options are:

|Option|Description|Initial Value|
|---|---|---|
|ZFS_POOL_NAME|The names of the original ZFS pools.|("root-pool"),<br>("storage-pool"),|
|ZFS_BACKUP_POOL_NAME|The name of the backup ZFS pool.|"backup-pool"|

e.g.

```bash
ZFS_POOL_NAME: Final[tuple] = (
    ("root-pool"),
    ("storage-pool"),
)
ZFS_BACKUP_POOL_NAME: Final[str] = "backup-pool"
```

## Install zxy-memories from PyPI

1. Install zxy-memories with the `pip3 install zxy-memories` command.
1. Run the `zxy_memories` command registered to 'PATH.'

Notice: you can find `zxy_memories.py` with `pip3 show zxy-memories` for configuring zxy-memories.

## Environment

`zxy-memories` is running on the following but not limited.

OS: Ubuntu Server 21.04

- Python 3.9.5
- ZFS on Linux 2.0.2
- GNU bash, version 5.1.4
- pv 1.6.6