This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| backup-next [2020/10/21 23:26] – created gwsadmin | backup-next [2023/05/17 22:52] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== How to backup Nextcloud ====== | ||
| + | |||
| + | * Put Nextcloud into Maintenance mode by adding this line in config.php which can be found in your nextcloud web directory. | ||
| + | |||
| + | <code bash> | ||
| + | <?php | ||
| + | |||
| + | " | ||
| + | |||
| + | </ | ||
| + | * Backup folder using rsync | ||
| + | |||
| + | <code bash> | ||
| + | sudo rsync -Aavx / | ||
| + | |||
| + | </ | ||
| + | |||
| + | * Backup your dataase by using PHPmyadmin how to import/ | ||
| + | |||