mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-01-09 20:02:32 +01:00
borgbackup-etro.bash: add seconds and more to backup name
This commit is contained in:
parent
339a7e585f
commit
3fd6d15260
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
export BORG_REPO='/root/borgbackups-etro.mikaela.info'
|
export BORG_REPO='/root/borgbackups-etro.mikaela.info'
|
||||||
|
|
||||||
borg create ::$(date -I) /home/bitbot/.bitbot /home/matterbridge/ /home/oragono/oragono-conf
|
borg create ::$(date -Is) /home/bitbot/.bitbot /home/matterbridge/ /home/oragono/oragono-conf
|
||||||
|
|
||||||
rm -rf /home/mikaela/backups/
|
rm -rf /home/mikaela/backups/
|
||||||
cp -r $BORG_REPO /home/mikaela/backups/
|
cp -r $BORG_REPO /home/mikaela/backups/
|
||||||
|
Loading…
Reference in New Issue
Block a user