From 4fbb0d37804a96d13e34ab3da2f2cd7d8322dbe3 Mon Sep 17 00:00:00 2001 From: fggp Date: Wed, 26 Oct 2022 15:45:31 +0200 Subject: [PATCH] Create Readme.md --- deb/Readme.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 deb/Readme.md diff --git a/deb/Readme.md b/deb/Readme.md new file mode 100644 index 0000000..2073f27 --- /dev/null +++ b/deb/Readme.md @@ -0,0 +1,37 @@ +Once the deb package is created, one can use it to install tisbackup on a debian machine with python3. The command is: +``` + apt install ./tis-tisbackup-1-2-0.151-deb11.deb +``` +Note that the version numbers might be different depending on the system you used to build the package. + +After this, one have to generate the public and private certificates, as root: +``` + cd + ssh-keygen -t rsa -b 2048 +``` +(press enter for each step) + +Then propagate the public certificate on the machines targetted for backup: +``` + ssh-copy-id -i /root/.ssh/id_rsa.pub root@machine1 + ssh-copy-id -i /root/.ssh/id_rsa.pub root@machine2 +``` +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. + +Finalize the installation with: +``` + tisbackup -d backup + systemctl enable tisbackup_gui + systemctl start tisbackup_gui +``` + +You can then see the result in your browser: ```http://backup-server-name:8080```