Cross device backup manager. https://git.qwjyh.net/PKGBUILDs/xdbm
Find a file
qwjyh 1794b8b409 add test for backup add/done with single device
This works on Windows.
It still needs git config to perform commit.
2024-03-18 08:40:49 +09:00
src lint with clippy 2024-03-18 08:36:07 +09:00
tests add test for backup add/done with single device 2024-03-18 08:40:49 +09:00
.gitignore init 2023-08-25 23:50:47 +09:00
Cargo.lock update dependencies 2024-03-17 20:29:06 +09:00
Cargo.toml add shell completion script generation 2024-03-17 04:08:47 +09:00
README.md add test for backup add/done with single device 2024-03-18 08:40:49 +09:00

xdbm

Cross device backup manager, to manage backups on several storages mounted on multiple devices with a single repository.

Usage

  1. xdbm init to setup new device(i.e. PC).
  2. xdbm storage add to add storages, or xdbm storage bind to make existing storages available on new device.
  3. xdbm backup add to add new backup configuration.
  4. xdbm backup done to tell xdbm to write backup execution datetime.
  5. xdbm storage list and xdbm backup list to see their status.

TODO:

  • split subcommands to functions
  • write test for init subcommand
    • write test with existing repo
    • with ssh credential
      • ssh-agent
      • specify key
  • write test for storage subcommand
    • storage add online
    • storage add directory
    • storage list
  • update storage bind command
  • add storage remove command
  • add sync subcommand
  • add check subcommand
    • check that all parents exist
  • reorganize cmd option for storage
    • use subcommand
  • backup subcommands
    • backup add
      • test for backup add
    • backup list
      • status printing
    • backup done
  • fancy display
  • no commit option