Backupยถ
Time4VPS does not support Debian 11 on storage VPS, we installed Debian 9
Procedureยถ
Follow Debian 11 template
Fix DNS and hostnameยถ
nano /root/resolv.conf
crontab -e
Fix localeยถ
apt install locales
dpkg-reconfigure locales
select it_IT.UTF-8
Install useful packagesยถ
nano /etc/apt/sources.list
apt update
apt install rsync iftop screen
apt install -t stretch-backports borgbackup
User configurationยถ
Each server has its own user configuration.
Exampleยถ
adduser --disabled-password --gecos "" --uid 2004 lemp1see
mkdir -p /home/lemp1see/{backup,borg,log}
echo "borg repo directly from host" > /home/lemp1see/backup/README
mkdir /home/lemp1see/.ssh
nano /home/lemp1see/.ssh/authorized_keys
command="borg serve --restrict-to-path /home/lemp1see/borg",restrict {insert here the ssh key}
chown -R lemp1see: /home/lemp1see
Ultimo aggiornamento:
2 years ago2022-11-10
Creata: 3 years ago2021-06-06
Creata: 3 years ago2021-06-06