Commit f25c7f37 authored by Imran Hussain's avatar Imran Hussain

Merge branch 'master' of projects.sucs.org:sucs/sucs

parents fd05a371 684a7eb6
#!/bin/bash
REPOSITORY=backupuser@backup:/home/backups/
borg create -v --stats \
$REPOSITORY::`hostname`-`date +%Y-%m-%d-%R` \
/home /etc /var /root \
--exclude '/home/*/noback/' \
--compression lzma,5
borg prune --stats --verbose $REPOSITORY --prefix `hostname`- \
--keep-daily=28 \
--keep-weekly=8 \
--keep-monthly=24
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment