Skip to content
Snippets Groups Projects
Commit a3793d9a authored by Raphael Storm Larsen's avatar Raphael Storm Larsen
Browse files

Fixed backup script

parent 9325e357
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ rm -r /tmp/bfdata
scp -r root@$dbIp:/bfdata /tmp/bfdata/
# Turn on cockroach database
ssh root@$dbIp bash /home/ubuntu/startdb.sh
ssh root@$dbIp yes | bash /home/ubuntu/startdb.sh
# Archive bfdata to zip
tar cvzf bfdata_backup_$(date +'%d-%m-%y_%H-%M').tgz -C /tmp/ bfdata/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment