Command-line interface for interacting with Backup-chan.
Project description
Backup-chan CLI
This is the command-line interface program for interacting with a Backup-chan server.
Installing
# The easy way
pip install backupchan-cli
# Installing from source
git clone https://github.com/Backupchan/cli.git backupchan-cli
cd backupchan-cli
pip install .
# Run directly from source, no installing even needed
./cli.py
Configuring
The CLI has to first be configured before you can use it. Run:
# Interactive configuration.
backupchan config new -i
# Non-interactive configuration.
backupchan config new -H "http://host" -p 5050 -a "your api key"
Run backupchan --help to see all the commands you can use.
Example usage
$ backupchan target list
Showing page 1
1. | Classified documents
| Alias: classified
| ID: f81d4fae-7dec-11d0-a765-00a0c91e6bf6
| Type: Multiple files
| Recycle criteria: After 5 copies
| Recycle action: Recycle
| Location: /var/backups/classified_documents
| Name template: Classified-Documents-$I
| Deduplication off
=========
$ backupchan target new -n Journal -t single -c none -l /var/backups/journal -m 'journal-$D' -d --alias 'journal'
Created a new target. ID: aed76092-0052-4255-a83b-b4dbc3b2b281
$ backupchan backup upload journal ~/Documents/journal.txt
Backup uploaded.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
backupchan_cli-0.12.0.tar.gz
(12.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file backupchan_cli-0.12.0.tar.gz.
File metadata
- Download URL: backupchan_cli-0.12.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12dae9115023d54a511c51a88bf64c5a9622ce921692bc2356a8fa8a19d72fab
|
|
| MD5 |
3e21bc7b4d86017d7375abcd7a3674f0
|
|
| BLAKE2b-256 |
3db52881fb25fafad650793a1b35fe3f4571a45248a010e9862a83b1e797c8c8
|
File details
Details for the file backupchan_cli-0.12.0-py3-none-any.whl.
File metadata
- Download URL: backupchan_cli-0.12.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1e37f2da8edc6c24bbeb06f80a324b8d5d85270a50feecd11219995f85cbcdf
|
|
| MD5 |
44ab47a0f3d21a7fc9777355e3507491
|
|
| BLAKE2b-256 |
7a0329c31028ab0999763a2e613684822ee4afa58eff83a6ba7d5b3a21faaf8e
|