Backing Up ownCloud¶
To backup an ownCloud installation there are three main things you need to retain:
- The config folder
- The data folder
- The database
Backup Folders¶
Simply copy your config and data folder (or even your whole ownCloud install and data folder) to a place outside of your ownCloud environment. You could use this command:
rsync -Aax owncloud/ owncloud-dirbkp_`date +”%Y%m%d”`/