Update Readme.md
This commit is contained in:
parent
fc64eeda1d
commit
4888be1af4
@ -1,9 +1,22 @@
|
|||||||
Once the deb package is created, one can use it to install tisbackup on a debian machine with python3. The command is:
|
## tisbackup for python3
|
||||||
|
|
||||||
|
Once the deb package is created, one can use it to install tisbackup on a debian machine. The command is:
|
||||||
```
|
```
|
||||||
apt install ./tis-tisbackup-1-2-0.151-deb11.deb
|
apt install ./tis-tisbackup-1-2-0.170-deb11.deb
|
||||||
```
|
```
|
||||||
Note that the version numbers might be different depending on the system you used to build the package.
|
Note that the version numbers might be different depending on the system you used to build the package.
|
||||||
|
|
||||||
|
Then create a directory where to backup the files from your machines. The default is ```/backup```.
|
||||||
|
This can be changed in the configuration file ```/etc/tis/tisback-config.ini```. Usually this
|
||||||
|
directory is mounted from a shared ressource on a NAS with great capacity.
|
||||||
|
|
||||||
|
Configure your backup jobs:
|
||||||
|
```
|
||||||
|
cd /etc/tis
|
||||||
|
cp tisbackup-config.ini.sample tisbackup-config.ini
|
||||||
|
vi tisbackup-config.ini
|
||||||
|
```
|
||||||
|
|
||||||
After this, one have to generate the public and private certificates, as root:
|
After this, one have to generate the public and private certificates, as root:
|
||||||
```
|
```
|
||||||
cd
|
cd
|
||||||
@ -18,22 +31,16 @@ Then propagate the public certificate on the machines targetted for backup:
|
|||||||
```
|
```
|
||||||
etc.
|
etc.
|
||||||
|
|
||||||
Configure your backup jobs:
|
|
||||||
```
|
|
||||||
cd /etc/tis
|
|
||||||
cp tisbackup-config.ini.sample tisbackup-config.ini
|
|
||||||
vi tisbackup-config.ini
|
|
||||||
```
|
|
||||||
|
|
||||||
Eventually modify ```/etc/cron.d/tisbackup``` for your needs.
|
Eventually modify ```/etc/cron.d/tisbackup``` for your needs.
|
||||||
|
|
||||||
Finalize the installation with:
|
Finalize the installation with:
|
||||||
```
|
```
|
||||||
tisbackup -d backup
|
tisbackup -d backup
|
||||||
systemctl enable tisbackup_gui
|
|
||||||
systemctl start tisbackup_gui
|
systemctl start tisbackup_gui
|
||||||
systemctl enable tisbackup_huey
|
|
||||||
systemctl start tisbackup_huey
|
systemctl start tisbackup_huey
|
||||||
```
|
```
|
||||||
|
|
||||||
You can then see the result in your browser: ```http://backup-server-name:8080```
|
You can then see the result in your browser: ```http://backup-server-name:8080```
|
||||||
|
|
||||||
|
The documentation for tisbackup is here: [tisbackup doc](https://tisbackup.readthedocs.io/en/latest/index.html)
|
||||||
|
Loading…
Reference in New Issue
Block a user