-
Hello, I tried usign the backup script but the process halts when it tires to tar the backup files - from what it seems, there are no files populated into the /backups folder.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hi @TheNore - thanks for opening this issue! It is having trouble writing the tar file to BACKUP_FOLDER="/home/user/Powerwall-Dashboard/backups" # Destination folder for backups
DASHBOARD="/home/user/Powerwall-Dashboard" # Location of Dashboard to backup I notice that the backup.sh file has it as "/backup" by default which is probably why you did the same. I'm going to adjust it to help others. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to not upgrade a specific file if the version for that file
doesn't change? So let's say backup.sh file version is 2.6.2 the next
update you make you didn't modify the backup.sh everything else would get
upgraded except that?
Or during the upgrade; unless you upgraded the backup.sh file, the upgrade
process stores the contents of the file then restores it on completing?
…On Wed, Oct 5, 2022, 10:46 PM Jason Cox ***@***.***> wrote:
Awesome! My only TODO on this is that upgrade process will keep replacing
this file and remove the localized (directory path) updates you make.
Thoughts or suggestions?
—
Reply to this email directly, view it on GitHub
<#95 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIDLQFR54G4KNTYJR2FKWQTWBZDQVANCNFSM6AAAAAAQ3RIQ3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
Hi @TheNore - thanks for opening this issue!
It is having trouble writing the tar file to
/home/pi/Powerwall-Dashboard/backup/
- There is a typo in theBACKUP_FOLDER
variable you are using. It should bebackups
with ans
. You should be able to make the edits in the backup.sh file:I notice that the backup.sh file has it as "/backup" by default which is probably why you did the same. I'm going to adjust it to help others.