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
Only Kstars and Indi are included in the backup and restore script, would be good if it also included PHD2 :)
There is an export function in PHD2 (under the /tools/connect equipment menu) but it does not include the darks library in the export (which I think is in a .FIT file (/home/pi/.phd2/darks_defects).
Looks like there is a command line option in the windows version of PHD2 to automate the config backup but not for the darks?
The text was updated successfully, but these errors were encountered:
Gotcha, well I know how to backup and restore settings for KStars and INDI because I have made lots of contributions to the software. I am not an expert in PHD2, although I certainly use it. We can look into all the files that it stores its settings into and how we could copy them and paste them back. Certainly a good thing to try to include. Thanks for the idea!
I've moved to Astroberry for now but liked the concept of your script so was trying to use it on there (it fails on lines 11/12 for some reason, but I am no programmer to be able to understand why)....
Anyway, I used the concept as the basis for a similar personalised backup script and changed the cp commands to rsync so I could see progress of the copy and also added the following to export and back up the PHD2 settings. It doesn't back up the dark files though and I have not been able to successfully restore a manual copy so far unfortunately!
Just under the backupfoldername creation add the following line:
phd2ConfigExportName="PHD2ConfigBackup-$(date '+%d-%m-%Y_%H-%M-%S')"
Then add
phd2 --save="$backupFolderName/$phd2ConfigExportName"
I've hard coded my paths for now and this saves the PHD2 settings directly to the back up directory with no intermediate save, copy and then delete of them :)
Only Kstars and Indi are included in the backup and restore script, would be good if it also included PHD2 :)
There is an export function in PHD2 (under the /tools/connect equipment menu) but it does not include the darks library in the export (which I think is in a .FIT file (/home/pi/.phd2/darks_defects).
Looks like there is a command line option in the windows version of PHD2 to automate the config backup but not for the darks?
The text was updated successfully, but these errors were encountered: