adding a script for using borg backup.

This commit is contained in:
Andreas 2016-06-22 09:28:27 +02:00
parent fcbe6440c7
commit dc6fc5779c
4 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/bin/bash
export BORG_REPO='borg@192.168.1.1:/mnt/sda/backup/python'
export BORG_PASSPHRASE=Password
borg create -v --stats ::$(hostusename)_$(date +%Y-%m-%d) /home/user/
borg prune --prefix $(hostname)_201* --keep-daily=7 --keep-weekly=4 --keep-monthly=12 --keep-yearly=1

0
various/backup.sh Normal file → Executable file
View File

0
various/download_backup.sh Normal file → Executable file
View File

0
various/xflux Normal file → Executable file
View File