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
cd Powerwall-Dashboard
# Stop influxdb to ensure nothing is being written
docker stop influxdb
# Create an archive of the influxdb database
sudo tar -zcvf snapshot.tgz influxdb
# Restart influxdb
docker start influxdb
Copy Backup to New Host
You will need to copy the snapshot.tgz file to the new host.
New Host
On the NEW host you will run:
cd Powerwall-Dashboard
# Stop the full stack - this is important
./compose-dash.sh stop
# Restore the database to the local host using the local owner (user)
sudo tar --no-same-owner -zxvf snapshot.tgz
# Restart the stack
./compose-dash.sh up -d
Give the stack a minute to restart and you should see your old data on your new host.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Here are the steps need to copy an existing database to a new host.
First, make sure you set up Powerwall-Dashboard on the new host. Setup instructions: https://github.com/jasonacox/Powerwall-Dashboard?tab=readme-ov-file#setup
Old Host
Next, on the OLD host run:
Copy Backup to New Host
You will need to copy the snapshot.tgz file to the new host.
New Host
On the NEW host you will run:
Give the stack a minute to restart and you should see your old data on your new host.
Beta Was this translation helpful? Give feedback.
All reactions