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:
2022-11-10
Creata: 2021-06-06
Creata: 2021-06-06