Comments (4)
Have a look at teslamate.bck. Probably there is an error message in it.
from teslamate.
Good point, sorry for not sharing. Here's the contents of teslamate.bck
any suggestions?
--
-- PostgreSQL database dump
--
-- Dumped from database version 14.10 (Debian 14.10-1.pgdg120+1)
-- Dumped by pg_dump version 14.10 (Debian 14.10-1.pgdg120+1)
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
SET check_function_bodies = false;
SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
--
-- PostgreSQL database dump complete
--
when I connect to documents-macmini-database-1 in docker desktop (which is in use and 50mb) using:
docker compose exec database bash
and then connect to the db:
psql -U teslamate
and then list my DBs:
\l
I see the following:
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+-----------+----------+------------+------------+-------------------------
postgres | teslamate | UTF8 | en_US.utf8 | en_US.utf8 |
template0 | teslamate | UTF8 | en_US.utf8 | en_US.utf8 | =c/teslamate +
| | | | | teslamate=CTc/teslamate
template1 | teslamate | UTF8 | en_US.utf8 | en_US.utf8 | =c/teslamate +
| | | | | teslamate=CTc/teslamate
teslamate | teslamate | UTF8 | en_US.utf8 | en_US.utf8 |
(4 rows)
but I cannot figure out how to export the db.
I have the original docker-compose.yml file and I am running the pgdump command from that directory in terminal. I dunno if docker was started precisely from where the file is currently stored and/or whether that is even an issue.
on the terminal in the desktop I continue to only get a 545 byte file when I attempt to run
docker compose exec -T database pg_dump -U teslamate teslamate > teslamate.bck
from teslamate.
Please give it a try without the -T
. As docker compose (which is docker compose v2) omit the -T automatically if not called from a TTY.
from teslamate.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
from teslamate.
Related Issues (20)
- Model S MCU1 sleep issues HOT 16
- Battery Health - LFP - Status: 500. Message: convert frame from rows error: pq: division by zero HOT 4
- Has edge been updated? HOT 3
- TZ environment variable name confusion HOT 22
- Error on QNAP TS-231P3 HOT 1
- Extend version with more build info HOT 5
- Some address could not be displayed HOT 1
- Battery Health not showing on new cars? HOT 1
- CI: update upload-artifact action HOT 15
- build: bump app base image to fix 'GLIBC_2.34' not found error HOT 6
- build: reduce the size of the Docker image by cleaning the APT cache
- New Tesla API for authentication HOT 1
- Drive state appears as online state while driving. HOT 3
- Internal server error due to "time_zone_not_found" HOT 9
- Programatic way to cancel sleep attempt HOT 10
- collation version mismatch HOT 4
- Grafana drive details map jumping back and forth HOT 10
- "Too many disconnects from streaming API" error HOT 3
- Dynamically varying the polling frequency HOT 2
- Cannot fetch MQTT for a hosted instance of Teslamate HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teslamate.