dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit 66cc5fea99d65dfef53c470e2d1b592d103fb99a
parent 3edd42a395b21ce4d3b2771b6e1c8d712ffc3d7d
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue,  9 May 2023 12:10:44 +0100

logging. additional backup. change remote storage

Diffstat:
Mbin/bin/sdd | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/bin/bin/sdd b/bin/bin/sdd @@ -100,8 +100,12 @@ unpack(){ upload() { storage=${1} - - rclone copy ${DEDUP_DIR}/ ${storage}:dedup + echo "$(date +%Y%m%dT%T) : starting sync" >> $HOME/var/log/sdd + rclone sync ${DEDUP_DIR}/ ${storage}:securededup + echo "$(date +%Y%m%dT%T) : finished sync" >> $HOME/var/log/sdd + echo "$(date +%Y%m%dT%T) : starting cleanup" >> $HOME/var/log/sdd + rclone cleanup ${storage}:securededup + echo "$(date +%Y%m%dT%T) : finished cleanup" >> $HOME/var/log/sdd } daily() { @@ -116,9 +120,10 @@ daily() { "$HOME/.zhistory" "$HOME/.todo" "$HOME/lib/documents/grimoire" + "$HOME/lib/images/pictures" ) storage_list=( - "mega" + "backblaze" ) if [ -f "${buku_dir}/buku.db" ] ; then