Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
owncloud [2012/02/18 13:23] – old revision restored brot | owncloud [2017/02/20 12:32] (current) – brot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Die minad.de | + | ====== Die minad.de |
+ | |||
+ | FIXME TODO: own-> nextcloud | ||
===== ownCloud? ===== | ===== ownCloud? ===== | ||
Line 48: | Line 50: | ||
+ | ===== Backup ===== | ||
+ | |||
+ | Vor Updates, oder auch zu generellen Sicherungszwecken, | ||
+ | |||
+ | ==== 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]] | ||
+ | |||
+ | < | ||
+ | rsync -Auax / | ||
+ | </ | ||
+ | |||
+ | ==== DB ==== | ||
+ | |||
+ | |||
+ | < | ||
+ | mysqldump -p --lock-tables -h 192.168.122.65 -u nextcloud nextcloud > nextcloud-sqlbkp_`date +" | ||
+ | </ | ||