How to restore from a backup

1,947 views
Skip to first unread message

Wink Saville

unread,
Sep 14, 2017, 1:30:03 PM9/14/17
to golden-cheetah-users
I've looked and don't see any instructions on how to restore from a backup.
I'm using Arch Linux which I installed using golden-cheetah-git from AUR.

git describe says:

$ git describe
v3.5-DEV1708-27-gb4d35c7d

-- Wink

Potuz

unread,
Sep 15, 2017, 6:34:43 AM9/15/17
to golden-cheetah-users
The backup is a zip file with all the .json of activities and .xml with the configurations as well as any .fit, .gpx etc tha you may have. Just unzip it to their default location and open again GC.

P.


On Sep 14, Wink Saville wrote:
>I've looked and don't see any instructions on how to restore from a backup.
>I'm using Arch Linux which I installed using [1]golden-cheetah-git from AUR.
>
>git describe says:
>
>$ git describe
>v3.5-DEV1708-27-gb4d35c7d
>
>-- Wink
>
>--
>_______________________________________________
>Golden-Cheetah-Users mailing list
>golden-che...@googlegroups.com
>[2]http://groups.google.com/group/golden-cheetah-users?hl=en
>---
>You received this message because you are subscribed to the Google Groups
>"golden-cheetah-users" group.
>To unsubscribe from this group and stop receiving emails from it, send an email
>to [3]golden-cheetah-u...@googlegroups.com.
>For more options, visit [4]https://groups.google.com/d/optout.
>
>References:
>
>[1] https://aur.archlinux.org/packages/golden-cheetah-git/
>[2] http://groups.google.com/group/golden-cheetah-users?hl=en
>[3] mailto:golden-cheetah-u...@googlegroups.com
>[4] https://groups.google.com/d/optout

signature.asc

Wink Saville

unread,
Sep 15, 2017, 1:28:38 PM9/15/17
to golden-cheetah-users
Thanks, it would be nice if that was documented. Here is what worked for me on Linux:

1) create a directory ".goldencheetah" if it doesn't exist and then in that directory create a subdirectory with the athletes name, typically the name used on the original computer. In my case its "wink" so:

$ mkdir -p ~/.goldencheetah/wink

2) Get the .zip file such as, GC_3933_wink_2017_09_12_15_57_07.zip, from the original computer to the new computer via email, dropbox, usbdrive ... I put it in the ~/Downloads directory

3) unzip it into the directory previously created and change the files mod so they are accessible

$ cd ~/.goldencheetah/wink
$ unzip ~/Downloads/GC_3933_wink_2017_09_12_15_57_07.zip
$ sudo chmod -R 0755 .

4) Now start GoldenCheetah.

$ GoldenCheetah

5)  Select the "new" athlete just added if its not the default in Menu "Athlete -> Open Window -> wink" in my case.

6) Change "Auto Backup Folder" which is in Menu "Tools -> Options... -> Athlete -> Backup" and change "Auto Backup Folder" to an appropriate value either by typing or in the text entry box or using the "Browse" button on the right.

Thanks agian!

On Friday, September 15, 2017 at 3:34:43 AM UTC-7, Potuz wrote:
The backup is a zip file with all the .json of activities and .xml with the configurations as well as any .fit, .gpx etc tha you may have. Just unzip it to their default location and open again GC.

P.


On Sep 14, Wink Saville wrote:
>I've looked and don't see any instructions on how to restore from a backup.
>I'm using Arch Linux which I installed using [1]golden-cheetah-git from AUR.
>
>git describe says:
>
>$ git describe
>v3.5-DEV1708-27-gb4d35c7d
>
>-- Wink
>
>--
>_______________________________________________
>Golden-Cheetah-Users mailing list
>golden-che...@googlegroups.com
>[2]http://groups.google.com/group/golden-cheetah-users?hl=en
>---
>You received this message because you are subscribed to the Google Groups
>"golden-cheetah-users" group.
>To unsubscribe from this group and stop receiving emails from it, send an email

Ale Martinez

unread,
Sep 15, 2017, 5:01:26 PM9/15/17
to golden-cheetah-users
El viernes, 15 de septiembre de 2017, 14:28:38 (UTC-3), Wink Saville escribió:
Thanks, it would be nice if that was documented.
The wiki is open for contributions from the community of users, feel free to add what you consider useful for others. 

Wink Saville

unread,
Sep 16, 2017, 6:14:12 PM9/16/17
to golden-cheetah-users
Ale, I don't see how to contrubte to the wiki, I don't see "Edit" or "New Page" buttons?

Ale Martinez

unread,
Sep 17, 2017, 7:15:11 PM9/17/17
to golden-cheetah-users
They will appear once you sign in with a GitHub account on the upper right corner.

Wink Saville

unread,
Sep 17, 2017, 8:05:15 PM9/17/17
to golden-cheetah-users
Hmm, I am signed in, see the screenshot.
Screenshot from 2017-09-17 16-57-15.png

Ale Martinez

unread,
Sep 18, 2017, 3:37:06 PM9/18/17
to golden-cheetah-users
You are right, please try again, it should be open now.

Wink Saville

unread,
Sep 19, 2017, 12:14:42 AM9/19/17
to golden-cheetah-users
Yes I see it now, what I thought I'd do is add to "FAQ data" the following and place it after the first entry, "Where is ride data stored?":

### How do I restore an athlete's backed up ride data?

The folder/directory where the auto backed up files are found is in "Auto Backup Folder" which is in Menu "Tools -> Options... -> Athlete -> Backup". An example file is GC_3933_John_Smith_2017_09_12_15_57_07.zip which, as you can see is a compressed `.zip` file. To restore you'll unzip/extract this file into an athlete's directory, see [Where is ride data stored](#where-is-ride-data-stored).

1) Locate or create the AthletesDirectory, if it already exists you may want to delete the current files. In linux you could do the following in a default configuration:
```
$ mkdir -p ~/.goldencheetah/John_Smith
```
2) Get the `.zip` file such as, `GC_3933_John_Smith_2017_09_12_15_57_07.zip`, from the original computer to the new computer via email, dropbox, usbdrive, etc. and save it in a directory such as `~/Downloads`

3) unzip/extract it into the directory previously created. On Linux you'll need to change the permissions so the files are accessible using chmod:
```
$ cd ~/.goldencheetah/John_Smith
$ unzip ~/Downloads/GC_3933_John_Smith_2017_09_12_15_57_07.zip
$ sudo chmod -R 0755 .
```
4) Now start GoldenCheetah.
```
$ GoldenCheetah
```
5)  Select the "new" athlete just added if it's not the current athlete in Menu "Athlete -> Open Window -> John_Smith".

6) Navigate to menu "Tools -> Options... -> Athlete -> Backup" and change "Auto Backup Folder" to an appropriate value either by typing in the text entry box or using the "Browse" button on the right.
```

Any suggestions/corrections?

Wink Saville

unread,
Sep 20, 2017, 12:14:13 PM9/20/17
to golden-cheetah-users
If I don't here anything by end of day I'll go ahead and add what I've written below.

Wink Saville

unread,
Sep 22, 2017, 12:11:48 AM9/22/17
to golden-cheetah-users

Mark Liversedge

unread,
Sep 22, 2017, 1:35:02 PM9/22/17
to golden-cheetah-users
Nice, thank you.
Reply all
Reply to author
Forward
0 new messages