ramirojoaquin / vestacp-borg-incremental-backups

A series of bash scripts to perform incremental backups of Vesta Control Panel users and server config, using Borg Backup as backend.
GNU General Public License v3.0
23 stars 15 forks source link

Enhancement: Pure offline backup option #10

Open joshbmarshall opened 4 years ago

joshbmarshall commented 4 years ago

To reduce the space on the server, make it optional to have the borg repositories on another server, accessible by ssh @ramirojoaquin I will work on this and create a pull request

AndrewBarber commented 4 years ago

@joshbmarshall using your PR, what needs to change in the config(?) to make the backup pure to offline? Trying to look at the diff but there is quite a lot of changes. Thanks ahead, this is exactly what I want to try and do :+1:

joshbmarshall commented 4 years ago

@AndrewBarber the config changes are minimal:

BORG_SERVER= BORG_SERVER_PORT=22 BORG_SERVER_USER=borg BORG_SERVER_DIR=/data/hostname

Just make sure you have set up ssh keys and can log in from the command line to/from the user Any issues with it reply here and I'll help you out