backwork-backup-files

Add support for file backups on backwork.
Requirements
This plug-in is build on top of tar.
Installing
You can use pip to install this plug-in:
$ pip install backwork-backup-files
Using
After installing the plug-in you will be able to use the backup files and restore files commands
on backwork:
backwork backup files
$ backwork backup files -h
usage: backwork backup files [-h] -f FILE
Back up one or more files. It uses `tar -cz` which gzips the output. You can
use any of the arguments supported by `tar`. Add a list of files and
directories you want backed up as the last thing in the line. Use `tar --help`
for more information.
optional arguments:
-h, --help show this help message and exit
-o FILE, --output FILE output gzipped file path
You can pass any option that you would normally use with tar:
$ backwork backup files -o foo.tgz --verbose /tmp /var/log
As shown in the --help message, there is one required arguments you
must use in your backup process.
-o FILE or --output FILE will save the output of tar into a
file.
backwork restore files
usage: backwork restore files [-h] input
Restore one or more files from a .tar.gz file. It uses `tar xvzf`. You can
use any of the arguments supported by `tar`. Use `tar --help` for more
information.
positional arguments:
input .tar.gz file to restore from
optional arguments:
-h, --help show this help message and exit
Important: There is a conflict with the -h argument since it is reserved
for the help/usage message. Use --dereference to follow symlinks.
Building and Publishing
Travis will publish builds for you. To build, push a tag to the repo:
git tag -a v0.1.2 -m 'v0.1.2'
git push --tags
Release files for backwork-backup-files 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| backwork-backup-files-0.3.1.tar.gz | 7.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| backwork_backup_files-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / backwork-backup-files-0.3.1.tar.gz
| Download URL | backwork-backup-files-0.3.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85addb8b73a4e741f9e916212bdbd460a44ff8a3e852ef86eb878a34e13d2266
|
|
BLAKE2b-256 checksum How to use checksums |
68e1616d4c4de12c411b57c2455335f840ba76fd12bc94ce77b7ffc3b891bbc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / backwork_backup_files-0.3.1-py3-none-any.whl
| Download URL | backwork_backup_files-0.3.1-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5973468ca8dc7641f767b312eefd9ecfdb4a49280329c2af05540aa5c60120a3
|
|
BLAKE2b-256 checksum How to use checksums |
a7f3996a9bfb7e9b1d5a6eb854f3f4c7bd648c0b837912d50ec53309f1868a48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|