Backing up RStudio Package Manager


We recommend including the RStudio Package Manager configuration file in /etc/rstudio-pm as well as the variable data directory which defaults to /var/lib/rstudio-pm in your system backups. If you have configured the databases to be stored outside the data directory, ensure that it is also included in the backup.

A running RStudio Package Manager server may be writing into the data directory. You should stop the RStudio Package Manager server before taking a backup.

sudo systemctl stop rstudio-pm
# Run appropriate backup steps here.
sudo systemctl start rstudio-pm

Your platform may need alternate commands to restart RStudio Package Manager. Please see Section Stopping and Starting for instructions specific to your operating system version.