owncloud

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
owncloud [2012/02/18 13:23] – old revision restored brotowncloud [2017/02/20 12:32] (current) brot
Line 1: Line 1:
-====== Die minad.de ownCloud ======+====== Die minad.de nextcloud ====== 
 + 
 +FIXME TODO: own-> nextcloud
  
 ===== ownCloud? ===== ===== ownCloud? =====
Line 48: Line 50:
  
  
 +===== Backup =====
 +
 +Vor Updates, oder auch zu generellen Sicherungszwecken, empfiehlt sich eine Sicherung. Neben dem "Datenverzeichnis" /var/nextcloud-datadir gehört dazu auch die DB.
 +
 +==== Datadir ====
 +
 +Vor der Migration auf die Ubuntu-Server-VM wurde das Verzeichnis einfach via rsync auf ein lokales Verzeichnis auf der gleichen VM kopiert. Sinnvoller ist, das per rsync auf ein Verzeichnis im Host zu machen.
 +
 +Um Rsync beim Host-übergreifenden Rsync nicht alles zu erlauben siehe: [[ssh_keyfile_restrict_commands|SSH Commands einschränken via Keyfile-Auth]]
 +
 +<code>
 +rsync -Auax /var/owncloud-datadir /var/owncloud-datadir-backup_`date +"%Y%m%d"`/ --stats
 +</code>
 +
 +==== DB ====
 +
 +
 +<code>
 +mysqldump -p --lock-tables -h 192.168.122.65 -u nextcloud nextcloud > nextcloud-sqlbkp_`date +"%Y%m%d"`.bak
 +</code>
  
  
  • owncloud.txt
  • Last modified: 2017/02/20 12:32
  • by brot