This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
baka/README.md

39 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2021-08-01 02:47:10 +03:00
# baka
2022-01-02 19:51:18 +03:00
Simple and flexible full backup software written in Bash.
2021-08-01 02:47:10 +03:00
More info in manuals:
2021-08-01 03:01:01 +03:00
- [man [En]](https://nixhacks.net/baka/man)
- [man [Ru]](https://nixhacks.net/baka/man-ru)
2021-08-01 02:47:10 +03:00
## Installation
Add repository to /etc/apt/sources.list.d/:
```
2022-01-02 19:51:18 +03:00
sudo echo 'deb [arch=all] http://repos.gch.icu/debian testing main' > /etc/apt/sources.list.d/ge.list
2021-08-01 02:47:10 +03:00
```
Add key:
```
2022-01-02 19:51:18 +03:00
curl -s http://repos.gch.icu/DEB-GPG-KEY | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/ge.gpg --import
2021-08-01 02:47:10 +03:00
```
Update package list and install baka:
```
sudo apt update
sudo apt install baka
```
Also you can download DEB package directly: [link](http://repos.gch.icu/debian/packages/testing/).
baka pulls the rsync and s3cmd packages as dependencies.
## Remote storage
To perform a backup to a remote storage, you need to forward SSH keys between servers in the case of rsync, or configure the .s3cmd config, in the case of copying to an S3-compatible storage ([documentation](https://s3tools.org/s3cmd-howto)). Of course, nothing prevents you from doing only local backups and transferring them in any convenient way.