Skip to content

flexiOPSResources/Server-Backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server-Backup

These bash scripts can be used for backing up and restoring files to/from a remote server. The scripts require Duplicity to be installed, a simple tool which uses FTP to backup and restore files, using full or incremental backups. Also supported by Duplicity is the ability to encrypt these files.

backup.sh is primarily used for backing up an owncloud platform, thus it contains scripting which will enable maintenance mode whilst the backup is taking place. backup.sh also has the functionality to allow emails to be sent (if mail is set up) if any errors occur during the backup process.

Parameters which will have to be set up in both backup.sh and restore.sh are:

PASSPHRASE

FTP_PASSWORD

username@domain/serverBackupDirectory

Releases

No releases published

Packages

No packages published

Languages