Skip to content

dombyte/Restic-Nextcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Restic-Nextcloud

Restic Backup for Nextcloud

Will Make a Backup of:

  • SQL Database (SQL Dump)
  • www Directory
  • Data Directory

This Script uses Backblaze B2 Storage! Also working other Services as Described in the Documentation of Restic.

export B2_ACCOUNT_ID=YOUR BACKBLAZE ACCOUNT ID
export B2_ACCOUNT_KEY=YOUR BACKBLAZE ACCOUNT KEY
export RESTIC_PASSWORD=YOUR RESTIC REPO PASSWORD
export RESTIC_REPOSITORY=b2:bucketname:path/to/repo
sql_host=localhost
sql_user=NEXTCLOUD SQL USER
sql_pw=NEXTCLOUD SQL PASSWORD
sql_db=NEXTCLOUD SQL DATABASE NAME

[Restic Documentation](https://restic.readthedocs.io/en/stable/index.html)

About

Restic Backup Script for Nextcloud

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages