You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running this code in file sichereBbAufDropbox.sh:
# dumped artendb
# stellt dem Filenamen das Datum voran
# komprimiert das File
# kopiert das File auf die dropbox
# entfernt das File
FILENAME=$(date +"%Y-%m-%d_%H-%M-%S_artendb_dump.txt")
FILENAME_GZ=$FILENAME.tar.gz
/home/alex/backup/couchdb-backup.sh -b -H http://localhost:5984 -d artendb -f $FILENAME -u admin -p secret -P 5984
tar cvzf $FILENAME_GZ $FILENAME
/home/alex/backup/dropbox_uploader.sh upload $FILENAME_GZ $FILENAME_GZ
rm $FILENAME
rm $FILENAME_GZ
This is the output:
alex@ae-2018-01:~/backup$ bash sichereBbAufDropbox.sh
... INFO: Output file 2018-01-07_12-05-23_artendb_dump.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 197M 0 197M 0 0 4962k 0 --:--:-- 0:00:40 --:--:-- 0
curl: (18) transfer closed with outstanding read data remaining
... ERROR: Curl encountered an issue whilst dumping the database.
This happens on a newly installed server. It used to work on the last server with the same db. I run similar backups on two other servers and they work fine.
The text was updated successfully, but these errors were encountered:
I am running this code in file
sichereBbAufDropbox.sh
:This is the output:
I am using:
This happens on a newly installed server. It used to work on the last server with the same db. I run similar backups on two other servers and they work fine.
The text was updated successfully, but these errors were encountered: