Every Raspberry Pi hosted with us comes with a free 1 GB NFS backup disk. You can get up to 16 GB in the configurator. Here's how to mount it.
1. Find the path to your disk
You'll find the exact path to your directory in the best-hosting.cz control panel. In the commands below, replace YOUR-DIRECTORY with it.
2. Install the NFS client
sudo apt update
sudo apt install nfs-common3. Mount the disk
sudo mkdir -p /mnt/backup
sudo mount nfs-rpi.best-hosting.cz:/home/YOUR-DIRECTORY /mnt/backupCheck that it's mounted with df -h /mnt/backup.
4. Mount it on every boot
Add this line to /etc/fstab:
nfs-rpi.best-hosting.cz:/home/YOUR-DIRECTORY /mnt/backup nfs defaults,_netdev,nofail 0 0_netdev waits for the network before mounting, and nofail lets the Raspberry Pi boot even if the disk isn't reachable.
What you back up there and how often is up to you. A simple cron job with rsync is enough for most people.