Skip to content

Script for backup-ing Owncloud (and optionally upload to Mega)

Notifications You must be signed in to change notification settings

hominhquan/owncloud_backup_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

This script backs up your owncloud, upload it to Mega.co.nz or restores it.

Howto

./owncloud_backup.sh --help

Install & Configure Megatools

See https://github.com/megous/megatools

To do interaction with your Mega account ({up|down}load, remove), ~/.megarc needs to be created containing your login + password.

Think to protect this file : chmod 640 ~/.megarc , as megatools does not encrypt your password for the moment.

Automatic backup

Using crontab as root, as it needs to access to protected 'data' folder

sudo crontab -e

# Then add this line. Every two days, at 0h00
0 0 */2 * * bash /path/to/owncloud_backup.sh --backup --mega

About

Script for backup-ing Owncloud (and optionally upload to Mega)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages