Skip to content
Snippets Groups Projects
Commit 1040c9d9 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

Dateiname war noch fehlerhaft

parent 026da0b3
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,8 @@ User=root
WorkingDirectory=/usr/local/share/couchdb-backup
EnvironmentFile=-/etc/environment
EnvironmentFile=/usr/local/share/vaclab-backup/backup-env.txt
ExecStartPre=/bin/bash -lc "tar cf /tmp/couchdb.tar.xz --xz /var/lib/couchdb 2>/dev/null"
ExecStartPre=/bin/bash -lc "tar cf /tmp/couchdb.tar.xz --xz /var/lib/couchdb"
ExecStart=/bin/bash -lc "rclone mkdir PTBcloud:couchdb-backup && \
rclone copy /tmp/couchdb.tar.gz PTBcloud:couchdb-backup"
ExecStopPost=/bin/bash -lc "rm -f /tmp/couchdb.tar.gz"
rclone copy /tmp/couchdb.tar.xz PTBcloud:couchdb-backup"
ExecStopPost=/bin/bash -lc "rm -f /tmp/couchdb.tar.xz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment