# Backup Source: https://kart.bnomei.com/docs/data/backup Updated: 2025-08-08T14:08:04+00:00 Summary: Kirby Janitor plugin: automate backups via CLI/cron to bypass PHP limits; schedule transfers to AWS, GoogleDrive, Dropbox; ensure .htpasswd files are included. ## Janitor Some time ago, I developed a plugin called [Janitor](https://github.com/bnomei/kirby3-janitor) that allows Panel buttons to be configured. One of its features is a backup generation command. However, if you use it from within the Panel, it is restricted to your server's maximum PHP script execution time (approximately 20-60 seconds), which might not be enough. Therefore, I suggest creating a CRON job to generate the backup and another one to transfer that backup to another server like to [AWS, GoogleDrive, Dropbox or others in Ploi.io](https://ploi.io/documentation/search?query=backup). Code (bash): ``` cd /path/to/my/kirby/project/root && vendor/bin/kirby janitor:backupzip ``` ## Accounts folder If you use the Janitor plugin command above, the account folder will be included in the backup. If you roll out your own solution just make sure you do not forget to include the `.htpasswd` files of each user in your zip/rsync scripts.