# How to make a full backup

**URL:** <https://help.nextcloud.com/t/how-to-make-a-full-backup/89743>\
**Category:** 🏷️ General\
**Tags:** not\_nc\_related\
**Created:** [August 15, 2020, 11:34am UTC](https://help.nextcloud.com/t/how-to-make-a-full-backup/89743 "2020-08-15T11:34:43Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Reiner\_Nippes](https://help.nextcloud.com/user_avatar/help.nextcloud.com/reiner_nippes/32/9479_2.png) [@Reiner\_Nippes](https://help.nextcloud.com/u/Reiner_Nippes)\
**Post date:** [August 15, 2020, 4:11pm UTC](https://help.nextcloud.com/t/how-to-make-a-full-backup/89743/10 "2020-08-15T16:11:00Z")

</div>

> [@Nextcloud Backup and Restore](https://help.nextcloud.com/t/nextcloud-backup-and-restore/51589/6):
>
> install restic as root sudo -i wget https://github.com/restic/restic/releases/download/v0.9.4/restic\_0.9.4\_linux\_amd64.bz2 bunzip2 restic\_0.9.4\_linux\_amd64.bz2 mv restic\_0.9.4\_linux\_amd64 /usr/local/bin/restic chmod 0755 /usr/local/bin/restic mount the backup directory to /mnt/nc-backup set two environment variables export RESTIC\_REPOSITORY="/var/nc-backup" export RESTIC\_PASSWORD="oJSesetLzRgphy9UwmWxi50oE0dkYa16" initialize restic restic init create a backup script /usr/local/bin/backup\_…

---

_[View the full topic](https://help.nextcloud.com/t/how-to-make-a-full-backup/89743)._
