diff options
| author | Jason D. McCormick <jason@mfamily.org> | 2025-10-09 12:26:54 -0400 |
|---|---|---|
| committer | Jason D. McCormick <jason@mfamily.org> | 2025-10-09 12:26:54 -0400 |
| commit | b5c1ba8d7cd77b53027e0a3d42d04bfe377937b1 (patch) | |
| tree | 6d7697ea019e717bc4b97b26082ed64196306b4c | |
| parent | f4f13e1081bba25e13cc209b378278a2d6a8b76a (diff) | |
| -rw-r--r-- | Makefile | 2 | ||||
| -rwxr-xr-x | backup2webdav | 2 | ||||
| -rwxr-xr-x | backup2webdav-hamvoip | 4 | ||||
| -rwxr-xr-x | backup2webdav-pistar | 4 | ||||
| -rwxr-xr-x | backup2webdav.cron | 2 | ||||
| -rw-r--r-- | control | 2 |
6 files changed, 8 insertions, 8 deletions
@@ -4,7 +4,7 @@ INSTALLS = \ $(DESTDIR)/etc/cron.daily/backup2webdav \ PKGN = backup2webdav -MAJVER = 2.0 +MAJVER = 3.1 MINVER = 1 PKGD = $(PKGN)-$(MAJVER)_$(MINVER) diff --git a/backup2webdav b/backup2webdav index cb61d2e..9dd068b 100755 --- a/backup2webdav +++ b/backup2webdav @@ -14,7 +14,7 @@ mv $F $FT tar -jcf $FT `cat /etc/backup-dirs | tr '\n' ' '` 2> /dev/null -rclone copy $FT nextcloud:/ +rclone copy $FT backup2webdav:/ RVAL=$? if [ $? == 0 ]; then diff --git a/backup2webdav-hamvoip b/backup2webdav-hamvoip index 2128f22..fadf028 100755 --- a/backup2webdav-hamvoip +++ b/backup2webdav-hamvoip @@ -32,11 +32,11 @@ do else bzip2 $FT - rclone --bind=44.70.48.34 copy $FT.bz2 nextcloud:/Backups/$hn/ + rclone --bind=44.70.48.34 copy $FT.bz2 backup2webdav:/Backups/$hn/ RVAL=$? if [ $RVAL != 0 ]; then - echo "Error rsyncing $FT.bz2 to nextcloud" + echo "Error rsyncing $FT.bz2 to backup2webdav" FRVAL=1 fi diff --git a/backup2webdav-pistar b/backup2webdav-pistar index abac569..9c099eb 100755 --- a/backup2webdav-pistar +++ b/backup2webdav-pistar @@ -30,11 +30,11 @@ do FRVAL=1 else - rclone --bind=44.70.48.34 copy $FT nextcloud:/Backups/$hn/ + rclone --bind=44.70.48.34 copy $FT backup2webdav:/Backups/$hn/ RVAL=$? if [ $RVAL != 0 ]; then - echo "Error rsyncing $FT to nextcloud" + echo "Error rsyncing $FT to backup2webdav" FRVAL=1 fi diff --git a/backup2webdav.cron b/backup2webdav.cron index 083007a..3e0173a 100755 --- a/backup2webdav.cron +++ b/backup2webdav.cron @@ -5,5 +5,5 @@ if [ -f /var/lib/mysql/ib_logfile0 ] && [ -d /var/lib/mysql-backup ]; then fi sleep $(( $RANDOM % 15 + 1 ))m -/usr/local/sbin/backup2nextcloud +/usr/local/sbin/backup2backup2webdav @@ -1,5 +1,5 @@ Package: backup2webdav -Version: 3.0-1 +Version: 3.1-1 Section: base Priority: optional Architecture: all |
