2 2.2 Run as root
Asif Bacchus edited this page 2 years ago

why this script must be run as root

This script must be run by the root user and will exit with an error if you try running it otherwise. This is because a default secured setup of borgbackup contains things like the repository private key that are locked out to root user access only. In addition, the root user is guaranteed to have access to all files you might want to backup.