Post by account_disabled on Mar 14, 2024 4:19:01 GMT
You can read more about setting up a REST server for backup with automatic backup in the article on Habr. Lets add that the REST server can be run on a VPS in a docker container. This is perhaps the easiest e it does not require separate installation of dependencies Go . and building from source using the official Go compiler. Just download and run the container docker pull resticre stserver latest docker run p v mydatadata name restserver resticrestserver Authentication is enabled by default to disable it you need to change the DISABLEAUTHENTI CATION variable to any value.
Compared to the SFTP backend the REST backend shows better performance especially if you Buy Email List refuse additional encryption and use simple HTTP transport the fact is that restic already encrypts all sent data therefore using is more for authentication purposes. But even when using the transport the REST protocol is faster than SFTP due to some of the latters inefficiencies. For example everything there is necessarily transmitted in fixed blocks of KB and the server must confirm each packet that is a delay is added to wait for confirmation.
One of the important security features of a REST server is working in appendonly mode when backups are readonly. This will prevent an attacker from easily deleting files if he gains remote access to the VPS. A REST server is a very simple and small Go program that runs on a server of almost any configuration even on lowend devices like Raspberry Pi. In our case this means VPS configuration even for per month. And the last advantage of REST is the ability to be accessed from behind a corporate firewall where only HTTP is allowed among the protocols. Experimental casync utility casync short for Content Addressable.
Compared to the SFTP backend the REST backend shows better performance especially if you Buy Email List refuse additional encryption and use simple HTTP transport the fact is that restic already encrypts all sent data therefore using is more for authentication purposes. But even when using the transport the REST protocol is faster than SFTP due to some of the latters inefficiencies. For example everything there is necessarily transmitted in fixed blocks of KB and the server must confirm each packet that is a delay is added to wait for confirmation.
One of the important security features of a REST server is working in appendonly mode when backups are readonly. This will prevent an attacker from easily deleting files if he gains remote access to the VPS. A REST server is a very simple and small Go program that runs on a server of almost any configuration even on lowend devices like Raspberry Pi. In our case this means VPS configuration even for per month. And the last advantage of REST is the ability to be accessed from behind a corporate firewall where only HTTP is allowed among the protocols. Experimental casync utility casync short for Content Addressable.