User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:public:nextcloud_backup [2018/03/02 14:26]
jschlehofer created
en:public:nextcloud_backup [2018/12/01 03:09] (current)
phil
Line 3: Line 3:
 You can find more information in documentation here - https://​docs.nextcloud.com/​server/​12/​admin_manual/​maintenance/​backup.html You can find more information in documentation here - https://​docs.nextcloud.com/​server/​12/​admin_manual/​maintenance/​backup.html
  
-Below is set of command ​which works on Turris Omnia+Below is set of commands ​which works on Turris Omnia
  
 <​code>​ <​code>​
Line 9: Line 9:
 sudo -u nobody php-cli /​srv/​www/​nextcloud/​occ ​ maintenance:​mode --on sudo -u nobody php-cli /​srv/​www/​nextcloud/​occ ​ maintenance:​mode --on
  
-# backup ​dat+# backup ​files
 rsync -ax /​srv/​www/​nextcloud /​srv/​www/​nextcloud-dirbkp_`date +"​%Y%m%d"​`/​ rsync -ax /​srv/​www/​nextcloud /​srv/​www/​nextcloud-dirbkp_`date +"​%Y%m%d"​`/​