init
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
export BORG_REPO="ssh://e7e9h45y@e7e9h45y.repo.borgbase.com/./repo"
|
||||
export BORG_RSH="ssh -i ~/.ssh/borg-backup"
|
||||
|
||||
echo "Applying retention policy..."
|
||||
|
||||
borg prune \
|
||||
--keep-daily=7 \
|
||||
--keep-weekly=8 \
|
||||
--keep-monthly=12 \
|
||||
--stats
|
||||
|
||||
echo "Done: pruning complete"
|
||||
Reference in New Issue
Block a user