CT ElkarBackup: Removed debian version

The project is discontinued and deb repo's are disabled

Unable to run the package on Debian 12 due to unmet "deprecated"  dependencies

keeping the Alpine version for now since it is ran form source code
This commit is contained in:
2023-11-18 02:24:23 +01:00
parent 86165459b7
commit 201b880eae
6 changed files with 5 additions and 92 deletions

View File

@@ -1,27 +0,0 @@
parameters:
database_driver: pdo_mysql
database_host: DBServer
database_port: null
database_name: DBName
database_user: DBUser
database_password: DBPass
mailer_transport: smtp
mailer_host: localhost
mailer_user: null
mailer_password: null
locale: en
secret: ElkarToken
database_path: null
upload_dir: /var/spool/elkarbackup/uploads
public_key: /var/lib/elkarbackup/.ssh/id_rsa.pub
max_log_age: P1Y
tmp_dir: /tmp
rsnapshot: /usr/bin/rsnapshot
warning_load_level: 0.8
pagination_lines_per_page: 20
url_prefix: null
disable_background: true
mailer_from: null
home: /var/lib/elkarbackup
max_parallel_jobs: 1
post_on_pre_fail: true

View File

@@ -1,16 +0,0 @@
#!/bin/ash
ThisScriptConfigured=no
##DB
MysqlIP=127.0.0.1
MysqlUsername=elkarbackup
MysqlDatabase=elkarbackup
MysqlPassword=Password
#Check if script is configured
if [ $ThisScriptConfigured = no ]; then
echo "Script is not configured"
exit
fi
sed -i -e 's/DBServer/'$MysqlIP'/' -e 's/DBName/'$MysqlDatabase'/' -e 's/DBUser/'$MysqlUsername'/' -e 's/DBPass/'$MysqlPassword'/' -e 's/ElkarToken/'$(tr -dc 'A-Za-z0-9!#%*+,-.:;<=>?@^_' 2>/dev/null </dev/urandom | head -c 20 ; echo )'/' /etc/elkarbackup/parameters.yaml
dpkg --configure -a

View File

@@ -1,11 +0,0 @@
#!/bin/bash
#Get Resources
curl -L --retry 7 --retry-delay 5 http://ftp.debian.org/debian/pool/main/r/rsnapshot/rsnapshot_1.4.2-1_all.deb -o /opt/Setup/rsnapshot.deb || exit 1
#Install elkarbackup
apt install /opt/Setup/rsnapshot.deb elkarbackup -y
echo "Apt intall being unable to configure elkarbackup is expected"
rm /opt/Setup/rsnapshot.deb
mv /opt/Setup/Configs/elkarbackupconf.yaml /etc/elkarbackup/parameters.yaml
apt clean all
#Configure apache
rm /etc/apache2/sites-enabled/000-default.conf