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 stop rstudio-pm # Run appropriate backup steps here. sudo start rstudio-pm
Your platform may need alternate commands to restart RStudio Package Manager. Please see Section Section 5.1 of the admin guide for instructions specific to your operating system version.